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 

time Based Falback

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



Joined: 02 Oct 2012
Posts: 1
Location: Lincoln, NE

PostPosted: Wed Oct 03, 2012 1:20 am    Post subject: time Based Falback Reply with quote

Hello:

I will be working with an organization this weekend to live stream their event. I have the Icecast server setup and tested. I've configured a fallback mount that I would like to play one file during times when we are not actively streaming (this will announce when we will be live), and a different file when we're streaming, but our connection dropped for some reason.

I was looking for an automated solution to swap the file that is served as the fallback mount. Using cron, I would have it "flip" between the "we're offline" and "technical difficulties" files; setting up a job to cp the right file into /fallback.mp3 a couple minutes before we were done for the day.

Is there a better way to do this? Does anyone know of a better way to change the content of the fallback?

Thanks,
Tony
Back to top
View user's profile Send private message AIM Address
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Oct 03, 2012 2:08 am    Post subject: Reply with quote

you should be able to change the xml and reload it, eg via the HUP signal. Overwriting the fallback file may not be a reliable way to handle it but possible.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
robertut



Joined: 31 Aug 2007
Posts: 156

PostPosted: Wed Oct 03, 2012 11:24 am    Post subject: Reply with quote

I would just overwrite the XML with a new config pointing to the new file and hit reload.
Back to top
View user's profile Send private message
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