So, if my plugin has:
Code: Select all
set_shortname( "some" )
set_category( CAT_AUDIO )
set_subcategory( SUBCAT_AUDIO_AFILTER )
add_string("some-val", "nothing, really", "some value")
I've tried following code to reach for plugin's var:
Code: Select all
function descriptor()
return { title = "foo" ;
version = "0" ;
author = "" ;
url = "";
shortdesc = "";
description = "";
capabilities = { "input-listener", "meta-listener" } }
end
function activate()
vlc.msg.info("foo!")
vlc.msg.info(vlc.audio.some.some-val)
end
function deactivate()
end
Code: Select all
[0x7f6ebc120258] lua generic: foo!
[0x7f6ebc120258] lua generic error: Could not activate extension!