Adding items with multiple options to the playlist

Discuss your Lua playlist, album art and interface scripts.
jml674
Blank Cone
Blank Cone
Posts: 38
Joined: 03 Feb 2010 19:54
Location: France

Adding items with multiple options to the playlist

Postby jml674 » 18 Dec 2012 00:06

Hey,
I'm trying to add items to a remote vlc server playlist using the LUA http request.
I managed to add the following item:
"http://192.168.1.3/requests/status.json ... rogram=257"

I'm now trying to add multiple options but the LUA script seems to ignore anything beyond the first option:
example:
"http://../status.json?command=in_play&input=dvbt://frequency=562000&option=:program=257 :meta-title=test"
=>the meta-title is not taken into account ...

Anybody can help on the proper syntax ?

thanks in advance!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Adding items with multiple options to the playlist

Postby Jean-Baptiste Kempf » 18 Dec 2012 01:56

Those are separate item options, and won't work through HTTP interface, I think.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jml674
Blank Cone
Blank Cone
Posts: 38
Joined: 03 Feb 2010 19:54
Location: France

Re: Adding items with multiple options to the playlist

Postby jml674 » 18 Dec 2012 09:40

After a long night of head-scratching, it is in fact possible:

"http://../status.json?command=in_play&input=dvbt://frequency=562000&option=:program=257&option:meta-title=test"


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 6 guests