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

Saving position not working when using playlist-next and playlist-prev #95

Closed
doesn123 opened this issue Nov 23, 2022 · 2 comments
Closed

Comments

@doesn123
Copy link

I'm using save-position-on-quit=yes and it is working fine when using shit+enter to switch between videos but not when using '<' and '>' to go to next and previous videos.
I've also tried the following (using o and p as keybindings which also isn't working):

p playlist-next
o playlist-prev

I'm guessing I'm missing something basic...help would be much appreciated!

@jonniek
Copy link
Owner

jonniek commented Nov 28, 2022

p script-message playlistmanager playlist-next
o script-message playlistmanager playlist-prev

playlist-next by itself is just a native mpv command. It's probably a bit bad naming on my part.

@doesn123
Copy link
Author

Thanks, that now works.
However, now keepsession.lua doesn't manage to do its job of opening the last played video when mpv is launched (the beginning of the playlist is played instead), Do you know how to fix this by any chance?

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