Open mrfragger opened 1 month ago
solved just put so by the jumptobookmark() technically , "replace", -1, "start=" .. bookmark["pos"] isn't even needed.
mp.commandv("loadfile", parsePath(bookmark["path"]), "replace", -1, "start=" .. bookmark["pos"]) os.execute("sleep 0.5") mp.commandv ('seek', bookmark["pos"], 'absolute', 'exact')
simplebookmark still can't rename.....like mpv-bookmarker can. Even the workaround %title% and then rename in the log file there is no way an average person is gonna do it. Only advantage is filtering options and searching. I'll stick with this one as it does everything needed and it's simple.
Due to save-on-quit=yes position it'll revert to the saved time ...if you load the bookmark again then it'll go to the bookmark position.
If there was a way to
"loadfile", parsePath(bookmark["path"]), "replace", -1, "start=" .. bookmark["pos"])
and then
mp.commandv("seek " .. bookmark["pos"] .. " absolute")
it would work but alas...only solution now is to local closeAfterLoad = false then hit ENTER twice and it'll load at bookmark position ..then hit ESC to exit bookmarks.