PDA

View Full Version : Smaller easier to read sc_server.ini


TIRS-TheGimp
9th June 2005, 08:05
Does it exsist? i tried making one but when i tested it i got a error:
<06/09/05@02:01:12> [main] opening client socket
<06/09/05@02:01:12> [main] error opening client socket! FATAL ERROR! Some other process is using this port!
<06/09/05@02:01:12> [source] creating relay socket
<06/09/05@02:01:12> [source] error creating relay socket! FATAL ERROR!
all the info i have on the shorter one i am trying to make is the same as i got on the huge one and it works fine. Did i miss anything?? (not the same info that i use for my own reasons:) but is the default stuff) plus is this the way it suppose to work/look? any help would help

MaxUser=32;
Password=password;
PortBase=8000;
LogFile=sc_serv.log;
RealTime=1;
ScreenLog=1;
ShowLastSongs=10;
TchLog=yes;
WebLog=no;
W3CEnable=Yes;
W3CLog=sc_w3c.log;
SrcIP=ANY;
DestIP=ANY;
Yport=80;
NameLookups=0;
RelayPort=8000;
RelayServer=192.168.1.58;
AdminPassword=adminpass;
AutoDumpUsers=0;
AutoDumpSourceTime=30;
ContentDir=./content;
IntroFile=c:\intro%d.mp3;
BackupFile=C:\intro%d.mp3;
TitleFormat=Justin Radio: %s;
URLFormat=http://www.server.com/redirect.cgi?url=%s;
PublicServer=default;
AllowRelay=Yes;
AllowPublicRelay=Yes;
MetaInterval=8192;
ListenerTimer=600;
BanFile=sc_serv.ban;
RipFile=sc_serv.rip;
RIPOnly=No;
Unique=my_server;
Include=/usr/local/shoutcast/common.conf;
CpuCount=1;
Sleep=833;
CleanXML=No;

NJK
9th June 2005, 08:53
Originally posted by TIRS-TheGimp

all the info i have on the shorter one i am trying to make is the same as i got on the huge one and it works fine. Did i miss anything??


yep you missed the shoutcast disclaimer

http://www.shoutcast.com/disclaimer.phtml

Wavestreaming
9th June 2005, 09:43
Yep that is fine. Your problem lies on 'PortBase=8000;' as the DNAS has told you, something else is using the port already. Try changing it...

TIRS-TheGimp
9th June 2005, 18:15
i did still doesnt work, and whats the deal with the disclaimer? read it and i aint doing anything wrong. and like i said all the info on the huge confusing one nullsoft porvides i got on the smaller on but the smaller one doesnt work and the huge one does.

NJK
9th June 2005, 18:29
What i meant was that you cannot write your own software to use for shoutcasting since it isn't open source software.

perhaps i didn't understand your question in the way you meant it to be?

TIRS-TheGimp
9th June 2005, 18:35
ah lol,ok well i aint writing my own software, i am trying to make the SHOUTcast sc_server.ini just easier to read for me for quick changes. and the question was am i missing anything EX: Yport=80; or something like that

NJK
9th June 2005, 18:41
the sc_server.ini is a lot easier to read if you open it in winpad32 or wordpad instead of notepad.

TIRS-TheGimp
9th June 2005, 18:44
ah well i think i am going to delete this topic in a lil bit cause i found one thats easier to read in notepad (cause notepad is l337, lol) and it works, thanks for the help though

NJK
9th June 2005, 18:47
Originally posted by TIRS-TheGimp
ah well i think i am going to delete this topic in a lil bit cause i found one thats easier to read in notepad (cause notepad is l337, lol) and it works, thanks for the help though

you can't delete anything , you can however ask a moderator to close the topic.

TIRS-TheGimp
9th June 2005, 18:48
yeah i noticed that lol

djSpinnerCee
9th June 2005, 18:55
Basically, once you get it right, the only options that need to appear in the file are the ones that are not the default.

It's really not a big issue either way, because the file is only read by the DNAS when the DNAS loads... I would say that the readability is far better in the verbose form, especially if you intend on making any changes to the config later.

The settings on your text editor (notepad/WordPad) have more to do with how easy it is to modify than the contents (text) of the config file if you ask me.

Jay
9th June 2005, 19:47
remove the simi-colons from the end of the lines, it isn't a programming language ;)