aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs
AgeCommit message (Collapse)Author
2026-07-16Reduce cognitive complexity of RemoveFromPlaylistEnea D'Angiò
2026-07-04Fix play queue index handling in SyncPlayEnea D'Angiò
Three index bugs in PlayQueueManager, two of which leave PlayingItemIndex out of bounds, making every subsequent Buffering/Ready request throw and leaving the group unusable until it empties: - RemoveFromPlaylist did not compensate for removed items preceding the playing item: removing the playing item together with earlier items could select the wrong item or crash with an out-of-bounds index. - Next/Previous on an empty playlist with RepeatOne/RepeatAll reported success or set PlayingItemIndex to 0 on an empty list, crashing downstream in Group and corrupting the index. - SetPlayingItemByIndex accepted an index equal to the playlist count (latent off-by-one, callers currently pre-validate).
2023-06-10Add all websocket messages to generated openapi spec (#9682)Cody Robibero
* Add all websocket messages to generated openapi spec * Use oneOf * JsonIgnore ServerId * Oops * Add discriminators * Add WebSocketMessage container for Inbound and Outbound messages
2023-04-06Remove redundant 'else' keywordsStepan Goremykin
2022-12-05Replace != null with is not nullBond_009
2022-08-15Fix various typos luz paz
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2021-10-08Remove duplicate Fisher–Yates shuffle implBond_009
2021-05-07Enable nullable reference types for MediaBrowser.ControllerBond_009
2020-12-04Change type of PlaylistItemId to GuidIonut Andrei Oanca
2020-11-16Review logging and minor changes in SyncPlayIonut Andrei Oanca
2020-11-15Patch data-races and minor changes in SyncPlayIonut Andrei Oanca
2020-11-14Hide some property setters, init null values, update namespacesIonut Andrei Oanca
2020-11-14Replace foreach loop with FindIndexIonut Andrei Oanca
2020-11-14Address requested changes and fix some warningsIonut Andrei Oanca
2020-10-22Minor changes to play queue in Syncplay groupIonut Andrei Oanca
2020-10-22Address requested changes by reviewIonut Andrei Oanca
2020-10-22Rewrite play queue logic of SyncPlay groupIonut Andrei Oanca
2020-10-22Update MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.csBaronGreenback
2020-10-21Minor fixesIonut Andrei Oanca
2020-10-21End comments with a periodIonut Andrei Oanca
2020-10-16Add playlist-sync and group-wait to SyncPlayIonut Andrei Oanca