[icecast] Update ezstream playlist 'on the fly'

oddsock oddsock at oddsock.org
Wed Apr 21 13:58:11 UTC 2004



Jappe:

I've just added this functionality to ezstream.  You can now send ezstream 
a SIGHUP and it will re-read the currently processing playlist file (it 
will currently do nothing if you are reading from stdin).  In this case 
ezstream will keep track of the last track played and will reposition to 
that track (if it exists in the new playlist, otherwise it will just 
restart at the beginning).

ince the xiph suite of webservers seems to be currently unavailable, you 
can download it here : 
http://www.icecast.org/~oddsock/ezstream/ezstream-0.1.2.tar.gz

oddsock
At 06:32 AM 4/21/2004, you wrote:
>Hi,
>
>I'm using ezstream to stream a list of mp3 files to my icecast2 server 
>which works great. I'm using a m3u playlist file which ezstream reads when 
>it starts and rereads when it loops. The problem is that this playlist is 
>quite long and I would like to be able to inject a song last minute some 
>where in the playlist. I have two options at the moment to do this:
>
>- restart ezstream
>- wait until the playlist loops
>
>Both are not realy an option in a real life situation. I've tried to HUP 
>ezstream with a 'kill -HUP [pid]' but that just terminates ezstream.
>
>Does anybody know how to alter the playlist on the fly and with immediat 
>effect? Or is there an other utility (for unix) which can stream mp3 files 
>from disk and does support this feature?
>
>thanks for any help
>
>regards
>
>jappe
>
>--- >8 ----
>List archives:  http://www.xiph.org/archives/
>icecast project homepage: http://www.icecast.org/
>To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
>containing only the word 'unsubscribe' in the body.  No subject is needed.
>Unsubscribe messages sent to the list will be ignored/filtered.
>

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list