jellyfin / jellyfin-mpv-shim

MPV Cast Client for Jellyfin
Other
1.59k stars 93 forks source link

No more playback sync with server after switching media #297

Open cyr123 opened 2 years ago

cyr123 commented 2 years ago

Describe the bug

If I start playing an item I get a progress bar, playback controls etc in the web UI and the Android client as expected. This also keeps working if I stop the playback or let it end completely and then start another, however If I switch to a new item while the first one is already playing this breaks. The new item plays OK, but there is no indication of this on the server side and no playback controls shown.

To Reproduce

  1. Start playing a video.
  2. Start playing another video, without stopping the first one.

Expected behavior

Playback controls and progress bar shown in e.g. the web client, for both videos.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Error Messages (see log, no error messages but if I understand correctly it seems the shim is telling the server that playback stopped, I did not stop playing the second video in this log)

shim.log