| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Fri May 05, 2006 5:41 pm Post subject: need help |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 05, 2006 6:12 pm Post subject: |
|
|
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 |
|
 |
|