Image 01
profile-image

lukegm

Playlist Cleaner

VLC Extensions 10 comments

Score 50%
50 Likes
50 Dislikes
Dec 31 2013
If you want to use this extension on Linux (I'm using Linux Mint 19), then you might need to make this small change.

On line 68:
local pathval = string.gsub(filepath, "file:\/\/\/", "")
change to:
local pathval = string.gsub(filepath, "file://", "")

If you're using linux and the extension isn't visible in "Plugins and extensions" after you've installed it, then you may want to try this change.

To confirm, enable VLC logging then restart VLC. If you have the below error message in your logs, then you probably need to make the change.
"Error loading script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/155249-playlist.lua: .../x86_64-linux-gnu/vlc/lua/extensions/155249-playlist.lua:68: invalid escape sequence near '\/'"

I hopes this helpful. - Aug 17 2018