[Icecast] Switch back to mount after fallback

Geoff Shang geoff at QuiteLikely.com
Fri May 25 20:25:00 UTC 2007


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/
_______________________________________________
Icecast mailing list
Icecast at xiph.org
http://lists.xiph.org/mailman/listinfo/icecast 




More information about the Icecast mailing list