Page 1 of 1

Return to a variable?

Posted: 15 Dec 2018 23:27
by pctechtv
Can a Lua extension return a result as a variable? I guess then it would have to be triggered by something like the command line. Thanks for any help.

Re: Return to a variable?

Posted: 17 Dec 2018 18:46
by unidan
Hi, what do you mean by "a variable" ?

Re: Return to a variable?

Posted: 17 Dec 2018 19:23
by pctechtv
For example, when you use http://127.0.0.1:8080/requests/status.xml it can return a set of XML that can be returned to a caller. I saw that a lot of what is built with Lua that creates some type of panel/dialog that you have to use to run its job. I am looking for a way to get information from the clip that is playing. I really don't want to have to interact with VLC. I just want to automate these commands while users are watching VLC on a screen. I am interested in Lua because its capabilities look awesome, however, the only reason I am looking at it now is because http://127.0.0.1:8080/requests/status.xml cannot return the file currently playings path (e.g. "C:\temp\myFile.mp4"). It only can return the filename (e.g. "myFile.mp4"). Thanks