[icecast-dev] Why doesn't yp.icecast.org show my stream?

Dave Hayes dave at jetcafe.org
Tue Feb 19 16:01:43 PST 2002

Jack Moffitt <jack at xiph.org> writes:
> I assume the public flag is not set for that source.  I don't see it in
> there.

Ah ha! I think I found the problem. Remember my setup is:

 xmms -> darkice 0.7 -> relay icecast server -> main icecast server
                              +->to other networks

Darkice has:

  public = yes

So I check darkice:

    str = "\nx-audiocast-public: ";
    sink->write( str, strlen( str));
    str = getIsPublic() ? "yes" : "no";
    sink->write( str, strlen( str));

and then icecast:
   else if (ice_strncmp(command, "x-audiocast-public", 18) == 0)
         source->audiocast.public = atoi (arg);

So icecast expects "1" or "0" while darkice writes "yes" or "no". 
I'll patch darkice right quick to verify.
Dave Hayes - Consultant - Altadena CA, USA - dave at jetcafe.org 
>>> The opinions expressed above are entirely my own <<<

If your own vice happens to be the search for virtue,
                             recognize that it is so.

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast-dev mailing list