Hello all Ive just discover that ices0 can encode {.ogg,.flac,.mp3} to mp3 streams!.. greate! the script thing is wonderfull. in my script i have defined ices_init ices_shutdown ices_get_next all works greate. Now, i want be able users to skip the song that is been streamd. for that, kill -s SIGUSR1 IcesPid works greate but.. for the songs i have setup a ranking field in a sql database. When users skip it, it means i should lower the ranking.. how? doing a sql query is there any change i can execute myscript_skip_function when ices0 recieved the USR1 signal? thanks you very much. -- _________________________ Phillip Neumann phillip@sofsis.cl -------------- next part -------------- A non-text attachment was scrubbed... Name: bob.vcf Type: text/x-vcard Size: 145 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20050306/6ea0e2e0/bob.vcf
On Sunday, 06 March 2005 at 19:15, Phillip Neumann wrote:> but.. for the songs i have setup a ranking field in a sql database. > When users skip it, it means i should lower the ranking.. > how? doing a sql query > > is there any change i can execute myscript_skip_function when ices0 > recieved the USR1 signal?that feature isn't there, but you could certainly write a script that sends USR1 to ices and then updates the database itself.
Willing to share the script ? On Sun, 06 Mar 2005 19:15:07 +0000, Phillip Neumann <bob@sofsis.cl> wrote:> Hello all > > Ive just discover that ices0 can encode {.ogg,.flac,.mp3} to mp3 streams!.. > greate! > > the script thing is wonderfull. in my script i have defined > > ices_init > ices_shutdown > ices_get_next > > all works greate. > > Now, i want be able users to skip the song that is been streamd. > for that, > kill -s SIGUSR1 IcesPid > works greate > > but.. for the songs i have setup a ranking field in a sql database. > When users skip it, it means i should lower the ranking.. > how? doing a sql query > > is there any change i can execute myscript_skip_function when ices0 > recieved the USR1 signal? > > thanks you very much. > > -- > > > _________________________ > Phillip Neumann > phillip@sofsis.cl > > > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > > > >-- Mohamed Eldesoky www.eldesoky.net RHCE