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 

how to modify mountpoint config on line

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



Joined: 16 Oct 2008
Posts: 6

PostPosted: Thu Oct 16, 2008 9:34 am    Post subject: how to modify mountpoint config on line Reply with quote

i want to know how to modify on line the configuration of mountpoint (by the admin interface for example)
because if i modify icecast.xml i have to to stop and to restart the server
in order to reload the new config of mountpoint

i have the same problem with the config of relay

thanks you very much

________
vaporizer pipe


Last edited by doudou on Fri Feb 04, 2011 5:06 am; edited 2 times in total
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 Oct 16, 2008 1:05 pm    Post subject: Reply with quote

not via the admin interface, but you can update the xml and send a HUP signal to trigger a reload of the xml.

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



Joined: 16 Oct 2008
Posts: 6

PostPosted: Thu Oct 16, 2008 1:20 pm    Post subject: update the icecas.xml by sending a HUP signal Reply with quote

karl thanks you for your answer

but how do you send a HUP signal to trigger a reload of the xml



thanks

________
headshop


Last edited by doudou on Fri Feb 04, 2011 5:06 am; edited 2 times in total
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 Oct 16, 2008 4:01 pm    Post subject: Reply with quote

A simple approach is to kill -HUP <pid of icecast>. I am looking at merging the reload trigger by /admin.request that I have in -kh, at least then people on windows will have that option as well.

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



Joined: 16 Oct 2008
Posts: 6

PostPosted: Fri Oct 17, 2008 9:25 am    Post subject: kill pid of icecast Reply with quote

hello karl

if you kill the pid of icecast
all listeners are deconnected ?
in my case of webradio it's impossible

second point on win32 , as you say , there is a possibility &quot;/admin.request&quot;
can you explain me

thanks very much

________
hashish


Last edited by doudou on Fri Feb 04, 2011 5:06 am; edited 2 times in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 17, 2008 12:28 pm    Post subject: Reply with quote

When you tell icecast to reload the the xml then it won't drop any listeners unless you make changes to the xml that indirectly drop listeners. An example of that is if you remove a relay section from the xml, which would shut down that stream and any listeners on it would either fall back or be disconnected.

The 2.3.2 release does not contain any /admin request for doing what HUP does but I do have something in my tree (kh2 latest) which will trigger a reload of the xml (admin page has a link). This hasn't been merged yet but is on my list of things to do.

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



Joined: 16 Oct 2008
Posts: 6

PostPosted: Fri Oct 17, 2008 1:09 pm    Post subject: date of new version Reply with quote

if i understand when you do a kill -HUP on the pid of icecast the icecast.xml is reload and the pid is not killed (it 's a solution)

you said that you hasn't been merged yet but is on your list of things to do.

when do you think this next version will be available ?

approximatly? days, weeks? months ?


thanks you very much karl

________
Dodge 440 history


Last edited by doudou on Fri Feb 04, 2011 5:06 am; edited 2 times in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 17, 2008 2:23 pm    Post subject: Reply with quote

kill is the command to send a signal. for icecast, HUP is for reload.

I've no idea when the next version will be yet. There's a few things that I want to merge but I need to get some time to do that. In the meantime if you really need it then you can get my branch work.

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



Joined: 16 Oct 2008
Posts: 6

PostPosted: Mon Oct 20, 2008 7:52 am    Post subject: Reply with quote

Hello karl
for my project I need to execute an http command like
http://192.168.1.10:8000/admin/listclients?mount=/mystream.ogg
(which list all listeners of a mount point), so with this new command I would like to reload the icecast.xml

if you have a version of icecast which can execute this command I will be interested

thanks you very much for your help
________
Mazda M5 transmission


Last edited by doudou on Fri Feb 04, 2011 5:06 am; edited 2 times in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Oct 20, 2008 1:02 pm    Post subject: Reply with quote

As already mentioned, I have this in my branch work already and the url link to trigger the reload is on the admin page. It's not in the trunk codebase yet.

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