| View previous topic :: View next topic |
| Author |
Message |
doudou
Joined: 16 Oct 2008 Posts: 6
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Oct 16, 2008 1:05 pm Post subject: |
|
|
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 |
|
 |
doudou
Joined: 16 Oct 2008 Posts: 6
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Oct 16, 2008 4:01 pm Post subject: |
|
|
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 |
|
 |
doudou
Joined: 16 Oct 2008 Posts: 6
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 17, 2008 12:28 pm Post subject: |
|
|
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 |
|
 |
doudou
Joined: 16 Oct 2008 Posts: 6
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 17, 2008 2:23 pm Post subject: |
|
|
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 |
|
 |
doudou
Joined: 16 Oct 2008 Posts: 6
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 20, 2008 1:02 pm Post subject: |
|
|
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 |
|
 |
|