Skip to content
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

Is there a way to use autoload with save position? #9586

Closed
WilsonNet opened this issue Dec 10, 2021 · 5 comments
Closed

Is there a way to use autoload with save position? #9586

WilsonNet opened this issue Dec 10, 2021 · 5 comments

Comments

@WilsonNet
Copy link

When I use autoload it erases the last saved position.
If I advance and goes back, it goes back to 00:00

I assume this is the intended behavior, since people like to watch things from the start.

@Dudemanguy
Copy link
Member

Could you clarify what you mean? Are you saying that save-position-on-quit doesn't work when using autoload.lua?

@WilsonNet
Copy link
Author

WilsonNet commented Jan 20, 2022

Yes, kind of.
I have save-position-on-quit=yes on my mpv.conf
If I open video-01.mkv and quit on 15:00 and reopen it. It's there on 15:00.

But if inside the video, I use autoload's functionality to go to the next video by pressing the button at 15:00, and come back, it will go back to 00:00.

I was using Windows 10 with mpv 0.34. I actually removed autoload.lua now.

@KonoVitoDa
Copy link

Did you find a solution? I'm having the same problem.

@WilsonNet
Copy link
Author

Did you find a solution? I'm having the same problem.

Nope, I use VLC for playlists nowadays and PotPlayer on windows.

@Dudemanguy
Copy link
Member

But if inside the video, I use autoload's functionality to go to the next video by pressing the button at 15:00, and come back, it will go back to 00:00.

Sorry I missed this. If by "pressing the button" you just mean going forward in the playlist, then save-position-on-quit isn't triggered at all (because you aren't actually quitting). A potential workaround would be to use the write-watch-later-config command to save the position manually before moving to the next item in the playlist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants