-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Resume last playback position" doesn't work any more #4997
Comments
Did not reproduce for me. Based on you mentioning you have confirmed the watch later file is being created I'm expecting you already know a lot about mpv's Watch Later system, so please forgive me if I'm explaining details you already know. This part of the report caught my attention:
That is not where IINA stores its files by default. Normally the files are found in This is me checking the contents of the watch later file in the test I ran: low-batt@gag ~$ md5 -qs '/Users/low-batt/Movies/issue-4997.mp4' | xargs -I % cat ~/Library/Application\ Support/com.colliderli.iina/watch_later/%
start=15.933333
pause=yes
volume=72.957512
low-batt@gag ~$ Recently I found the watch later feature was malfunctioning. I've been planning on reproducing that again and confirming what I thought was happening. Just haven't had time. I had been testing watch later using both IINA and the mpv player. That caused a watch later file to be created in As discussed in mpv's documentation for save-position-on-quit, information is only saved if playback is stopped by quitting. This is true for IINA as well. From the report it sounds like you are quitting IINA while playing and yet playback starts from the begining. That should not occur. There were problems with IINA sometimes not writing the watch later file. This was due to a race condition when IINA was exiting. That has been fixed. You should now see something like the following in IINA's log file when it terminates:
If you are seeing something different we'd want to look into why IINA in your environment does not behave the same way during termination. |
You're right, I should have shared my mpv.conf as well. I completely forgot about lines affecting the
It's an obscure option, I had added it myself to solve this #4357 there now seems to be no way to save playback position without also saving all the other data (saturation, gamma, etc) which I often change on a whim depending on which monitor I'm using on a given day. Full mpv.conf for reference:
|
I really appreciate the update. I was worried about what was causing this. Have you tried setting watch-later-options to I've been worried about how IINA interacts with user configured |
Awesome! That works indeed. I will close the issue on that ground. Personally I am ok with the way IINA interacts with these advanced config files. The way the option is positioned within the app makes it clear you are past the territory of common support and are at some point going to face some kind of contradiction within the two frameworks. |
System and IINA version:
Expected behavior:
After checking "Resume last playback position": I play a video, I get to a certain part during playback, I close IINA. When I open IINA with the video again, I resume from that part.
Actual behavior:
When I open IINA with the video again, start from 00:00:00 on all video files.
How often does this happen?
Always.
For reference, I have confirmed playback creates the corresponding file on
.config/iina/watch_later
even after I remove this folder and start from scratch.The text was updated successfully, but these errors were encountered: