Description: Adds files following the last loaded file in current playlist. I. e. opens the file directory of the last file, and queues all files, which are alphabetically after the file.
Code by me, icon by flaticon.com/authors/freepikLast changelog:
Added proper URL handling
Found the proper lua function to convert to unescaped path
7Did not work for me! I ended up debbuging the problem. In the path I had 'file:///' instead of 'file://', so that was first problem. And there is for sure some problem with encoding. Folder path had encoded symbols (e.g. '%20' - whitespace). I have no experience whatsoever with lua, so for now I just replaced it:
local folderPath = string.gsub(folderPath, "%%20", " ")
local folderPath = string.gsub(folderPath, "%%5B", "[")
local folderPath = string.gsub(folderPath, "%%5D", "]")
Now it works, at least for folders I have.
Thanks for the extension!
Hmm, I've uploaded the file to lua/extensions, but it hangs when I open a playlist. Also - will it load the additional files automatically when I open any file in the folder, or do I have to click the extension to load them?
Yello, it should only ever do sth if you click on the extension entry under view. Might only be a bit shoddy with utf-8 ATM. I mostly use it where I open the most recent file from a series and click it and it queues up the rest of it. Hope it helps.
Ratings & Comments
4 Comments
7 Did not work for me! I ended up debbuging the problem. In the path I had 'file:///' instead of 'file://', so that was first problem. And there is for sure some problem with encoding. Folder path had encoded symbols (e.g. '%20' - whitespace). I have no experience whatsoever with lua, so for now I just replaced it: local folderPath = string.gsub(folderPath, "%%20", " ") local folderPath = string.gsub(folderPath, "%%5B", "[") local folderPath = string.gsub(folderPath, "%%5D", "]") Now it works, at least for folders I have. Thanks for the extension!
7 Like
Hmm, I've uploaded the file to lua/extensions, but it hangs when I open a playlist. Also - will it load the additional files automatically when I open any file in the folder, or do I have to click the extension to load them?
Yello, it should only ever do sth if you click on the extension entry under view. Might only be a bit shoddy with utf-8 ATM. I mostly use it where I open the most recent file from a series and click it and it queues up the rest of it. Hope it helps.