I apologize if this is a neophyte question. I am running icecast2 and ices0.3 (mp3 serving) off of Suse Linux. Is there a way I can set it up so that I can control the stream (i.e. skip a song or repeat a song)?
Hi: It seems that you can skip to the next track by sending ices a USR1 signal. But the kind of control you want will require a script written in either PERL or Python. Unfortunately ices 0.3 doesn't have the basic script functionality found in ices 2.0. Geoff.
<Pine.LNX.4.60.0407161235480.16854@data.home> Message-ID: <40F7EDD0.9070600@imux.net> Geoff Shang wrote:> Hi: > > It seems that you can skip to the next track by sending ices a USR1 > signal. But the kind of control you want will require a script written > in either PERL or Python. Unfortunately ices 0.3 doesn't have the basic > script functionality found in ices 2.0. >Um, yes it does... I have a nifty python script running for a radio station that auto inserts a random advert every 15 mins or so and plays the news on the hour. Stephen Liveive Project Manager
<Pine.LNX.4.60.0407161235480.16854@data.home> <40F7EDD0.9070600@imux.net> Message-ID: <Pine.LNX.4.60.0407220032050.727@data.home> EvilOverlord wrote:> Geoff Shang wrote: > >> Unfortunately ices 0.3 doesn't have the basic >> script functionality found in ices 2.0. >> > > Um, yes it does... I have a nifty python script running for a radio station > that auto inserts a random advert every 15 mins or so and plays the news on > the hour.I should have emphasised the word "basic". Ices 0.3 requires a knowledge of either PERL or Python and requires you to hook into Ices' processes by providing various methods for it to use. Ices 2.x however merely calls a basic script which returns a single line stating what file to play next. This means you can write it in anything you like. Geoff.