Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

need help

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Fri May 05, 2006 5:41 pm    Post subject: need help Reply with quote

Hi,

1) source connect to /live.ogg (dj)
2)if no show on /live.ogg , it ends and go fallback /tallinn.ogg (default jukebox)
3)So, it works all perfectly. But I want to use IRC script that takes Current Song: info only first mountpoint and if there is no live show on air it is just emty.
Is there any solution to make first maountpoint visible only when /live.ogg (dj) connected on it? Else it shows second mountpoint by default.

Code:
<mount>
        <mount-name>/live.ogg</mount-name>
        <max-listeners>5</max-listeners>
        <password>liveonpesa</password>
        <intro>pesaraadio3.ogg</intro>
        <dump-file>pesaraadio3.ogg</dump-file>
        <burst-size>65536</burst-size>
        <fallback-mount>/tallinn.ogg</fallback-mount>
        <fallback-override>1</fallback-override>
        <fallback-when-full>1</fallback-when-full>
        <hidden>0</hidden>
        <no-yp>0</no-yp>
        <authentication type="htpasswd">
                <option name="filename" value="/usr/home/icecast/users.xml"/>
                <option name="allow_duplicate_users" value="0"/>
        </authentication>
        <on-connect>/home/icecast/bin/stream-start</on-connect>
        <on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
    </mount>
<mount>
        <mount-name>/tallinn.ogg</mount-name>
        <password>tallinnonpesa</password>
        <max-listeners>5</max-listeners>
        <intro>pesaraadio3.ogg</intro>
        <dump-file>pesaraadio3.ogg</dump-file>
        <burst-size>65536</burst-size>
        <hidden>0</hidden>
        <on-connect>/home/icecast/bin/stream-start</on-connect>
        <on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
    </mount>
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri May 05, 2006 6:12 pm    Post subject: Reply with quote

The stats for a fallback mount don't propagate to other mountpoints so your script could just query an xsl/xml page for the /live.ogg stats and use those

BTW I would recheck the other options in your mounts, eg dump-file.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber