Section for VLC Lua modules

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:

Section for VLC Lua modules

Postby ale5000 » 11 Jul 2018 17:01

Please create a section for "VLC Modules" under: https://addons.videolan.org/

I want to create a module with common functions to avoid replicate the same code on a lot of scripts and I wouldn't like to use "VLC Other" section since it would be confusing.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Section for VLC Lua modules

Postby Rémi Denis-Courmont » 11 Jul 2018 17:17

Modules are listed under VLC plugins.

And I don't think the addons site is the place to list Lua helper functions.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

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

Re: Section for VLC Lua modules

Postby ale5000 » 11 Jul 2018 17:21

If the module is installed then a LUA SD/extension/etc. can just use

Code: Select all

require 'lib-name'
to use it, and in the description of a LUA SD/extension/etc. I can just write:

Code: Select all

it require the following module 'lib-name'

Edit: Just to be clear I really mean modules under => VLC/lua/modules (like simplexml.luac)
and not just code to copy inside other Lua addons.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Section for VLC Lua modules

Postby Rémi Denis-Courmont » 11 Jul 2018 20:01

I don't question that there is a use case for Lua modules to help build other Lua scripts.
I just don't think they belong on addons, which is a site for end users.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

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

Re: Section for VLC Lua modules

Postby ale5000 » 12 Jul 2018 00:55

I don't question that there is a use case for Lua modules to help build other Lua scripts.
I just don't think they belong on addons, which is a site for end users.
If I tell to an end user that my Lua SD require a Lua module where should I point the end user to download it?

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

Re: Section for VLC Lua modules

Postby ale5000 » 13 Jul 2018 09:30

Modules are listed under VLC plugins.

And I don't think the addons site is the place to list Lua helper functions.
VLC plugins seems to be (looking at the ones already here) for C modules, not Lua modules; so currently it fit only only in VLC other

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: Section for VLC Lua modules

Postby mederi » 14 Jul 2018 16:26

Probably there will not be any new category. I think that you can use any of the available categories except the "VLC Skins" for your custom Lua modules :)


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 7 guests