Description: These two complementary extensions allow you to save your current playlist and reload it without having to worry about organizing files. Especially useful when closing VLC but wanting to resume your playlist later.
How To Install: - download the "quickSave+Load.zip" archive (download button on the right) - extract the two files inside and put them in the VLC extensions folder (create it, if it doesn't exist): for Windows: %APPDATA%\vlc\lua\extensions for Linux: ~/.local/share/vlc/lua/extensions/ for Mac OS X: /Applications/VLC.app/Contents/MacOS/share/lua/extensions/ - restart VLC
To use, click on View → Quick Save Playlist to save the current playlist (or VLC → Extensions → Quick Save Playlist in some versions of VLC). Then, at a later point, click on View → Quick Load Playlist to load it again as many times as you want.Last changelog:
2018-08-25
- Quick Save now doesn't overwrite the saved list if the playlist is empty (thank you midnorton for the idea)
99 excellent. It works great when used in conjunction with VLC's "continue playback" option. It makes me feel like I'm using Netflix, so I can continue my playlist from where I left off. The only thing that could improve would be to automatically save my position.
I just modified the trigger function.
function trigger()
local dirSep = package.config:sub(1,1)
local saveFile = vlc.config.userdatadir() .. dirSep .. "quicksave.sav"
local plRaw, pl = vlc.playlist.get("normal").children, {}
if table.getn(plRaw) > 0 then
vlc.msg.info("Saving playlist to '" .. saveFile .. "' ...")
local file, err = io.open(saveFile, "w+")
if not file then error(err) end
for i, v in ipairs(plRaw) do pl[tostring(i)] = v end -- converting numerical to string keys to preserve the order
local sTable = serialize(pl)
local success, err = file:write(sTable)
if not success then error(err) end
file:close()
vlc.msg.info("Playlist saved as '" .. saveFile .. "'!")
end
end
I have made a small change to prevent quickSave saving a zero length Playlist. The Apple Magic mouse can be a little twitchy and once or twice I have hit "Save" as I was trying to "Load". If it would be of interest I can upload it if I could work out how.
I have the exact same problem. Example: I'm in the middle of episode 3 of my playlist of 10 episodes. I pause the video and click on Quick Save Playlist. I close VLC. I reopen it and click on Quick Load Playlist. It doesn't start from episode 3 where I left off, it starts back at episode 1.
It works the first time after installing, but keeps resuming playback now for the very first video in my playlist... I have VLC for MAC OSX High Sierra
I think I'm having the same issue. The quick save - quick load feature works just fine, but no matter where in the playlist I was when I saved it (or when I closed the app), quick load always resumes from the start of the playlist, and not the file I was at.
Ratings & Comments
10 Comments
9 9 excellent. It works great when used in conjunction with VLC's "continue playback" option. It makes me feel like I'm using Netflix, so I can continue my playlist from where I left off. The only thing that could improve would be to automatically save my position.
9 +100
I just modified the trigger function. function trigger() local dirSep = package.config:sub(1,1) local saveFile = vlc.config.userdatadir() .. dirSep .. "quicksave.sav" local plRaw, pl = vlc.playlist.get("normal").children, {} if table.getn(plRaw) > 0 then vlc.msg.info("Saving playlist to '" .. saveFile .. "' ...") local file, err = io.open(saveFile, "w+") if not file then error(err) end for i, v in ipairs(plRaw) do pl[tostring(i)] = v end -- converting numerical to string keys to preserve the order local sTable = serialize(pl) local success, err = file:write(sTable) if not success then error(err) end file:close() vlc.msg.info("Playlist saved as '" .. saveFile .. "'!") end end
I have made a small change to prevent quickSave saving a zero length Playlist. The Apple Magic mouse can be a little twitchy and once or twice I have hit "Save" as I was trying to "Load". If it would be of interest I can upload it if I could work out how.
Sounds sensible. If the change is not that long, you can just post it here as a new comment and I'll upload a new version.
I have the exact same problem. Example: I'm in the middle of episode 3 of my playlist of 10 episodes. I pause the video and click on Quick Save Playlist. I close VLC. I reopen it and click on Quick Load Playlist. It doesn't start from episode 3 where I left off, it starts back at episode 1.
When saving, make sure not to pause the video while saving as VLC extensions can't access the currently playing media if there is nothing playing.
It works the first time after installing, but keeps resuming playback now for the very first video in my playlist... I have VLC for MAC OSX High Sierra
Sorry, but could you elaborate a bit, please? What exactly are you trying to do?
I think I'm having the same issue. The quick save - quick load feature works just fine, but no matter where in the playlist I was when I saved it (or when I closed the app), quick load always resumes from the start of the playlist, and not the file I was at.