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 

Playback intro-file

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



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Fri Jul 10, 2015 8:47 am    Post subject: Playback intro-file Reply with quote

Hi there,

is there any possibility in Icecast 2.4.0 to update the internal cache of icecast, if a intro-file is updated? I do not want to HUP the icecast every time i have to update the intro-file

Kind regards

Johnny
_________________
Icecast 2.4.0 (debian)
and
icecast 2.3.2-kh32 (debian)

shoutcast 1.9.5 (debian)
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Jul 16, 2015 11:11 pm    Post subject: Reply with quote

If you modifiy the existing file then you should be ok, a delete and recreate won't do it. There was no admin function to trigger a re-open of the intro specifically. The only other runtime mechanism (beside a reload) is a restarting of the stream.

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



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Tue Jul 21, 2015 6:48 am    Post subject: Reply with quote

Hi karl,

thank you for your notice.

Unfortunately it did not work, if I replaced the introfile with another (same file-name). There seems to be a caching-mechanism.

Even, when no connections are connected to the mountpoint with the intro-file, a new connection will get the "old" intro.

As soon as I HUP the icecast, the new intro file will be played.

If you do not have any further ideas for solving this without HUPPING, then i have to bite the bullet.
_________________
Icecast 2.4.0 (debian)
and
icecast 2.3.2-kh32 (debian)

shoutcast 1.9.5 (debian)
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Aug 01, 2015 5:39 pm    Post subject: Reply with quote

The only caching is with the open file handle, maybe with libc as well. I'd need to check into the specifics of the intro to see if an admin command can be done to trigger it.

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