Recently, as an experienced Lua programmer, I decided to create my own extension. The problem is, I don't really know how to start, I can't even find a proper documentation, and that's why I'm posting.
The situation is really confusing. Some fan of conspiracy theories would say, "VideoLAN is trying to hide the ability to create extensions" (not to be confused with scripts), because, look: Even the sticky thread on this forum that is to be read first says:
And that already seems to be a lie, because according to the global README file on Lua scripting, there are five types of VLC scripts, including extensions and services discovery. If that wasn't enough, there isn't even an "extensions" directory in the "lua" subdirectory of the installation folder of the program. VLC is not a developer-friendly software .Starting from VLC 0.9.0, users can create several type of scripts to tweak behavior to their needs. These are:
Playlist parsing scripts (and demuxers)
Album art retrieval scripts
Interface scripts
The leak of info about descriptor() function is the worst. I can't even make my extension visible in the toolbar. Do anyone of you, good people, know anything about it? The README file about extensions is a "TODO" file since November 2012. The only source of info about its use are the example scripts, but they provide about as much as nothing.
I'm sad, all I want to do is a simple dialog that pops out when an item is clicked on the toolbar. Any response is satisfying, even a confirmation "Yes, this seems confusing to me, too". I guess I'm not the first developer who had problems with implementing own functions to VLC .
Sincerely,
me.