[vlc-devel] Lua extension and vlc.misc

Jean-Baptiste Kempf jb at videolan.org
Tue Feb 28 19:13:09 CET 2012


Hello,

Since 52d4b4bb1c, vlc.misc.* are not available outside of lua
interfaces, notably for extensions and sds.
It seems indeed that vlc.misc was over-exposing things, like should_die
or quit.

However, some things were useful, like version() or copyright() or
cachedir().

Therefore, I suggest to allow back some of those things for other lua
modules, and keep the other ones only for intf. I will do the work of
splitting, but I would need feedback.

Here is the list of things:

Those seems safe to explose:
"version"
"copyright"
"license"

"datadir"
"userdatadir"
"homedir"
"configdir"
"cachedir"
"datadir_list"

"action_id"

Those, I do not know:
"mdate"
"mwait"

"lock_and_wait"
"timer"

Those seems wrong to expose outside of intf:

"should_die"
"quit"


Opinions?

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list