[Icecast] Switch back to mount after fallback
Claus Malter
debian at sprayen.de
Sat May 26 07:38:40 UTC 2007
Thank you Geoff,
i've set the debug level to 4 and analyzed the error.log. The solution
is quite simple. Sorry that i've bother the list for.
The two streams had two different formats. The fallback works, but the
re-fallback doesn't. I've explicitly defined two mp3 streams. And now it
works.
Claus
Geoff Shang wrote:
> Hi,
>
> It's not necessary to have a <mount> section for your fallback mount, unless
> you need other mount-specific stuff like different passwords, etc.
>
> Nevertheless, it should work as you desire. Is there anything in your error
> log when you reconnect your main stream that might explain why the listeners
> aren't being moved?
>
> Geoff.
>
> ----- Original Message -----
> From: "Claus Malter" <debian at sprayen.de>
> To: <icecast at xiph.org>
> Sent: Friday, May 25, 2007 7:50 PM
> Subject: Re: [Icecast] Switch back to mount after fallback
>
>
> Hi Geoff,
>
> Geoff Shang wrote:
>> Hi,
>>
>> That's what fallback-override is meant to do. Are you saying that it's not
>> working for you?
>
> Not working. But what is wrong? I've added the second mount to
> icecast.xml and tested whether it switch back to the original mount
> point. The mount part of icecast.xml:
>
> <mount>
> <mount-name>/gast.ogg</mount-name>
> <fallback-mount>/offline.ogg</fallback-mount>
> <fallback-override>1</fallback-override>
> </mount>
> <mount>
> <mount-name>/offline.ogg</mount-name>
> </mount>
>
> Where gast.ogg is the main stream. When gast.ogg comes back it should
> switch back from offline.ogg to gast.ogg.
>
> Claus
>
>
>> Geoff.
>
> Claus
>
>> ----- Original Message -----
>> From: "Claus Malter" <debian at sprayen.de>
>> To: <icecast at xiph.org>
>> Sent: Friday, May 25, 2007 6:22 PM
>> Subject: [Icecast] Switch back to mount after fallback
>>
>>
>> Hello icecast user,
>>
>> That's my first post to this list, because everything works fine :) But
>> now I'm missing a feature and I'm not sure if it is possible to realise.
>>
>> I have two mounts. Only one defined in the configuration:
>>
>> <mount>
>> <mount-name>/gast.ogg</mount-name>
>> <fallback-mount>/offline.ogg</fallback-mount>
>> <fallback-override>1</fallback-override>
>> </mount>
>>
>> If gast.ogg goes offline it fallback to offline.ogg. Works fine.
>>
>> But now I'm interested in switching back to gast.ogg when it comes back
>> again. I've seen that I can move clients from one mount point to the
>> other by using the web-interface. But I want it done automatically.
>>
>> Is that possible by any way?
>>
>> Thank you in advance.
>>
>> Kind regards,
>>
>> Claus
>>
>
--
Claus Malter <debian sprayen dot de>
GnuPG-ID: 0x08B86210 http://wwwkeys.de.pgp.net
Blog: http://claus.freakempire.de/
More information about the Icecast
mailing list