How to generate compiled luac files?

Discuss your Lua playlist, album art and interface scripts.
uioporqwerty
New Cone
New Cone
Posts: 3
Joined: 04 Nov 2022 02:12

How to generate compiled luac files?

Postby uioporqwerty » 25 Nov 2022 00:47

How do you generate compiled lua extension scripts? I've looked in to plain old

Code: Select all

luac ./src/myext_ext.lua
and

Code: Select all

vlc -I luaintf --lua-intf luac --lua-config 'luac={input="./src/myext_ext.lua",output="./dist/myext_ext.luac"}'
but when I run these in a CI context and copy the results over to my local VLC folder in "/Users/%my_name%/Library/Application Support/org.videolan.vlc/lua/extensions", I get no results in that the script doesn't show up in the VLC menu. There is nothing wrong with the script itself and even if I run the latter command locally and copy the result over, it works fine with a generated luac.

Do I have to compile for multiple architectures? If so, is there a reference on how that's done?

Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 11 guests