Page 1 of 1

Can't change playlist item via HTTP interface. Telnet works

Posted: 09 Aug 2005 11:26
by Jampy
I've made a script that generates a M3U file out of a .dvbrc file that looks like this:

#EXTINF:953,953 - Radio Viola
#EXTVLCOPT:dvb-frequency=12670000
#EXTVLCOPT:dvb-srate=22000000
#EXTVLCOPT:dvb-voltage=13
#EXTVLCOPT:program=12805
dvb://
#EXTINF:954,954 - Euroklassik 1
#EXTVLCOPT:dvb-frequency=12670000
#EXTVLCOPT:dvb-srate=22000000
#EXTVLCOPT:dvb-voltage=13
#EXTVLCOPT:program=12804
dvb://
#EXTINF:955,955 - Radio Caroline
#EXTVLCOPT:dvb-frequency=12670000
#EXTVLCOPT:dvb-srate=22000000
#EXTVLCOPT:dvb-voltage=13
#EXTVLCOPT:program=12802
dvb://

Then I start VLC using:

vlc -v dvb.m3u --ts-es-id-pid --sout udp:10.1.1.255 --extraintf http --http-host 10.1.1.1:8889

I can see the playlist in the HTTP interface, but when I click on a item, the stream just starts again without changing the channel. However, if I use the VLC console and type "goto 123" the channel gets tuned correctly.

What's wrong here?

Using "VLC media player 0.8.2 Janus" on Linux 2.4.31 but I guess it's not O/S-related.

Posted: 11 Aug 2005 07:06
by BananaJoe
yep, starting with 0.8.2 the http interface is messed up :cry:

Re: Can't change playlist item via HTTP interface. Telnet wo

Posted: 31 Oct 2005 00:04
by lucindrea
I've made a script that generates a M3U file out of a .dvbrc file that looks like this:

#EXTINF:953,953 - Radio Viola
#EXTVLCOPT:dvb-frequency=12670000
#EXTVLCOPT:dvb-srate=22000000
#EXTVLCOPT:dvb-voltage=13
#EXTVLCOPT:program=12805
dvb://
#EXTINF:954,954 - Euroklassik 1
#EXTVLCOPT:dvb-frequency=12670000
#EXTVLCOPT:dvb-srate=22000000
#EXTVLCOPT:dvb-voltage=13
#EXTVLCOPT:program=12804
dvb://
#EXTINF:955,955 - Radio Caroline
#EXTVLCOPT:dvb-frequency=12670000
#EXTVLCOPT:dvb-srate=22000000
#EXTVLCOPT:dvb-voltage=13
#EXTVLCOPT:program=12802
dvb://

Then I start VLC using:

vlc -v dvb.m3u --ts-es-id-pid --sout udp:10.1.1.255 --extraintf http --http-host 10.1.1.1:8889

I can see the playlist in the HTTP interface, but when I click on a item, the stream just starts again without changing the channel. However, if I use the VLC console and type "goto 123" the channel gets tuned correctly.

What's wrong here?

Using "VLC media player 0.8.2 Janus" on Linux 2.4.31 but I guess it's not O/S-related.

my problem is that i cannot change chans via telnet ..
you say you use "goto 123" except i dont see 123 in your m3u anywhere .. how does it know what 123 means? ( and i've tried several combos of EXTINF )

Posted: 01 Nov 2005 16:38
by dionoea
This kind of a script could be very usefull to lots of people. Could you make it available somewhere ? (on the videolan wiki or maybe even make it downloadable somewhere so that we can include it in the VLC svn trunk ... or even better, write a VLC demux module that can read dvbrc files natively :) )