RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
Phantium



PostPosted: Fri Mar 21, 2008 7:00 pm    Post subject: IceCast 2 Multiple mount support Reply with quote

Anyway you guys could build this in?
So you can set passwords for use with multiple mounts?
Instead of having to edit the config manually and adding them...

Perhaps you could allow us users to add our own variables for config files? This way they would show up in the configuration tab and we could simply do this ourselves.

Thanks.
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Kybber



PostPosted: Fri Mar 21, 2008 9:01 pm    Post subject: Reply with quote

You can already do that. Go to Game->Icecast 2->Properties to add more
properties that you can define via the UI. You can then edit the configuration
files to use the properties instead of the hard-coded values by embedding the
property name in '%': %property%. Take a look at a file and you'll see what
I mean.

This works wonderfully, and I've been exploiting it for a couple of years now.
It is a quite powerful system since it allows you to "program" your config-files.
This is explained here: http://doc.gamecreate.com/ManualFileLanguage
Back to top
View user's profile Send private message
Steve
Mammoth


PostPosted: Tue Mar 25, 2008 3:53 pm    Post subject: Reply with quote

As Kybber mentioned, you can add your own properties within GameCreate.



Quote:
Property Substitution is the process of taking the values selected for Properties and placing them into configuration files. Each Property in GameCreate has a variable name that identifies the property: for example, a "Time Limit" property may have "timelimit" as its variable name. Configuration files will indicate where to insert the value of the Time Limit property by including the word "%timelimit%" (that is, the variable name surrounded by percentage signs) in the file. When the configuration file is written to a host's disk, "%timelimit%" will be replaced by the value for Time Limit selected in the server configuration area.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
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


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.