[vlc] Re: get current position, filename
Clément Stenac
zorglub at via.ecp.fr
Tue Feb 7 12:36:29 CET 2006
Hello,
Try creating an html file containing this :
<vlc id="value" param1="stream_length" />
<vlc id="foreach" param1="pl" param2="playlist" />
<vlc id="if" param1="pl.current" />
<vlc id="value" param1="pl.uri" />
<vlc id="end" />
<vlc id="end" />
The method to get the current URI is really dirty, but I don't think we
have a better one at the moment.
Place this file in the HTTP interface path (/usr/share/vlc/http, or
/usr/local/share/http probably, or share/http in the source tree if you're
running an uninstalled version).
Then, you can use wget http://vlc_streamer:8080/your_file to get the data.
Hope this helps,
--
Clément
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list