diff options
| author | Enea D'Angiò <enea.dangio162006@gmail.com> | 2026-07-03 11:14:11 +0200 |
|---|---|---|
| committer | Enea D'Angiò <enea.dangio162006@gmail.com> | 2026-07-04 11:38:05 +0200 |
| commit | 6883cd0969e40ad380d20b5b338c681767bc73f1 (patch) | |
| tree | 2914a1aee67fce88488434530d2c82ff1531937b /MediaBrowser.Server.Implementations/EntryPoints/Notifications | |
| parent | ccc1712d10526d3a21e8136c702b84c46ac0a536 (diff) | |
Fix play queue index handling in SyncPlay
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).
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/Notifications')
0 files changed, 0 insertions, 0 deletions
