Building lua scripts?

Discuss your Lua playlist, album art and interface scripts.
VisitorG
New Cone
New Cone
Posts: 5
Joined: 15 Feb 2017 12:45

Building lua scripts?

Postby VisitorG » 15 Feb 2017 12:59

Hello,

So I need to modify the RC interface so that it fits my needs.
It's just some details, I want to seek to miliseconds instead of secodns, I want to get some clearer outputs so than I can parse them clearly, etc etc.

So her I go, trying to build VLC.
And it's damn complicated.
I have been solving errors after errors, and still no luck.

So here is my question:
What I could find in the VLC binaries are luac files, so I suppose there is a need for building the files.
But do I need to build everything?
Isn't there a simpler way?

Any documentation is welcome. Thanks.
All I could find is documentation on the scripting itself, not the building.

Thank you.

VisitorG
New Cone
New Cone
Posts: 5
Joined: 15 Feb 2017 12:45

Re: Building lua scripts?

Postby VisitorG » 15 Feb 2017 15:39

Ok, got it...
From the sources, modify the lua file.
Then call the luac command line, in my case:
luac -o cli.luac cli.lua
And then replace the output luac file in your /usr/lib/vlc/lua/intf folder.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 7 guests