Problem adding MRL with web interface

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
blendax
New Cone
New Cone
Posts: 1
Joined: 27 Jul 2006 13:53

Problem adding MRL with web interface

Postby blendax » 27 Jul 2006 14:21

I want to add a MRL via URL Parameter, but It simply does not add to the playlist.

here my current control statement that doesn´t work:
<vlc id="control" param1="add mrl 'dir' url_extract"/>

Does someone know what I have done wrong ?

the parameter is given with this url
http://127.0.0.1:8080/ctrl.html?dir=test.mp3

the rest of the script (ctrl.html) works well :

Code: Select all

<html> <head> <title>VLC media player - add a file</title> <vlc id="control" param1="stop,pause,previous,next,add,dir,sout,play,delete,empty,seek,fullscreen,keep,volume,sort,move" /> <vlc id="set" param1="sout" param2="string" /> </head> <body> <h2><center><a href="/">VLC media player <vlc id="value" param1="version" /></a></center></h2> <hr/> <vlc id="if" param1="stream_length stream_position =" /> <p> No Music in list ... adding <br /> <vlc id="value" param1="'dir' url_extract"/><br /><br /></p> <vlc id="control" param1="add mrl 'dir' url_extract"/> <vlc id="else" /> <p> Something is playing </p> Stream Length : <vlc id="value" param1="stream_length" /> <br /> Stream Position : <vlc id="value" param1="stream_position" /> <vlc id="end" /> <hr/> <p><vlc id="value" param1="copyright" /> </p> </body> </html>
thanks blendax

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 53 guests