VLC Lua Docs

Discuss your Lua playlist, album art and interface scripts.
ProtoSahara
New Cone
New Cone
Posts: 7
Joined: 17 Oct 2020 17:05

VLC Lua Docs

Postby ProtoSahara » 16 Nov 2020 07:11

I recently spent a bit of time designing a VLC extension and wrote some simple documentation to help me more easily keep track of which Lua modules did what. I've worked on it a bit since then, added some markdown styling and uploaded it to my Github site.

Here are the modules I've documented: https://verghost.com/vlc-lua-docs/m/
Also, here's the Github repo: https://github.com/verghost/vlc-lua-docs

Kishorereddy31
New Cone
New Cone
Posts: 2
Joined: 29 Dec 2020 19:48

Re: VLC Lua Docs

Postby Kishorereddy31 » 31 Dec 2020 09:39

Hey, I want to inspect all the objects in the object module for possible information about the silence in audio for an extension I am trying to make. So can you tell me about the structure of the remaining objects, the docs only talk about vout object.

ProtoSahara
New Cone
New Cone
Posts: 7
Joined: 17 Oct 2020 17:05

Re: VLC Lua Docs

Postby ProtoSahara » 09 Feb 2021 17:40

I think that aout is the main audio object, but I've had issues with access to the object from time to time.
The objects module and the variables have been really weird for me, specifically the variables which have a few strange quirks. My best advice is to look into the source code (https://code.videolan.org/videolan/vlc) using the search functionality, which is how I found some of the object definitions. The objects module just provides an API to access available objects, but the objects themselves seem to be provided as blackboxes and so they are not iterable (as far as I know).

ProtoSahara
New Cone
New Cone
Posts: 7
Joined: 17 Oct 2020 17:05

Re: VLC Lua Docs

Postby ProtoSahara » 18 Aug 2021 02:38

BTW the docs have moved to: https://vlc.verg.ca
The links in the previous post now 404 :(


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 5 guests