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 

Icecast mount of a file that loops

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



Joined: 14 Nov 2009
Posts: 32

PostPosted: Tue Jan 25, 2011 10:02 pm    Post subject: Icecast mount of a file that loops Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 25, 2011 10:16 pm    Post subject: Reply with quote

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
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