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

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Jampy

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

Postby Jampy » 09 Aug 2005 11:26

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.

BananaJoe
New Cone
New Cone
Posts: 7
Joined: 28 Nov 2004 18:06

Postby BananaJoe » 11 Aug 2005 07:06

yep, starting with 0.8.2 the http interface is messed up :cry:

lucindrea
New Cone
New Cone
Posts: 3
Joined: 30 Oct 2005 22:23

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

Postby lucindrea » 31 Oct 2005 00:04

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 )

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 01 Nov 2005 16:38

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 :) )
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests