Return to a variable?

Discuss your Lua playlist, album art and interface scripts.
pctechtv
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Jan 2015 02:14

Return to a variable?

Postby pctechtv » 15 Dec 2018 23:27

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.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Return to a variable?

Postby unidan » 17 Dec 2018 18:46

Hi, what do you mean by "a variable" ?

pctechtv
Blank Cone
Blank Cone
Posts: 21
Joined: 11 Jan 2015 02:14

Re: Return to a variable?

Postby pctechtv » 17 Dec 2018 19:23

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


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 5 guests