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 

Howto add additional commands to icecast xsl files?

 
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: Wed Mar 22, 2006 11:54 pm    Post subject: Howto add additional commands to icecast xsl files? Reply with quote

At the moment it is possible to do several things webbased, move listener, kill listener or kill source. When you select the kill source button, you see a link to.....killsource.xsl?mount=.... But where can I find that file? How do I change this file or command?

I'd like to start and stop the source client webbased. I use darkice as sourceclient for live streaming via the soundcard. Because we broadcast only some hours a week and record the stream, I don't want to let it stream the whole time.

On the commandline I can start darkice with:
darkice -c usr/local/etc/darkice.cfg &

and stop with:
pkill darkice

But it would be much nicer to do this also webbased. How can I add another button and command to the standard xsl file so I can start the sourceclient?

Or is there another way or application to do this? I choose for darkice because we want MP3 streaming from a soundcard source. Darksnow is not an option, then we stil have to do the changes on the linuxserver.

I hope someone can help me.

Kind regards, Marc
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Mar 23, 2006 4:20 pm    Post subject: Reply with quote

You can't just add an xsl file to get some icecast command functionality, it needs some internal changes as well. If you want to start a source client, then you have to decide what the trigger is, you could do this via a manual startup via a web page to some php for instance, the other way is automatically when someone selects the stream. The latter case would require some clever backend handling hooked in via the auth url handler to check if the stream is running and start a source client before accepting the listener.

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