Closed vivek201 closed 2 years ago
I didn't understand, can you clarify?
I have created .m3u playlists for a bunch of videos that I want to watch serially. But when I open that playlist with mpv, it always opens the first file in the playlist. So, I was wondering if there was any way that mpv could remember the last played file for that particular playlist file.
I know that the current SmartHistory can remember the last played file but that doesn't work if I open other files after opening that playlist.
I think what you need is a way to bookmark the playlist file, then go to it easily. Will an option to bookmark solve this issue?
Yeah, if it will allow me to go back to that same file.
I will be releasing a new powerful script soon (couple of days) that makes bookmarking very simple. It will easily allow you to jump to any specific file.
I'll update you once it is out.
For now, you can try this script: history-bookmark.lua
I will update the readme later for the scripts, as I am working on updating all scripts also.
Initial release is done, https://github.com/Eisa01/mpv-scripts/blob/master/scripts/SimpleBookmark.lua
Everything is customizable, defaults are however like this:
Arrow Keys to navigate bookmark. Or mouse wheel.
If video is loaded
If no video is loaded
There are more stuff, however the above are the most important things.
So basically bookmark any file you want, and then press B to load your bookmark list.
Let me know if this resolves the issue
Yes, this is great! Is there any way I quickly bookmark at a specific slot? Maybe something like Ctrl+1 or something to bookmark the current video at slot 1 and so on.
Glad to hear it. I'll close this then.
For the slots feature you are requesting. I'll be thinking of the best approach to implement slots, while still keeping it simple. Ill see what I can throw at it.
If you have an idea, you can open a new ticket to track the slots feature individually.
Continued in #25
Is it possible to support .m3u playlists using SmartHistory? If this could go to the last played file for the playlist, then I think it could work.