davidshere

Joined: 29 Nov 2007 Posts: 8 Location: Charlotte, NC
|
Posted: Thu Nov 29, 2007 2:00 pm Post subject: Stream stops when next song begins |
|
|
I also posted this in Listener Clients, because I'm not sure if it's my listener or my ices2. I read and followed this awesome tutorial:
http://www.howtoforge.com/linux_webradio_with_icecast2_ices2_p2
And everything works great. One small problem. When listening, a song plays, and when it ends, the stream goes silent. I'm still connected, but no music. I have to disconnect and reconnect (stop/play) in order to get the music back.
In the ices2 log, I get this:
| Code: |
[2007-11-28 16:22:48] INFO playlist-builtin/playlist_read Currently playing "/home/david/Desktop/music/Soundtracks/Beverly_Hills_Cop/03. Junior - Do_You_Really__Want_My_Love__.ogg"
[2007-11-28 16:22:48] DBUG encode/encode_clear Clearing encoder engine
[2007-11-28 16:22:48] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream
[2007-11-28 16:22:48] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
[2007-11-28 16:26:32] INFO playlist-builtin/playlist_read Currently playing "/home/david/Desktop/music/Pop/Dance_Naked/05. John_Mellencamp - L.U.V..ogg"
[2007-11-28 16:26:32] DBUG encode/encode_clear Clearing encoder engine
[2007-11-28 16:26:32] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream
[2007-11-28 16:26:32] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
[2007-11-28 16:29:33] INFO playlist-builtin/playlist_read Currently playing "/home/david/Desktop/music/Soundtracks/Beverly_Hills_Cop_III/10. The_Supremes - Come_See_About_Me.ogg"
[2007-11-28 16:29:33] DBUG encode/encode_clear Clearing encoder engine
[2007-11-28 16:29:33] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream
[2007-11-28 16:29:33] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
|
I'm not sure if this is relevant, but the tutorial says to create a music folder and throw all your music in there. Well, I did that and made a simlink to my music.
| Code: |
david@warthog:/etc/ices2$ ls -lash
total 52K
4.0K drwxr-xr-x 3 root root 4.0K 2007-11-28 08:41 .
12K drwxr-xr-x 127 root root 12K 2007-11-28 08:32 ..
8.0K -rw-r--r-- 1 root root 4.2K 2007-11-28 15:53 ices-playlist.xml
4.0K drwxr-xr-x 2 root root 4.0K 2007-11-28 08:39 music
24K -rw-r--r-- 1 root root 24K 2007-11-28 08:41 playlist.txt
david@warthog:/etc/ices2$ ls -lash music
total 8.0K
4.0K drwxr-xr-x 2 root root 4.0K 2007-11-28 08:39 .
4.0K drwxr-xr-x 3 root root 4.0K 2007-11-28 08:41 ..
0 lrwxrwxrwx 1 root root 20 2007-11-28 08:39 Desktop -> /home/david/Desktop/
david@warthog:/etc/ices2$ |
But all this shouldn't be necessary when the playlist refers to each song by its full path anyway:
| Code: |
david@warthog:/etc/ices2$ more playlist.txt
/home/david/Desktop/music/otherStuff/Even Worse/04 - You Make Me.ogg
/home/david/Desktop/music/otherStuff/Even Worse/08 - Alimony.ogg
/home/david/Desktop/music/otherStuff/Even Worse/07 - Melanie.ogg
/home/david/Desktop/music/otherStuff/Even Worse/06 - Lasagna.ogg
/home/david/Desktop/music/otherStuff/Even Worse/11 - Good Old Days.ogg
/home/david/Desktop/music/otherStuff/Even Worse/01 - Fat.ogg
... |
icecast2 and ices2 are running on a Packard Bell Pentium III 350 with 320 MB of RAM. OS is Ubuntu 8.04 Hardy Heron (development version)
I was quite pleased with how easy it was so set this up which makes this small problem somewhat frustrating.
Any help will be greatly appreciated. Eternally grateful, firstborn children, all that... |
|