mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-11-13 17:42:31 +00:00
Implement getRepeatMode and getQueueShuffleMode in the SessionPlayer plugin so that repeat and shuffle buttons work. Since the loop and shuffle buttons read the existing mode to compute the next one, they both never issued SetRepeatMode/SetShuffleQueue commands, so pressing the buttons just did nothing in remote control. I used PlayState.RepeatMode and PlayState.PlaybackOrder, which already was reported by remote targets. The buttons work now and the icons reflect the state that exists on the controlled device through onStateChanged like they should.