mpv
mpv copied to clipboard
reset `start` in watch later cache file when EOF
- start mpv with
save-position-on-quit=yesandkeep-open=yes - play a video and let it reach the end
- exit and re-run mpv to play the same file
- the video paused at the last frame
Expected behavior of the wanted feature
the video should start from the 00:00:00 instead of 'paused at the last frame'
Log file
N/A Not a bug
I don't see why changing this behavior is better than the existing behavior. If someone pushes Shift+Q when paused on the last frame, ideally it should restore back to where they were.
I opened every file in my device, all of them paused at the last frame, I believe nobody would think it is a reasonable behavior.
This is exactly what I'd expect to happen if you had save-position-on-quit=yes set when running mpv.
There's a workaround for this in https://github.com/mpv-player/mpv/issues/2045#issuecomment-1125025340
...unless you want to save the other states and only change the start paramater?
...unless you want to save the other states and only change the start paramater?
Yes and that's why I renamed the issue's title.
It'd probably be better to modify watch-later so that it doesn't always have to save start like it currently does. In that case, you could just remove it from watch-later-options if you hit this condition.
Do you mean ——
[no saving start eof]
profile-cond=eof_reached
watch-later-options-remove=start
But start would never be removed.
But start would never be removed.
Right because the code currently always sets start. I'm saying ideally the logic should be changed to make it possible to remove that.