I have just gotten a stream working and it is very cool. I am using ices0.4 to stream mp3s to icecast2 under redhat 9. I have a couple of questions, though: 1. No files are being written to the admin directory. It is successfully writing the access and error logs and the pid file. The path is correct in the icecast.xml file. The user has write access to the admin directory. Do I need to turn something on? 2. Also, no files are being written to the web directory. Same situation as above. 3. With ices0.4, is there any way to force ices to change the mp3 that it is playing while it is running in the background? I'd like to set up somekind of request system. Is there a script that does this? Thanks.
On Thursday 21 October 2004 05:36, Richard Morey wrote:> I have just gotten a stream working and it is very cool. I am using > ices0.4 to stream mp3s to icecast2 under redhat 9. I have a couple of > questions, though: > > 1. No files are being written to the admin directory. It is successfully > writing the access and error logs and the pid file. The path is correct > in the icecast.xml file. The user has write access to the admin > directory. Do I need to turn something on?No, icecast will never write anything to the admin directory.> > 2. Also, no files are being written to the web directory. Same situation > as above.Why would it? Again, icecast won't write here. The only places icecast will ever write to are: - the log files - the pid file (if configured) - stream dump files (if configured). Sounds to me like everything is working correctly.> > 3. With ices0.4, is there any way to force ices to change the mp3 that > it is playing while it is running in the background? I'd like to set up > somekind of request system. Is there a script that does this?Can't help you with this one, I don't use ices 0.4. Mike
I was under the impression icecast wrote useage statistics to that directory, and you accessed them via http://host:port/admin/ Where does the xslt file come from that it tries to access when you attempt to access the admin page? Michael Smith wrote:>On Thursday 21 October 2004 05:36, Richard Morey wrote: > > >>I have just gotten a stream working and it is very cool. I am using >>ices0.4 to stream mp3s to icecast2 under redhat 9. I have a couple of >>questions, though: >> >>1. No files are being written to the admin directory. It is successfully >>writing the access and error logs and the pid file. The path is correct >>in the icecast.xml file. The user has write access to the admin >>directory. Do I need to turn something on? >> >> > >No, icecast will never write anything to the admin directory. > > > >>2. Also, no files are being written to the web directory. Same situation >>as above. >> >> > >Why would it? Again, icecast won't write here. > >The only places icecast will ever write to are: > - the log files > - the pid file (if configured) > - stream dump files (if configured). > >Sounds to me like everything is working correctly. > > > >>3. With ices0.4, is there any way to force ices to change the mp3 that >>it is playing while it is running in the background? I'd like to set up >>somekind of request system. Is there a script that does this? >> >> > >Can't help you with this one, I don't use ices 0.4. > >Mike > > > >
On Wednesday, 20 October 2004 at 14:36, Richard Morey wrote:> 3. With ices0.4, is there any way to force ices to change the mp3 that > it is playing while it is running in the background? I'd like to set up > somekind of request system. Is there a script that does this?if you change the playlist file (and aren't randomizing), ices will pick up the changes at the next track. To jump to the next track immediately, send ices SIGUSR1. But really, this is exactly what the scripting modules are for. If it were me, I'd feed the requests into a python module. Now I gotta get back to the Sox game.
On Wed, 20 Oct 2004 14:36:50 -0500, Richard Morey wrote:> I have just gotten a stream working and it is very cool. I am using > ices0.4 to stream mp3s to icecast2 under redhat 9. I have a couple of > questions, though: > > 1. No files are being written to the admin directory. It is successfully > writing the access and error logs and the pid file. The path is correct > in the icecast.xml file. The user has write access to the admin > directory. Do I need to turn something on? > > 2. Also, no files are being written to the web directory. Same situation > as above. > > 3. With ices0.4, is there any way to force ices to change the mp3 that > it is playing while it is running in the background? I'd like to set up > somekind of request system. Is there a script that does this? > > Thanks.If I remember right, it's possible to tell ices to get its playlist from a script - you give it the name of a script that returns the name of the next playlist file every time it's called, which means you can generate the playlist however you want. (E.g. a while back I wrote a script to take the output from a web jukebox program (otto2) and feed it into ices for streaming.)
Andy Baxter wrote:> If I remember right, it's possible to tell ices to get its playlist from a > script - you give it the name of a script that returns the name of the > next playlist file every time it's called, which means you can generate > the playlist however you want.Ices 2.x works like this. Ices 0.x also allows for scripts, but the scripts are more integrated with Ices and have to be in either PERL or Python and need to provide methods to do several things. It's in the documentation. Geoff.