Page 1 of 1

Section for VLC Lua modules

Posted: 11 Jul 2018 17:01
by ale5000
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.

Re: Section for VLC Lua modules

Posted: 11 Jul 2018 17:17
by Rémi Denis-Courmont
Modules are listed under VLC plugins.

And I don't think the addons site is the place to list Lua helper functions.

Re: Section for VLC Lua modules

Posted: 11 Jul 2018 17:21
by ale5000
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.

Re: Section for VLC Lua modules

Posted: 11 Jul 2018 20:01
by Rémi Denis-Courmont
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.

Re: Section for VLC Lua modules

Posted: 12 Jul 2018 00:55
by ale5000
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?

Re: Section for VLC Lua modules

Posted: 13 Jul 2018 09:30
by ale5000
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

Re: Section for VLC Lua modules

Posted: 14 Jul 2018 16:26
by mederi
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 :)