Image 01


Playlist Cleaner

VLC Extensions by basaquer 13 comments

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