Info about VLC Addons

Discuss your Lua playlist, album art and interface scripts.
ale5000
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 03 Mar 2004 16:12
Operating System: Windows
Contact:

Info about VLC Addons

Postby ale5000 » 04 Jul 2018 16:22

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.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Info about VLC Addons

Postby mederi » 04 Jul 2018 19:03

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.

ale5000
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 03 Mar 2004 16:12
Operating System: Windows
Contact:

Re: Info about VLC Addons

Postby ale5000 » 05 Jul 2018 05:07

Thanks, do you know how to make the script appears in the add-on manager inside VLC?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Info about VLC Addons

Postby mederi » 05 Jul 2018 13:01

You have to submit your script for approval at api.addons.videolan.org

coquiss
Blank Cone
Blank Cone
Posts: 12
Joined: 19 Mar 2016 09:04

Re: Info about VLC Addons

Postby coquiss » 04 Aug 2018 09:57

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!

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Info about VLC Addons

Postby mederi » 08 Aug 2018 17:01

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.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 11 guests