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 

Ices v0.4 multiple instances with Perl playlist

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Mon Apr 02, 2007 5:32 pm    Post subject: Ices v0.4 multiple instances with Perl playlist Reply with quote

Is it possible to define the perl playlist script manually?

Currently when I run two instances of ices with perl playlist script both will execute the perl script located at /usr/local/etc/modules/ices.pm, but in the perl script its impossible to make a difference between both instances.

I need to be able to some how pass a variable to the perl script or define a different perl script for each instance of Ices.

At the moment I have two instances which both stream the exact same music Sad
Back to top
Anonymous
Guest





PostPosted: Wed Apr 04, 2007 4:19 pm    Post subject: Reply with quote

Found the solution. With -M you can define the playlist script.

For example:

/usr/local/bin/ices -c /usr/local/etc/vn.reggae.xml -M reggae
/usr/local/bin/ices -c /usr/local/etc/vn.pop.xml -M pop

First example uses the perl script /usr/local/etc/modules/reggae.pm and second example /usr/local/etc/modules/pop.pm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients 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