Page 1 of 1

Simple message not working !

Posted: 31 Mar 2021 07:00
by spark90
Here is my script :

Code: Select all

function descriptor() return { title = "Test" } end function main() vlc.msg.info("Message de test !") end
It appears on the VLC interface, I click on "Test", it seems to do nothing. I go to Tools->Messages (CTRL-M) => Empty !!

Any ideas ?

Thx

Re: Simple message not working !

Posted: 01 Apr 2021 18:47
by mederi

Re: Simple message not working !

Posted: 01 Apr 2021 21:49
by spark90
Thx, I'll take a look ! :)

Re: Simple message not working !

Posted: 04 Apr 2021 22:50
by spark90
even the script

-- "extension.lua"
-- VLC Extension basic structure (template): ----------------

from the wiki is broken.

for me, lua is broken in 3.0.x !

Re: Simple message not working !

Posted: 05 Apr 2021 16:04
by mederi
Ah sorry, a service discovery script (descriptor() and main()), not an extension (descriptor() and activate()).

Re: Simple message not working !

Posted: 07 Apr 2021 23:00
by spark90
problem solved, you should open CTRL-M console BEFORE calling the lua script