jellyfin / jellyfin-mpv-shim

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

Unable to replay finished episodes #157

Open kzzyn opened 3 years ago

kzzyn commented 3 years ago

Windows 20H2 (19042.789) jellyfin-mpv-desktop_1.8.1_installer.exe

Usually during closing credits I mark the episode as 'watched and skip to next', the episode is marked as watched and can be replayed normally later. But when I let the episode to finish on its own to the very end (and then play the next), I am not able to replay the episode again. The player just skips the episode to the next episode that has not been finished to the very end.

First it seemed that deleting cred.json file in config folder solved it, but after finishing another episode to the very end, the issue is back. Removing 'watched' status of the episode does not help.

The jellyfin web interface does not do this.

I tried reinstalling jellyfin-mpv-desktop, version 1.8.0, but the issue is still there.

log.txt

kzzyn commented 3 years ago

The skipping of finished episodes is doing external mpv. When I disable it, it's working fine. (I tried with and without svp)

kzzyn commented 3 years ago

I tried the new version 1.9.0, from the release description it seemed that fixing the issue #170 is going to solve it, but the problem is still there. With external mpv, when I want to play again a completed episode, it always skips to next episode.

iwalton3 commented 3 years ago

I wouldn't be surprised. I handled a bunch of race conditions while working on SyncPlay but the external mpv seems to be more prone to issues. I'll have to look at it.

iwalton3 commented 3 years ago

It looks like the video position starts at the exact end of the video and then it goes to the next video. I wonder if the video isn't being marked as completed properly? I can't reproduce it myself.

kzzyn commented 3 years ago

"It looks like the video position starts at the exact end of the video and then it goes to the next video." - yes, that's exactly it. And all episodes of the season are doing this, except the last one. When the last episode is completed, I can replay it again, it starts from the beginning as usual, but the others start at the very end and skip to another episode. (I tried new installation of 1.10.0, and as soon as I activate the external mpv, the issue is back.) I tried new jellyfin installation on another PC and I could not replicate it. It works fine. I realize, that this is probably a unique issue (and probably only on my PC), so if you would be willing and have some time to take a look at it, what can I do to troubleshoot it ? What can I send you, so you can take a look and try to fix it ? Thanks

fuzxi commented 2 years ago

Hey, I had the same issue. Adding no-resume-playback to mpv.conf fixes this, and doesn't break resuming partially played media, e.g. from the Continue Watching section.

iwalton3 commented 2 years ago

Interesting sounds like MPV’s saving the video progress for some reason. I’ve never had that happen in my testing before but it is an easy fix to just add that config to the application