Is it possible to write to the filesystem from a lua script?
Posted: 08 Aug 2012 23:35
What I had in mind was writing a playlist script named something like zzzzzzzzzz.lua. As I understand it, since it would come last (alphabetical order) it would be ignored if any other scripts matched. If all the others failed to match, this script would be written to return true on the probe no matter what though. Inside, it would look for a single tag, something like:
And if it found such a tag, it'd go ahead and prompt the user to install that script (well, I think dialog is turned off for everything but extensions, but you get the idea).
I can't find anything in the READMEs about filesystem access though, not even to say that it is only possible in extensions. Where should I be looking?
Code: Select all
<meta name="videolan-playlist" href="/path/to/lua-playlist.lua"/>
I can't find anything in the READMEs about filesystem access though, not even to say that it is only possible in extensions. Where should I be looking?