| View previous topic :: View next topic |
| Author |
Message |
rec91402
Joined: 14 Nov 2009 Posts: 32
|
Posted: Tue Jan 25, 2011 10:02 pm Post subject: Icecast mount of a file that loops |
|
|
Instead of stream being fed to IceCast I am looking for info on doing a mount that is a file lets say...
/<webroot>/somefile.mp3
Recorded in the SAME format and bit rate as all the streams
say MP3 at 16kbps or so...
What I am after to do is
using the on disconnect command
send the users to this file.
When the live stream reconnects it moves them back.
I am just not following how to setup a file as a mount that LOOPS.. ie: when its EOF it starts at the beginning of the file again.
| Code: |
<mount>
<mount-name>/mount1</mount-name>
<fallback-mount>/fallbackmount</fallback-mount>
<on-disconnect>/usr/local/etc/feeddown6.sh</on-disconnect>
<fallback-override>1</fallback-override>
</mount>
|
This should be changed to:
| Code: |
<mount>
<mount-name>/mount1</mount-name>
<fallback-mount>somefile.mp3</fallback-mount>
<on-disconnect>/usr/local/etc/feeddown6.sh</on-disconnect>
<fallback-override>1</fallback-override>
</mount>
|
Is this correct? Will that file repeat on its own?
OR does this file have to be some length that would exceed the length of a possible outage.. ie: 1 hour ?
Thanks! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 25, 2011 10:16 pm Post subject: |
|
|
wrong option, use
...
<mount-name>/stream</mount-name>
<fallback-mount>/thefile.mp3</fallback-mount>
<fallback-override>1</fallback-override>
..
that should repeat.
karl. |
|
| Back to top |
|
 |
|