Page 1 of 1

Web radio with VLC

Posted: 30 Nov 2004 19:38
by CrazyCat
Hi there :)
I've a server (debian 3.1RC2) on wich is installed VLC and I use it as streaming server.

I've a small trouble:

I use a playlist (created with a find /home/mp3 -name *.mp3 > playlist.m3u) and run my vlc by launching:

Code: Select all

vlc --loop --random playlist.m3u --sout '#standard{access=http,mux=raw,url=192.168.0.3:10000}' &
The trouble is that when listening with winamp or vlc, the player stops at the end of each song, I've to press the play to launch the listening of the following (but on my server, vlc follow up reading).

I wonder I've some troubles with my command line, but I can't understand wich...
Someone could help me plz?

Posted: 01 Dec 2004 02:38
by Sigmund
the magic command line option is --sout-keep.

Posted: 01 Dec 2004 08:38
by Guest
really? who hide it in the manual?
10x a lot man :)

Posted: 01 Dec 2004 08:58
by CrazyCat
Well, now I've a big error:

Code: Select all

crazycat@cc-nux:~$ vlc --loop /home/samba/mp3/Naheulbeuk/*.mp3 --sout-keep '#standard{access=http,mux=raw,url=192.168.0.3}' VLC media player 0.8.1 Janus libhal.c 696 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised "Service "org.freedesktop.Hal" does not exist" [00000235] skins2 interface error: Cannot open display [00000235] skins2 interface error: Cannot initialize OSFactory Interface de commande à distance initialisée, « h » pour obtenir de l'aide. [00000243] main private: creating httpd [00000247] mux_dummy private: Open [00000271] mpeg_audio packetizer: MPGA channels:2 samplerate:44100 bitrate:128 [00000294] mpeg_audio packetizer: MPGA channels:2 samplerate:44100 bitrate:128 signal 2 received, terminating vlc - do it again in case it gets stuck [00000245] main http daemon: httpd doesn't reference any host, deleting [00000232] main playlist error: refcount is 1, I have a bad feeling about this [00000232] main playlist error: we waited too long, cancelling destruction
I'm launching vlc from console via ssh, can't understand the trouble....

Posted: 01 Dec 2004 09:16
by CrazyCat
Sorry, I'm a lame :(
I've to use --sout-keep -sout '#standard{......}'