Alrighty, Got it patched and working (at least in my one setup). You can pull the patch from: http://denetron.com/~dballenger/ezstream-program.patch (I can post the pre-patched source too if people would like) You'll have to add a "<filetype></filetype>" line into your config files, just put "file" if you want it to work just by reading that file or playlist. Put "script" (no quotes) for it to use the filename path as the program to fetch the media file path from. If some people could give it a whirl and make sure it works in other setups I would appreciate it. Regards, Daniel -- Daniel Ballenger http://denetron.com Sr. Systems Administrator - Denetron LLC
Daniel Ballenger a ?crit :> Alrighty, > Got it patched and working (at least in my one setup). You can pull > the patch from: > http://denetron.com/~dballenger/ezstream-program.patch > (I can post the pre-patched source too if people would like) >Ok, it compiles fine on debian Sarge !> You'll have to add a "<filetype></filetype>" line into your config > files, just put "file" if you want it to work just by reading that > file or playlist. > Put "script" (no quotes) for it to use the filename path as the > program to fetch the media file path from. > > If some people could give it a whirl and make sure it works in other > setups I would appreciate it. >But can't load the script with this kind of config : <ezstream> <url>http://$SERVER:$PORT/$POINT</url> <sourcepassword>$PASSWORD</sourcepassword> <format>$TYPE</format> <filetype>script</filetype> <filename>/home/$USER/stream/ezstream_feed.sh</filename> <svrinfoname>$POINT @ $RADIO, $TOWN ($DESRIPTION)</svrinfoname> <svrinfourl>$WEBSITE</svrinfourl> <svrinfogenre>$GENRE</svrinfogenre> <svrinfodescription>$DESRIPTION</svrinfodescription> <svrinfobitrate>$RATE</svrinfobitrate> <svrinfochannels>$VOICES</svrinfochannels> <svrinfosamplerate>$FSAMPLING</svrinfosamplerate> <svrinfopublic>$PUBLIC</svrinfopublic> </ezstream> It makes : Connecting to http://xxxxxxxxxxxxxxxx...SUCCESS. Streaming /home/xxxxxx/stream/ezstream_feed.sh Opening file (/home/xxxxxx/stream/ezstream_feed.sh) Songinfo is (ezstream_feed) Streaming /home/xxxxxxx/stream/ezstream_feed.sh Opening file (/home/xxxxxx/stream/ezstream_feed.sh) etc, etc .. with this horrible loop :( Is that all right for you ? By the way, I'd like to know what is the main function of your script.. Do you just need to make an "echo" or something ? Thank you very much ! Guillaume
On 12/15/05, Guillaume Pellerin <yomguy@altern.org> wrote:> > Ok, it compiles fine on debian Sarge ! > > But can't load the script with this kind of config : > > <ezstream> > <url>http://$SERVER:$PORT/$POINT</url> > <sourcepassword>$PASSWORD</sourcepassword> > <format>$TYPE</format> > <filetype>script</filetype> > <filename>/home/$USER/stream/ezstream_feed.sh</filename> > <svrinfoname>$POINT @ $RADIO, $TOWN ($DESRIPTION)</svrinfoname> > <svrinfourl>$WEBSITE</svrinfourl> > <svrinfogenre>$GENRE</svrinfogenre> > <svrinfodescription>$DESRIPTION</svrinfodescription> > <svrinfobitrate>$RATE</svrinfobitrate> > <svrinfochannels>$VOICES</svrinfochannels> > <svrinfosamplerate>$FSAMPLING</svrinfosamplerate> > <svrinfopublic>$PUBLIC</svrinfopublic> > </ezstream> > > It makes : > > Connecting to http://xxxxxxxxxxxxxxxx...SUCCESS. > Streaming /home/xxxxxx/stream/ezstream_feed.sh > Opening file (/home/xxxxxx/stream/ezstream_feed.sh) > Songinfo is (ezstream_feed) > Streaming /home/xxxxxxx/stream/ezstream_feed.sh > Opening file (/home/xxxxxx/stream/ezstream_feed.sh) > etc, etc .. >Are you sure the patch actually applied? It should say "Getting file path from program..." if it was. If you aren't sure how to check if the patch applied, send me the ezstream.c file as an attachment if you'd like.> Is that all right for you ? > By the way, I'd like to know what is the main function of your script.. Do you just need to make an > "echo" or something ?The script/program that gets called should just return the path to the next song to play. Is that what you were asking for? Regards, Daniel> Thank you very much ! > Guillaume >-- Daniel Ballenger http://denetron.com Sr. Systems Administrator - Denetron LLC
Hi, I wanted to report that the patch is working perfectly here, it's been live on a test channel for over 2 hours without any problems. It also is completely compatible with my web frontend project that was previously dependent upon ices2, so I would guess then that anyone using ices2 in script mode now has the option to use ezstream as a drop in replacement. Very nice! Thanks for your work -Aaron On 12/15/05, Daniel Ballenger <lpmusix@gmail.com> wrote:> > Alrighty, > Got it patched and working (at least in my one setup). You can pull > the patch from: > http://denetron.com/~dballenger/ezstream-program.patch > (I can post the pre-patched source too if people would like) > > You'll have to add a "<filetype></filetype>" line into your config > files, just put "file" if you want it to work just by reading that > file or playlist. > Put "script" (no quotes) for it to use the filename path as the > program to fetch the media file path from. > > If some people could give it a whirl and make sure it works in other > setups I would appreciate it. > > Regards, > Daniel > -- > Daniel Ballenger > http://denetron.com > Sr. Systems Administrator - Denetron LLC > > _______________________________________________ > Icecast-dev mailing list > Icecast-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-dev > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast-dev/attachments/20051215/35a7b205/attachment.htm