On Wednesday, 01 August 2001 at 16:37, Robin P. Blanchard wrote:> > assuming otto can execute an arbitrary shell command whenever the > > track plays (I assume it can call whatever mp3 decoder you want), you > > can > > a) have a script that does something like > > echo $1 > /path/to/playlist.txt > > Then ices will reload the playlist file (size: one entry) at the end > > of the track. > > > > b) do > > mkfifo ices.fifo > > echo ices.fifo > playlist.txt > > run ices, > > and have otto do > > cat $1 > ices.fifo > > instead of calling its mp3 decoder. > > > *otto*'s (not ices) :) problem is that the playlist is dynamic and is > written after a track is played. while a track is playing you users > can submit/delete requests or it's little daemon will randomly select things. > once a track is completed the top entry of that dynamic playlist is written > as a file. otto only knows when a track has finished playing by it's spawned > app (in this case, ices) exiting. hence all of this debate.In that case option b should work fine. otto can call cat $1 > ices.fifo which will exit when the track has finished. Then ices will close and reopen ices.fifo and wait for the next track. Problem solved? --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
* Robin P. Blanchard <Robin_Blanchard@gactr.uga.edu> [010806 16:39]:> client_timeout -1 > > but when icecast loses it's ices souce, the clients get dropped. > how do i make icecast keep its clients even when it's lost its source?I always set client_timeout to the largest value (so that ices reconnects before it times out). Todd --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
despite all the discussion last week on how to "appropriate" accomplish what i was wanting to do in terms of the otto + ices combination, i just hacked the ices code and made it return instead of looping... i'm listening to tunes now. that's all i really care about. in my icecast.conf i have: client_timeout -1 but when icecast loses it's ices souce, the clients get dropped. how do i make icecast keep its clients even when it's lost its source? -- ------------------------------------ Robin P. Blanchard IT Program Specialist Georgia Center for Continuing Ed. fon: 706.542.2404 fax: 706.542.6546 email: Robin_Blanchard@gactr.uga.edu ------------------------------------ --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.