Re: [Otto-users] Ices repeating
Status: Beta
Brought to you by:
ferguson
|
From: Jon F. <jo...@me...> - 2000-12-09 15:17:00
|
howdy, sorry it took so long to reply.
if you are using ices version 0.0.1.beta5, then the patched stream.c file is
attached. put it in the src directory (move the old one aside first), and if
you have already built ices, then just type "make" right there in the src
directory (otherwise just go through the usual install process). this will
create a new "ices" executable in the src directory. just copy that over
your old one and it should fix the repeating one song over and over problem.
if you are not using version 0.0.1.beta5, then make a backup copy of
stream.c and then bring stream.c up in your favorite editor.
early in the file is the function "ices_stream_loop". this function is the
problem, once it has finished streaming a complete playlist (one song in the
case of otto), it repeats.
find the first and only while statement in "ices_stream_loop" function and
change it from this:
while (1) {
to this:
/*while (1)*/ {
note that i have have not commented out the opening "{", that has to stay.
now find the only continue statement in that function (and the only one in
the file, actually), and change it from this:
continue;
to this:
/*continue;*/ return;
then either type "make" right there in the src directory (if you have built
this copy of ices before), or do the usual configuration/install process (if
not). take the resulting ices executable from the src directory and put it
where ever you have configured otto to find it (/usr/local/icecast/bin/ices
is the default). that should do it!
good luck!
cheers,
jon ferguson
----- Original Message -----
From: <ad...@ny...>
To: <ott...@li...>
Sent: Thursday, December 07, 2000 8:20 AM
Subject: [Otto-users] Ices repeating
> Hi,
>
> i've got a problem with the ices stream.c file,
> therefor, i believe, the stream keeps repeating, and doesn't stop after
one song,
> but keeps repeating the same song over and over again,
>
> i can't patch it, or perhaps i'm doing something wrong, i don't know.
>
> can someone please send met the patched stream.c file from ices.
> or atleast explain me how to do it?
>
> kind regards,
>
> Koen
>
>
>
> _______________________________________________
> Otto-users mailing list
> Ott...@li...
> http://lists.sourceforge.net/mailman/listinfo/otto-users
>
|