Page 1 of 1

Info about VLC Addons

Posted: 04 Jul 2018 16:22
by ale5000
Hi,
I'm here again after a lot of time.

I would like to know if someone have written a guide (for developers) regarding VLC Addons in LUA.
The last time I was at VLC 1.1.0 so I would also like to know if there are breaking changes in the current version compared to VLC 1.1.0.

Re: Info about VLC Addons

Posted: 04 Jul 2018 19:03
by mederi
Welcome back ale5000!
I have joined the forum and the scripting VLC in Lua at the time you disappeared several years ago. I like the idea of extending the VLC functionality using custom scripts to implement specific features that would be barely built into VLC's core. I have learnt also from your scripts and even tried to improve your Subtitles finder extension. The topic about the obsolete extension is still pinned here.
The Exebetche's VLSub extension has been included in VLC 2.1. Later after changes on opensubtitles.org and malfunction of the extension, VLC developers have decided to fix and improve VLC's own fork of VLSub and recently VLC 3.0.2 has introduced new vlc.io functions solving the issue with non-ASCII characters in paths (UTF-8 strings) within Lua's standard io functionality.
You should check the current README.txt and its history. Since VLC 2.1, vlc.misc is available only for Interfaces, datadir/userdatadir/homedir/configdir/cachedir are now available within vlc.config, vlc.var.add_calback useful for "dynamic" Extensions was removed and vlc.net module was not available for Extensions at that time. Since VLC 3 the vlc.var.get/set time variable is in microseconds instead of seconds in older VLC versions. Lua scripts should have a better stability in current VLC.

Re: Info about VLC Addons

Posted: 05 Jul 2018 05:07
by ale5000
Thanks, do you know how to make the script appears in the add-on manager inside VLC?

Re: Info about VLC Addons

Posted: 05 Jul 2018 13:01
by mederi
You have to submit your script for approval at api.addons.videolan.org

Re: Info about VLC Addons

Posted: 04 Aug 2018 09:57
by coquiss
Hi mederi,

What would be the best way to find a developer to do a very simple VLC addon? (the addon will simply have 3 buttons "Show/Hide Time Toolbar", "Show/Hide Menu bar", "Show/Hide" Main toolbar -very similar to using View/Minimal Interface [CTRL + H], but having the ability to show/hide the toolbars independently-)

Thanks very much for your help!

Re: Info about VLC Addons

Posted: 08 Aug 2018 17:01
by mederi
Lua scripting won't help you. If you need more customization than it is currently available in VLC (Tools > Customize Interface...), then you can file a feature request at https://trac.videolan.org/vlc You better offer a bounty to attract a VLC developer to code your idea.