Cristian Alvarado
2006-Jul-01 09:01 UTC
[Icecast] Web Based scheduler like LiveSupport for icecast
I've been scouring the web for a web based scheduler for use with icecast. Here is what I'm looking for: I want to be able to say "at X time, Y file/playlist will play" I want to be able to control icecast from the web I want to be able to lock control of this site with some form of authentication Preferably PHP, but ruby/rails would be good too. Any suggestions? -- Cristian Alvarado ocdude at gmail.com
Hi, I think what you want can be (easily ;) ) built around Ices, using perl or Python. I do something very similar with a simple perl script and ices. Ices can use a perl script as playlist, that's to say the script will be executed each time a track ends and ices is looking for the next one. So if you can write your demand on disk (with a simple CGI for example), the perl script can read it and play the track. Otherwise, you can do like i'm doing : read a playlist file from perl script (which file based on the system's clock) and select a track from it at random. For controling icecast, you can use signals (SIGHUP rereads playlist, SIGUSR1 goes to next track, ...) via a CGI ? (i'm not sure signals from CGIs is always possible). For simple authentication, .htpasswd will do. Cristian Alvarado wrote:> I've been scouring the web for a web based scheduler for use with > icecast. Here is what I'm looking for: > > I want to be able to say "at X time, Y file/playlist will play" > I want to be able to control icecast from the web > I want to be able to lock control of this site with some form of > authentication > Preferably PHP, but ruby/rails would be good too. > > Any suggestions?-- (cpylft) oDDsKooL Assembly Line http://www.oddskool.net
Aaron Wolfe
2006-Jul-04 21:29 UTC
[Icecast] Web Based scheduler like LiveSupport for icecast
You might like my project called tunequeue, though it might be overkill or too much effort to install. It does provide a web interface to ices and allows fairly complex scheduling. It is perl with a mysql backend. http://tunequeue.sf.net -Aaron On 7/4/06, oDDskOOL <oddskool@gmail.com> wrote:> > Hi, > > I think what you want can be (easily ;) ) built around Ices, using perl > or Python. > > I do something very similar with a simple perl script and ices. Ices can > use a perl script as playlist, that's to say the script will be executed > each time a track ends and ices is looking for the next one. > > So if you can write your demand on disk (with a simple CGI for example), > the perl script can read it and play the track. Otherwise, you can do > like i'm doing : read a playlist file from perl script (which file based > on the system's clock) and select a track from it at random. > > For controling icecast, you can use signals (SIGHUP rereads playlist, > SIGUSR1 goes to next track, ...) via a CGI ? (i'm not sure signals from > CGIs is always possible). > > For simple authentication, .htpasswd will do. > > > > Cristian Alvarado wrote: > > I've been scouring the web for a web based scheduler for use with > > icecast. Here is what I'm looking for: > > > > I want to be able to say "at X time, Y file/playlist will play" > > I want to be able to control icecast from the web > > I want to be able to lock control of this site with some form of > > authentication > > Preferably PHP, but ruby/rails would be good too. > > > > Any suggestions? > -- > (cpylft) oDDsKooL Assembly Line > http://www.oddskool.net > > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20060705/c68c40eb/attachment.htm