Postby drewkeller » 22 Sep 2013 07:26
Thanks for the info. It gives me some more things to try out. However, lua scripts don't seem to be working at all on 2.1 for me.
It seems that checking for a startup folder and activating any scripts in it would be pretty easy. I spent about 15 minutes trying to find the function that looks for the scripts in folders, but it's not real clear to me. Perhaps vlclua_dir_list() in /modules/lua/vlc.c ? Which should call extension.lua_ExtensionActivate() on each script?
There is also an interestingly named function vlclua_scripts_batch_execute(), which according to the comment above it would execute a function in all scripts found in a folder (but it stops on success, where we wouldn't want it to stop but keep activating).