Skip to content

Commit

Permalink
fix bug affecting playlist resolve station id duplicate avoider
Browse files Browse the repository at this point in the history
  • Loading branch information
brookgagnon committed Jan 25, 2025
1 parent 386d752 commit e6784dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/playlists_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ public function resolve($playlist_id, $player_id, $parent_player_id = false, $st
$tmp['media_type'] = $media['type'];
$tmp['context'] = 'Station ID';
$media_items_tmp[] = $tmp;
$used_ids_stationid = $tmp['id'];
$used_ids_stationid[] = $tmp['id'];
}
} elseif ($playlist_item['item_type'] == 'breakpoint') {
$media_items_tmp[] = ['type' => 'breakpoint'];
Expand Down

0 comments on commit e6784dd

Please sign in to comment.