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 

Signal to re-read icecast.xml

 
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: Sat Feb 11, 2006 3:47 pm    Post subject: Signal to re-read icecast.xml Reply with quote

Is there a signal that I can send to icecast2 that will force it to re-read icecast.xml? The fallback mount on one of my mounts is a static mp3 file, which is actually a soft-link to another mp3 that I change on the fly. However, once icecast reads the original mp3 file, it never goes back and re-loads the mp3 which may now be soft-linked to another file.

So I thought that if there were a way to signal icecast to re-read the .xml, I could get it to pick up a new mp3 that the fallback mount is linked to.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Feb 11, 2006 6:21 pm    Post subject: Reply with quote

SIGHUP should allow for changes to fallback, applies to intro filename changes as well.

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





PostPosted: Sat Feb 11, 2006 11:45 pm    Post subject: Reply with quote

Hmm .. doesn't seem to have the desired effect.

I have:
<fallback-mount>/Track30.mp3</fallback-mount>
<fallback-override>1</fallback-override>

where Track30.mp3 is symlinked to voice1.mp3

I broke the symlink to voice1.mp3 and created a new link to voice2.mp3

I then issued a kill -SIGHUP <pid> (to each of the icecast instances)

During the next fallback cycle, voice1.mp3 still was streamed. I guess it has a memory like an elephant!
Back to top
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