Quick Save/Load Playlist

VLC Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

https://www.opendesktop.org/p/1154016/

Original
11
Become a Fan
6.5

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 ViewQuick Save Playlist to save the current playlist (or VLCExtensionsQuick Save Playlist in some versions of VLC).
Then, at a later point, click on ViewQuick 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)


Ratings & Comments

10 Comments

gui-alberto

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.

almilion

9 +100

midnorton

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

midnorton

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.

Xrott

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.

superbabe

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.

Xrott

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.

deejayollie

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

Xrott

Sorry, but could you elaborate a bit, please? What exactly are you trying to do?

drgooch

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.

Pling
0 Affiliates
Details
license MIT License
version 1.2.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

More VLC Extensions from Xrott:

Shuffle Playlist
Xrott
last update date: 7 years ago

Score 6.5

Other VLC Extensions:

Multiple VLC enhancments
tubh
last update date: 12 years ago

Score 4.9

TUNE IN RADIO
willyboy63
last update date: 12 years ago

Score 5.0

Etevaldo Scopel
etevaldo
last update date: 12 years ago

Score 4.7

VLsub 0.9
nonkelleo
last update date: 12 years ago

Score 4.1

IP Webcam
manonlatramee62
last update date: 12 years ago

Score 5.1

TandN Co LLC
tandnone23
last update date: 10 years ago

Score 5.7



System Tags