Old 2nd July 2010, 03:32   #121
affordableweb
Junior Member
 
Join Date: Jul 2010
Posts: 1
Docs.txt isn't very helpful at all

Quote:
Originally Posted by dream4u View Post
which one do you mean? There's nothing to install just extract, make your settings in the config files and start the application. Read the doc.txt
I must say that the install on this is not so straight forward and the documentation is non existent. I realize us n00bs probably bother the high and mighties in here but setting this up is a real headache and one would expect just a tad more from such a large company and an even larger wait time.

I think this version has been in the works for years now and to be honest it's half arse at best when you consider there are NO INSTRUCTIONS for the average user to understand. The config file you speak of has to be copied from here in the forums and even still it is hard to sort out.

As an example of the shoddy support being offered this very topics runs back to February and still now in June there are no additional help docs or config files being offered in the actual download. We are not all server gurus and developers with intimate knowledge of all the systems and possible options.

I run a dedicated CentOS server. In the past I ran Shoutcast as Root because that was the only way I could get it to run. Now we are being told not to run as root. It will not run for me. Yes, I chmod the files. yes I created or should I say copied the config from here in this topic, and have it where it should work but still I get DENIED when I try to run the scrip using command line ./sc_serv

I wouldn't blame this on AOL because they have been dead for a decade now but I would expect a bit more from the Shoutcast team when you consider how long they have had to perfect it.

I would love to test it but first I need to understand how to install and run it properly. Anyone got better documentation or a clue as to how some n00bs can get on board with Shoutcast 2?
affordableweb is offline  
Old 2nd July 2010, 07:33   #122
couch-potato
Senior Member
 
couch-potato's Avatar
 
Join Date: Feb 2002
Location: mother earth
Posts: 100
Quote:
Originally Posted by affordableweb View Post
I must say that the install on this is not so straight forward and the documentation is non existent. I realize us n00bs probably bother the high and mighties in here but setting this up is a real headache and one would expect just a tad more from such a large company and an even larger wait time.

I think this version has been in the works for years now and to be honest it's half arse at best when you consider there are NO INSTRUCTIONS for the average user to understand. The config file you speak of has to be copied from here in the forums and even still it is hard to sort out.

As an example of the shoddy support being offered this very topics runs back to February and still now in June there are no additional help docs or config files being offered in the actual download. We are not all server gurus and developers with intimate knowledge of all the systems and possible options.

I run a dedicated CentOS server. In the past I ran Shoutcast as Root because that was the only way I could get it to run. Now we are being told not to run as root. It will not run for me. Yes, I chmod the files. yes I created or should I say copied the config from here in this topic, and have it where it should work but still I get DENIED when I try to run the scrip using command line ./sc_serv

I wouldn't blame this on AOL because they have been dead for a decade now but I would expect a bit more from the Shoutcast team when you consider how long they have had to perfect it.

I would love to test it but first I need to understand how to install and run it properly. Anyone got better documentation or a clue as to how some n00bs can get on board with Shoutcast 2?
Even a geek like me is having issues and I agree the documentation is a bit weak. but on the other side - Shoutcast2 is still in beta, enough time to improve this a little bit
thumbs up
tom

##.:: www.lounge-radio.com ::.##
couch-potato is offline  
Old 4th July 2010, 17:49   #123
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
I've tried my best to edit the sc_serv beta file. Below is what I come up with. Now my question is
1. Where do I put the information that I have edited?

When I open up the sc_serv2drop/win32 folder and extract the files there is no config file.

sc_serv2
portbase=8000
password=<mypassword>
adminpassword=<mypassword>
publicserver=never
autosourcedumptime=60
maxuser=32
listnertime=0
autodumpusers=0



log=1
logfile=/tmp/sc_serv.log
screenlog=1
w3cenable=1
w3clog=/temp/sc_w3c.log
webclientdebug=1
yp1debug=1
yp2debug=1
shoutcastsourcedebug=1
uvox2sourcedebug=1
uvox3sourcedebug=1
uvox4sourcedebug=1
shoutcast1clientdebug=1
shoutcast2clientdebug=1
shoutcast3clientdebug=1
shoutcast4clientdebug=1
relayshoutcastdebug=1
relaydebug=1
streamdatadebug=1
httpstyledebug=0
statsdebug=0
microservdebug=1
threadrunnerdebug=0


flashpolicyfile=crossdomain.xml


buffertype=1
adaptivebuffersie=1
bufferhardlimits=16777216


metainterval=8192


uvoxcipherkey=foobar


namelookups=1



maxheaderlinesize=2048
maxheaderlinecount=100


yp2=0
ypaddr=yp.shoutcast.com
ypport=80
yppath=/yp2
yptimeout=60
ypmaxretries=13
ypreportinterval=300
ypminreportinterval=10


banfile=sc_serv.ban
savebanlistonexit=1


ripfile=sc_serv.rip
saveriplistonexit=1
riponly=0


srcip=
dstip=
titleformat=
urlformat=


introfile=
backupfile=
specialfiletmpdir=/tmp/
maxspecialfilesize=30000000


configrewrite=1
songhistory=20
cpucount=0
unique=$
include=


allowrelay=1
allowpublicrelay=1
relayreconnecttime=60
maxhttpredirects=7
relayport=
relayserver=


requirestreamconfigs=1



streamid_0=1
streamauthhash_0=abcd
streampath_0=/bitrate/96



streamid_1=2
streamauthhash_1=abcd
streampath_1=/bitrate/96



streamid_2=3
streamauthhash_2=abcd
streampath_2=/bitrate/96




streamid_3=4
streamauthhash_3=abcd
streampath_3=/bitrate/96
streamrelayurl_3=


Below is the sc_trans script. Please check the file and make any recommendations or corrections. Again when I extract the sc_trans/win32 there is no config file
Q.1 Where do I put the information I edited?




serverport_0=8000
serverport_1=8000
serverport_2=8000
serverport_3=8000

serverrip_0=www.server1.com
serverrip_1=www.server2.com
serverrip_2=www.server3.com
serverrip_3=www.server4.com


<or can I do the following:>


serverport_0=8000
serverport_1=80
serverport_2=8080
serverport_3=8000

serverrip_0=www.server1.com
serverrip_1=www.server2.com
serverrip_2=www.server3.com
serverrip_3=www.server4.com

///////////logging options

log=1
logfile=/tmp/sc_trans.log
screenlog=1
shuffledebug=0
shoutcastdebug=0
uvoxdebug=0
gaindebug=0
playlistdebug=0
mp3encdebug=0
mp3decdebug=0
resamplerdebug=0
rgcalcdebug=0
apidebug=0
calendardebug=0
capturedebug=0
djdebug=0
flashpolicyserverdebug=0
fileconverterdebug=0
sourcerelaydebug=0
sourceandpointmanagerdebug=0


/////////flash security

flashpolicyfile=crossdomain.xml
flashpolicyserver=843


////////metadata control

streamtitle=
streamurl=
genre=
aim=
irc=
icq=
public=0
usemetadata=1
metadatapattern=*/%N.*
displaymetadatapattern=%R[-]%A[-]%N


////////playlist control

playlistfile=
shuffle=1
xfade=9
xfadethreshhold=10
playlists=/export/home/friends/playlist
archive=/export/home/friends/playlist/archived/

//////multi options

playlistfilename_0=
playlistfilepath_0=

playlistfilename_1=
playlistfilepath_1=

playlistfilename_2=
playlistfilepath_2=

playlisfilename_3=
playlistfilepath_3=


/////////calendar events

calendarfile=calendar.xml
calendarrewrite=1



///////live capture

capture=1
capturedevice=
captureinput=
capturesamplerate=44100
capturechannels=2



///////dj support

djport=8080
djport2=80
djcipher=foobar
autodumpsourcetime=60
djbroadcasts=/home/hdc/uploads/recorded/
djcapture=1
djfilepattern=_year_month_day_hour_minute



///////dj multi support ( one set for each dj ) just example, of course will change password and login.

djpassword_0=noise
djlogin_0=dj A
djpriority_0=1


djpassword_1=noise
djlogin_1=dj B
djpriority_1=1


djpassword_2=noise
djlogin_2=dj C
djpriority_2=1


djpassword_3=noise
djlogin_3=dj D
djpriority_3=1




////////mp3 encoding enabled

unlockkeyname=
unlockkeycode=


///////encoder options (multi)


encoder_0=mp3
bitrate_0=96000
samplerate_0=44100
channels_0=2
aacbitstreanformat_0=0
mp3quality_0=1
mp3mode_0=1


encoder_1=mp3
bitrate_1=96000
samplerate_1=44100
channels_1=2
aacbitstreanformat_1=0
mp3quality_1=1
mp3mode_1=1


encoder_2=mp3
bitrate_2=96000
samplerate_2=44100
channels_2=2
aacbitstreanformat_2=0
mp3quality_2=1
mp3mode_2=1


encoder_3=mp3
bitrate_3=96000
samplerate_3=44100
channels_3=2
aacbitstreanformat_3=0
mp3quality_3=1
mp3mode_3=1


//////////network options ( multi )

endpointname_0=
outprotocol_0=1
servrip_0=
serverport_0=8010
password_0=foobar
uvoxstreamid_0=1
uvoxuserid_0=
uvoxauth_0=
uvoxradiometadata_0=
uvoxnewmetadata_0=1
uvoxmetadatafudgefactor_0=0.0 seconds
shoutcastmetadatafudgefactor_0=0.0 seconds


endpointname_1=
outprotocol_1=1
servrip_1=
serverport_1=8010
password_1=foobar
uvoxstreamid_1=1
uvoxuserid_1=
uvoxauth_1=
uvoxradiometadata_1=
uvoxnewmetadata_1=1
uvoxmetadatafudgefactor_1=0.0 seconds
shoutcastmetadatafudgefactor_1=0.0 seconds


endpointname_2=
outprotocol_2=1
servrip_2=
serverport_2=8010
password_2=foobar
uvoxstreamid_2=1
uvoxuserid_2=
uvoxauth_2=
uvoxradiometadata_2=
uvoxnewmetadata_2=1
uvoxmetadatafudgefactor_2=0.0 seconds
shoutcastmetadatafudgefactor_2=0.0 seconds


endpointname_3=
outprotocol_3=1
servrip_3=
serverport_3=8010
password_3=foobar
uvoxstreamid_3=1
uvoxuserid_3=
uvoxauth_3=
uvoxradiometadata_3=
uvoxnewmetadata_3=1
uvoxmetadatafudgefactor_3=0.0 seconds
shoutcastmetadatafudgefactor_3=0.0 seconds




///////replay gain control

applyreplaygain=0
defaultreplaygain=0.0
djreplaygain=0.0
capturereplaygain=0
replaygaintmpdir=%TMP%
replaygainrunahead=2
replaygaindontwrite=0
enhancereplaygain=6.0


////other

adminport=8000
adminuser=<my password>
adminpassword=<my password>
vuimagedirectory=""
vuimagesuffix=jpg
vuimagesuffix=bmp
vuimagesuffix=png
vuimagesuffix=tif
vuimagemimetype=image/jpeg
vuimagemimetype=image/bmp
vuimagemimetype=image/png
vuimagemimetype=image/tiff
configrewrite=0
serverbackupfile=
serverintrofile=


//////////admin weblet commands

quit=SIGKILL
rotatelogs=SIGHUP
nextsong=SIGWINCH
loadplaylist=SIGUSR1
toggleshuffle=SIGUSR2
kickdj?duration=03:00:00
vumeterleft=
vumeterright=
restart=restart sc_trans
vu.bin=
timeshift?t=#
writecongig=


////////metadata support



///////filename metadata extraction

useMetadata=1
metadatapattern=*/%A/%R_%N
metadatapath=/home/nradisch/album/artist_song



//////Metadata Construction for Shoutcast 1

%R[-]%A[-]%N[-]%t[-]%u[-]%g


////////Playlist - see doc notes for setup if needed


///////DJ Informations - see doc notes for setup if needed


/////Setting up DJ's in the new scheme - see doc notes for setup if needed and change login, passwords, priority listed above


<?xml version="1.0" encoding="UTF-8" ?>

<eventlist>

<event type="dj">
<dj archive="0">dj A</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="09:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="1">dj B</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="12:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="2">dj C</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="15:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="3">dj D</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="18:00:00" duration="03:00:00" repeat="4" />
</event>

</eventlist>

////////dj passwords <of course passwords will be changed>

password=dj A:foobar
password=dj B:foobar
password=dj C:foobar
password=dj D:foobar
shakamedia is offline  
Old 5th July 2010, 12:45   #124
dream4u
Junior Member
 
Join Date: Jul 2010
Posts: 6
1. Where do I put the information that I have edited?

sc_serv2
....
Save for example as sc_serv2.conf

and start binary/sc_serv sc_serv2.conf

same for sc_trans

binary/sc_trans sc_trans2.conf

2 <or can I do the following:>

i think both options will work
dream4u is offline  
Old 5th July 2010, 20:05   #125
Busby
Senior Member
 
Busby's Avatar
 
Join Date: Apr 2004
Location: Isle of Man UK
Posts: 147
OMG this is a nightmare

What about all us 'normal' broadcasters who aren't 'geeks' - its way over my head!

I'll get there in the end...
www.1mix.co.uk

Last edited by Busby; 5th July 2010 at 20:06. Reason: Subscribe to thread
Busby is offline  
Old 6th July 2010, 16:00   #126
Greg_E
Major Dude
 
Join Date: Nov 2006
Location: USA
Posts: 1,687
All us normal people are waiting until the bugs are out and our encoders work with the new server before we make a move. My two streams are still running nicely on version 1.9x and I plan to keep it that way until everything I have is compatible and as stable as out stream has been since the day I built it many years ago. My current downtime from either a DNAS problem or an encoder problem is zero.

I might be willing to put up an internal test stream for DNAS v2 but not for a while since I have no encoders that will work with it.

Your mileage may vary!
Greg_E is offline  
Old 6th July 2010, 22:01   #127
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
Thanks, I am going to test it out later today.
shakamedia is offline  
Old 7th July 2010, 04:20   #128
magnum34r
Junior Member
 
Join Date: Jul 2010
Location: USA
Posts: 2
Send a message via AIM to magnum34r
alright, is there somewhere i can get the stable version and not the dang BETA!! cause the beta stinks
magnum34r is offline  
Old 7th July 2010, 07:10   #129
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
Before I start I got a few more questions.

Q. Does each pc I am running winamp on need the sc_serv2 and sc_trans installed? or can I use the older version on 3pcs and the new version on only 1?

Q. Do I need to run both the binary/sc_serv sc_serv2.conf and the binary/sc_trans sc_trans2.conf at the same time? If yes, do both files need to be running on all 4 pc`s at the same time?

I can understand the path for binary/sc_serv sc_serv2, but the binary/sc_trans sc_trans2 I can't quite understand that one because in the old version of shoutcast there is no sc_trans file at least I don't recall using that one. Would I need to create that file as well and would the contents be the same as the sc_trans2?

Q. Shouldn't the DJ's schedule script be stored in the calendar.xml file?
shakamedia is offline  
Old 7th July 2010, 09:49   #130
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
1. Depends on your setup
2. Depends on your setup
2.1 should sc_trans2 be the same as sc_trans2??? it IS the same
3. What is a DJ schedule script?

Is it just me or are shoutcast users getting dumber?
jaromanda is offline  
Old 7th July 2010, 09:51   #131
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by magnum34r View Post
alright, is there somewhere i can get the stable version and not the dang BETA!! cause the beta stinks
I've seen posts with links somewhere here ... sorry, someone else will surely be able to search for it

Is it just me or are shoutcast users getting dumber?
jaromanda is offline  
Old 7th July 2010, 15:57   #132
geniegate
Junior Member
 
Join Date: May 2008
Posts: 34
I really, Really hope you're not dropping support for the older one.

What about FreeBSD? Not everyone is using windows or linux, freebsd has been an exceptional platform for server-level stuff. I really don't want to install linux compatibility just to run sc_serv...

Any plans on making the source code available so that folks like me can just compile it for their platform? I realize there are some issues with people faking a userID, but couldn't this be handled in some other manner?

Your program is the only thing I run w/out source availability and I really had to think about it for awhile before going with shoutcast as opposed to XYZ-cast.

If you absolutely won't make source available, do you need someone to compile a FreeBSD version for you?
geniegate is offline  
Old 7th July 2010, 19:12   #133
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
I call this portion the dj schedule script because its written xhtml.

<?xml version="1.0" encoding="UTF-8" ?>

<eventlist>

<event type="dj">
<dj archive="0">dj A</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="09:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="1">dj B</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="12:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="2">dj C</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="15:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="3">dj D</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="18:00:00" duration="03:00:00" repeat="4" />
</event>

</eventlist>
shakamedia is offline  
Old 8th July 2010, 11:06   #134
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
PC1 <my ip>:8080 (connected to shoucast source for 3 days) listed in directory
PC2 <my ip>:8000 (connected to shoutcast source for 13+ hrs.) not listed in directory
PC3 <my ip>:80 (connected to shoutcast source for 3+hrs.) not listed in directory
PC4 comig soon

How does pc2 and pc3 get listed in the shoutcast directory?
shakamedia is offline  
Old 8th July 2010, 20:15   #135
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
I need the answer to the questions so I can figure out whats going on?
shakamedia is offline  
Old 10th July 2010, 03:50   #136
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
Here is my latest attemp. I think one problem is that I don't know how to start the binary/sc_serv sc_serv2.conf and binary/sc_trans sc_trans2.conf files.

sc_serv.conf

code:
portbase=8000
password=changeme
adminpassword=changeme
publicserver=never
autosourcedumptime=60
maxuser=32
listnertime=0
autodumpusers=0



log=1
logfile=E:/Program Files/Shoutcast/OldShoutcastServer/tmp/sc_serv.log
screenlog=1
w3cenable=1
w3clog=E:/Program Files/Shoutcast/OldShoutcastServer/temp/sc_w3c.log
webclientdebug=1
yp1debug=1
yp2debug=1
shoutcastsourcedebug=1
uvox2sourcedebug=1
uvox3sourcedebug=1
uvox4sourcedebug=1
shoutcast1clientdebug=1
shoutcast2clientdebug=1
shoutcast3clientdebug=1
shoutcast4clientdebug=1
relayshoutcastdebug=1
relaydebug=1
streamdatadebug=1
httpstyledebug=0
statsdebug=0
microservdebug=1
threadrunnerdebug=0


flashpolicyfile=E:/Program Files/Shoutcast/OldShoutcastServer/sc_trans drop 02_22_2010/crossdomain.xml


buffertype=1
adaptivebuffersie=1
bufferhardlimits=16777216


metainterval=8192


uvoxcipherkey=foobar


namelookups=1



maxheaderlinesize=2048
maxheaderlinecount=100


yp2=0
ypaddr=yp.shoutcast.com
ypport=80
yppath=/yp2
yptimeout=60
ypmaxretries=13
ypreportinterval=300
ypminreportinterval=10


banfile=E:/Program Files/Shoutcast/OldShoutcastServer/sc_serv.ban
savebanlistonexit=1


ripfile=E:/Program Files/Shoutcast/OldShoutcastServer/sc_serv.rip
saveriplistonexit=1
riponly=0


srcip=
dstip=
titleformat=
urlformat=


introfile=
backupfile=
specialfiletmpdir=/tmp/
maxspecialfilesize=30000000


configrewrite=1
songhistory=20
cpucount=0
unique=$
include=


allowrelay=1
allowpublicrelay=1
relayreconnecttime=60
maxhttpredirects=7
relayport=
relayserver=


requirestreamconfigs=1



streamid_0=1
streamauthhash_0=abcd
streampath_0=/test0.mp3


streamid_1=2
streamauthhash_1=abcd
streampath_1=/test1.mp3



streamid_2=3
streamauthhash_2=abcd
streampath_2=/test2.mp3




streamid_3=4
streamauthhash_3=abcd
streampath_3=/test3.mp3
streamrelayurl_3=




sc_trans.conf



serverport_0=8000
serverport_1=80
serverport_2=8080
serverport_3=8000

serverrip_0=127.0.0.1
serverrip_1=127.0.0.1
serverrip_2=127.0.0.1
serverrip_3=127.0.0.1

///////////logging options

log=1
logfile=E:/Program Files/Shoutcast/OldShoutcastServer/sc_trans drop 02_22_2010/tmp/sc_trans.log
screenlog=1
shuffledebug=0
shoutcastdebug=0
uvoxdebug=0
gaindebug=0
playlistdebug=0
mp3encdebug=0
mp3decdebug=0
resamplerdebug=0
rgcalcdebug=0
apidebug=0
calendardebug=0
capturedebug=0
djdebug=0
flashpolicyserverdebug=0
fileconverterdebug=0
sourcerelaydebug=0
sourceandpointmanagerdebug=0


/////////flash security

flashpolicyfile=E:/Program Files/Shoutcast/OldShoutcastServer/sc_trans drop 02_22_2010/crossdomain.xml
flashpolicyserver=843


////////metadata control

streamtitle=
streamurl=
genre=
aim=
irc=
icq=
public=0
usemetadata=1
metadatapattern=*/%N.*
displaymetadatapattern=%R[-]%A[-]%N


////////playlist control

playlistfile=
shuffle=1
xfade=9
xfadethreshhold=10
playlists=/export/home/friends/playlist
archive=/export/home/friends/playlist/archived/

//////multi options

playlistfilename_0=
playlistfilepath_0=

playlistfilename_1=
playlistfilepath_1=

playlistfilename_2=
playlistfilepath_2=

playlisfilename_3=
playlistfilepath_3=


/////////calendar events

calendarfile=E:/Program Files/Shoutcast/OldShoutcastServer/sc_trans drop 02_22_2010
calendar.xml
calendarrewrite=1



///////live capture

capture=1
capturedevice=
captureinput=
capturesamplerate=44100
capturechannels=2



///////dj support

djport=8080
djport2=80
djcipher=foobar
autodumpsourcetime=60
djbroadcasts=/home/hdc/uploads/recorded/
djcapture=1
djfilepattern=_year_month_day_hour_minute



///////dj multi support ( one set for each dj ) just example, of course will change password and login.

djpassword_0=noise
djlogin_0=dj A
djpriority_0=1


djpassword_1=noise
djlogin_1=dj B
djpriority_1=1


djpassword_2=noise
djlogin_2=dj C
djpriority_2=1


djpassword_3=noise
djlogin_3=dj D
djpriority_3=1




////////mp3 encoding enabled

unlockkeyname=
unlockkeycode=


///////encoder options (multi)


encoder_0=mp3
bitrate_0=96000
samplerate_0=44100
channels_0=2
aacbitstreamformat_0=0
mp3quality_0=1
mp3mode_0=1


encoder_1=mp3
bitrate_1=96000
samplerate_1=44100
channels_1=2
aacbitstreamformat_1=0
mp3quality_1=1
mp3mode_1=1


encoder_2=mp3
bitrate_2=96000
samplerate_2=44100
channels_2=2
aacbitstreamformat_2=0
mp3quality_2=1
mp3mode_2=1


encoder_3=mp3
bitrate_3=96000
samplerate_3=44100
channels_3=2
aacbitstreamformat_3=0
mp3quality_3=1
mp3mode_3=1


//////////network options ( multi )

endpointname_0=
outprotocol_0=1
servrip_0=127.0.0.1
serverport_0=8000
password_0=foobar
uvoxstreamid_0=1
uvoxuserid_0=
uvoxauth_0=
uvoxradiometadata_0=
uvoxnewmetadata_0=1
uvoxmetadatafudgefactor_0=0.0 seconds
shoutcastmetadatafudgefactor_0=0.0 seconds


endpointname_1=
outprotocol_1=1
servrip_1=127.0.0.1
serverport_1=80
password_1=foobar
uvoxstreamid_1=1
uvoxuserid_1=
uvoxauth_1=
uvoxradiometadata_1=
uvoxnewmetadata_1=1
uvoxmetadatafudgefactor_1=0.0 seconds
shoutcastmetadatafudgefactor_1=0.0 seconds


endpointname_2=
outprotocol_2=1
servrip_2=127.0.0.1
serverport_2=8080
password_2=foobar
uvoxstreamid_2=1
uvoxuserid_2=
uvoxauth_2=
uvoxradiometadata_2=
uvoxnewmetadata_2=1
uvoxmetadatafudgefactor_2=0.0 seconds
shoutcastmetadatafudgefactor_2=0.0 seconds


endpointname_3=
outprotocol_3=1
servrip_3=127.0.0.1
serverport_3=8000
password_3=foobar
uvoxstreamid_3=1
uvoxuserid_3=
uvoxauth_3=
uvoxradiometadata_3=
uvoxnewmetadata_3=1
uvoxmetadatafudgefactor_3=0.0 seconds
shoutcastmetadatafudgefactor_3=0.0 seconds




///////replay gain control

applyreplaygain=0
defaultreplaygain=0.0
djreplaygain=0.0
capturereplaygain=0
replaygaintmpdir=%TMP%
replaygainrunahead=2
replaygaindontwrite=0
enhancereplaygain=6.0


////other

adminport=8000
adminuser=admin
adminpassword=goaway
vuimagedirectory=E:/Program Files/Shoutcast/OldShoutcastServer/sc_trans drop 02_22_2010/vuimages/
vuimagesuffix=jpg
vuimagesuffix=bmp
vuimagesuffix=png
vuimagesuffix=tif
vuimagemimetype=image/jpeg
vuimagemimetype=image/bmp
vuimagemimetype=image/png
vuimagemimetype=image/tiff
configrewrite=0
serverbackupfile=
serverintrofile=


//////////admin weblet commands

quit=SIGKILL
rotatelogs=SIGHUP
nextsong=SIGWINCH
loadplaylist=SIGUSR1
toggleshuffle=SIGUSR2
kickdj?duration=03:00:00
vumeterleft=
vumeterright=
restart=restart sc_trans
vu.bin=
timeshift?t=#
writecongig=


////////metadata support



///////filename metadata extraction

useMetadata=1
metadatapattern=*/%A/%R_%N
metadatapath=/home/nradisch/album/artist_song



//////Metadata Construction for Shoutcast 1

%R[-]%A[-]%N[-]%t[-]%u[-]%g


////////Playlist - see doc notes for setup if needed


///////DJ Informations - see doc notes for setup if needed


/////Setting up DJ's in the new scheme - see doc notes for setup if needed and change login, passwords, priority listed above


<?xml version="1.0" encoding="UTF-8" ?>

<eventlist>

<event type="dj">
<dj archive="0">dj A</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="09:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="1">dj B</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="12:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="2">dj C</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="15:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="3">dj D</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="18:00:00" duration="03:00:00" repeat="4" />
</event>

</eventlist>

////////dj passwords

password=dj A:foobar
password=dj B:foobar
password=dj C:foobar
password=dj D:foobar



This script is in the cllendar.xml file
<?xml version="1.0" encoding="UTF-8" ?>

<eventlist>

<event type="dj">
<dj archive="0">dj A</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="09:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="1">dj B</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="12:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="2">dj C</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="15:00:00" duration="03:00:00" repeat="4" />
</event>


<event type="dj">
<dj archive="3">dj D</dj>
<calendar>mm:dd:yyyy</calendar>
<calendar start time="18:00:00" duration="03:00:00" repeat="4" />
</event>

</eventlist>
shakamedia is offline  
Old 11th July 2010, 01:49   #137
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
Here is where I appear to be stuck on stupid. How do I get the user ID and authorization string? or am I not allowed to have it?

uvoxuserid- user ID for shoutcast2(uvox)
uvoxauth - authorization string for shoutcast2(uvox)
shakamedia is offline  
Old 11th July 2010, 07:10   #138
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Its supposed to be released with the YP2. You get this registering with the shoutcast site.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline  
Old 11th July 2010, 07:15   #139
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
I just built a Icecast2 configuration builder today, and Im in the process of creating one for SC2 home users. Im hoping to have this designed soon.

Just to give you a look of what its going to look like:

http://hobbycaster.com/the-free-zone...fig-generator/

it just takes a TON more short code, because Im trying to make the output for SC_trans appear with the configuration for SC_serv. Hit the builder for both in one form

Ive got a HUGE to-do list for recent projects, but this one is coming, and should make life a lot easier.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline  
Old 11th July 2010, 11:43   #140
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
All this trouble for a $5.00 code, I wish I had read all the post before I started. Don't worry your $5 is coming. You should say clearly to your users $5.00 for the uvox license code must be paid in order to make Shoutcast2 work.

I imagine many users downloaded the free software and believe this new version is just another free upgrade. Although the software is free, the license needed to operate the software cost $5.00. In that respect you should tell your customers the license cost when they download the software.

Why I didn't think of it until now I don't know, I guess I got so wrapped up in the code.
shakamedia is offline  
Old 11th July 2010, 17:33   #141
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Isnt that $5 for mp3 only?

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline  
Old 12th July 2010, 08:33   #142
BornKillaz
Senior Member
 
BornKillaz's Avatar
 
Join Date: Jan 2010
Location: My Place
Posts: 109
Hello again!

Can someone please reply to my question?

I see radios with more than one genre in ShoutCast directory, how is that done? Separating words with a space?

Thanks in advance.

<?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?>
BornKillaz is offline  
Old 12th July 2010, 12:40   #143
unixland
Junior Member
 
Join Date: Jun 2010
Posts: 3
2.0 for freebsd ?

Hiya all,

Will there be a freebsd port for version 2 ? There is a freebsd port for v1, which I am using right now. It would seem that it would not make sense to change O/S on a production server just because there is an update on the broadcasting tool...

Rick
unixland is offline  
Old 12th July 2010, 19:18   #144
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
Brutish, I took a look at your Icecast2 configuration and it seems pretty straightforward. One thing you might wanna add is an example of what should be typed in the mount area. I recall you mentioning mount to me a few months back, it took me some time to figure out what you meant by mount. If users are setting up multiple stations maybe add boxes for
mount 1:
mount 2:
mount 3:
mount 4:
mount 5:
shakamedia is offline  
Old 12th July 2010, 19:38   #145
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
I will.

I am still working out minor bugs with the shortcodes, after that I plan to add IFF functions.

When the IFF's are worked out for the colocation linux version, I will go ahead and finish up the SHOUTcast2/SC_Trans 2 version.

Just added a "whats-my-IP" finder for the localhost field, so that way it saves time with the user asking "why does my IP not match that one?" heh. need to add my blurb about port forwarding and static IP matching.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline  
Old 12th July 2010, 19:42   #146
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
Born Killaz, your question is not so simple to answer because it depends on your set-up. What version of shoutcast are you running and what is your connection to the internet?

How many stations do you wanna setup?
You need a separate PC for each station.

Are you using a router?
How many lines can you connect to the internet?

What version of winamp are you running?

If you have your stations already set-up, just give them separate names and genres in the Yellowpages box located on the DSP plug-In(SHOUTcast Source)
shakamedia is offline  
Old 12th July 2010, 20:06   #147
shakamedia
Junior Member
 
Join Date: Apr 2010
Posts: 33
Brutish, I don't know if this will help or not but while I was trying to setup my stations I had one on port 80 and another on port 8000. For some reason the shoutcast directory couldn't distinguish the two stations. I switched port 80 to port 8700 and it popped up in the directory.
shakamedia is offline  
Old 13th July 2010, 16:34   #148
Red Sackles
Junior Member
 
Join Date: Oct 2009
Location: Netherlands
Posts: 39
yesterday i put up a shoutcast 2 server and a trancecoder 2 as well to test the new features and see if its something i wanna implement.

apart from the poor documentation i been able to get it to work only i hit a few snags.

with two aacp streams it works fine (sc_trans providing he streams) but when i start using one mp3 encoder and one aacp encoder the aacp stream doesnt seem to work any more.
the server says its up and running and the client can try to connect (it recives a 200 OK message) but then the stream stops.
in the sc_trans log there are no errors but in the sc_serv log there is the following error when i try to connect.
code:
2010-07-13 17:00:11 E msg:[dst 192.168.0.66:3883 sid=2] Socket error while waiting to send data. err=Broken pipe(32)

im not sure what this means it seems to me that sc_serv is for some reason unable to send data which is curius couse the mp3 stream works just fine and uses the same portnumber.

id a priciate a lil help with getting this going again so far the new version has bene very promising.
(apart from the documentation that really needs work so the not so cumputer savyvy people can understand and get the basic's going as well)

EDIT:

I tryed switching to outprotocol=3 meaning shoutcast2(uvox21) with this set in sc_trans both streams work

im still wondering wy the listen link on the webpage http://hostname:8200/index.html?sid=# sends the client to its local loopback (127.0.0.1) this should be ether the server hostname or simply the server ip telling a client to connet to its own local loopback wont get it connected
would any one here happen to know where you can set that in the .conf file?

Last edited by Red Sackles; 13th July 2010 at 17:02. Reason: fixed it
Red Sackles is offline  
Old 13th July 2010, 17:37   #149
Red Sackles
Junior Member
 
Join Date: Oct 2009
Location: Netherlands
Posts: 39
something i just noticed and it seems od to me why this would be done.

when a single instance of sc_serv is serving twe or more streams to cleints it doesnt show how manny clients have connected to which particular stream it just shows the total number of clients connected to the server.

It would be more usefull to be able to see how manny cleints connect to a partucular stream.
I personaly find it usefull to see how manny people connect to the low bandwidth streams and how manny connect to the high bandwidth streams.

Is this a setting issue or is this just the behavier of shoutcast ?

EDIT:

when using outprotocol=3 meaning shoutcast2(uvox21) i noticed that the previusly working introfile is no longer being played when i connect to the stream?
it still says that is has an intro file in the admin pannel and other then swithcing to outputprotocol 3 i haven changed any thing (posible bug?)

Last edited by Red Sackles; 13th July 2010 at 17:45. Reason: adding another question
Red Sackles is offline  
Old 16th July 2010, 19:27   #150
versusradio
Junior Member
 
Join Date: Jul 2010
Posts: 3
Port 80

Hi

I am very new at setting up shoutcast, especially sc_serv2.

Who can tell me how the port 80 streaming work?
I have my own dedicated server but it is a web server with port 80 in use.

If I can still do port 80 streaming on this server then how do I do it?

Thanks.
versusradio is offline  
Old 16th July 2010, 23:47   #151
Red Sackles
Junior Member
 
Join Date: Oct 2009
Location: Netherlands
Posts: 39
im not sure if its posible to do that because both shoutcast and the webserver would be listening to the same port and two applications cant use the same incoming port and IP combination (socket)

you can set shoutcast to use port 80 but i doubt shoutcast and apache can use the same socket simultaniusly.

is there a particular reason you need to use port 80 for streaming? if not you can use 8000 or any other port number of choice.
Red Sackles is offline  
Old 17th July 2010, 09:18   #152
versusradio
Junior Member
 
Join Date: Jul 2010
Posts: 3
Quote:
Originally Posted by Red Sackles View Post
im not sure if its posible to do that because both shoutcast and the webserver would be listening to the same port and two applications cant use the same incoming port and IP combination (socket)

you can set shoutcast to use port 80 but i doubt shoutcast and apache can use the same socket simultaniusly.

is there a particular reason you need to use port 80 for streaming? if not you can use 8000 or any other port number of choice.
One of the features listed for the new shoutcast release is port 80 streaming. But not much info is given in that regard.
The reason for port 80 streaming is to enable listeners behind firewalls to be able to tune in as well.

I hope that someone can shed some light on it.
versusradio is offline  
Old 17th July 2010, 10:04   #153
couch-potato
Senior Member
 
couch-potato's Avatar
 
Join Date: Feb 2002
Location: mother earth
Posts: 100
Quote:
Originally Posted by versusradio View Post
One of the features listed for the new shoutcast release is port 80 streaming. But not much info is given in that regard.
The reason for port 80 streaming is to enable listeners behind firewalls to be able to tune in as well.

I hope that someone can shed some light on it.
If you run Apache on Port 80. you can't use shoucast on port 80.

##.:: www.lounge-radio.com ::.##
couch-potato is offline  
Old 17th July 2010, 10:14   #154
versusradio
Junior Member
 
Join Date: Jul 2010
Posts: 3
Quote:
Originally Posted by couch-potato View Post
If you run Apache on Port 80. you can't use shoucast on port 80.
I have seen some provider offer port 80 streaming or some kind of proxy feature that allows for listeners behind firewall to gain access, how does that work?
versusradio is offline  
Old 17th July 2010, 10:43   #155
couch-potato
Senior Member
 
couch-potato's Avatar
 
Join Date: Feb 2002
Location: mother earth
Posts: 100
Quote:
Originally Posted by versusradio View Post
I have seen some provider offer port 80 streaming or some kind of proxy feature that allows for listeners behind firewall to gain access, how does that work?
Sorry to say I dont know how they do that.

##.:: www.lounge-radio.com ::.##
couch-potato is offline  
Old 18th July 2010, 00:33   #156
Red Sackles
Junior Member
 
Join Date: Oct 2009
Location: Netherlands
Posts: 39
Quote:
Originally Posted by versusradio View Post
I have seen some provider offer port 80 streaming or some kind of proxy feature that allows for listeners behind firewall to gain access, how does that work?
it is posible but not simple

for instance a firewall could scan the trafic and port trancelate the shoutcast trafic to reroute it to a seperate socket.

as i posted before its not posible to have multiple applications using a single socket. sockets are the way computers tel what trafic is ment for which application.

a simple way to have a webserver and shoutcast both on port 80 on the same machine is to use two IP's that way the there are two sockets with port 80 (once more a socket is a combination of an ip and port number)

still streaming over port 80 is something that shoutcast has always been able to so because you can just set it to use a port number of choice. keep in mind that using port 80 as a source port with the intent that people behind a firewall can listen is pointles.
this may fool rather old firewalls but current firewals look at the acutal trafic rather then just the port number and they will detect that its not http trafic but an audio stream.

try shoutcast in a normal way first and then solve the problems for people who posibly cant listen keeping in mind that if their company firewall doesnt allow streams it probably wont matter if you stream over port 80.
Red Sackles is offline  
Old 18th July 2010, 00:36   #157
Red Sackles
Junior Member
 
Join Date: Oct 2009
Location: Netherlands
Posts: 39
since the conversation has been going in a difrent direction id like to bring this back to atention.

im still wondering why the listen link on the webpage http://hostname:8200/index.html?sid=# sends the client to its local loopback (127.0.0.1) this should be ether the server hostname or simply the server ip telling a client to connet to its own local loopback wont get it connected
would any one here happen to know where you can set that in the .conf file?

something i just noticed and it seems od to me why this would be done.

when a single instance of sc_serv is serving twe or more streams to cleints it doesnt show how manny clients have connected to which particular stream it just shows the total number of clients connected to the server.

It would be more usefull to be able to see how manny cleints connect to a partucular stream.
I personaly find it usefull to see how manny people connect to the low bandwidth streams and how manny connect to the high bandwidth streams.

when using outprotocol=3 meaning shoutcast2(uvox21) i noticed that the previusly working introfile is no longer being played when i connect to the stream?
it still says that is has an intro file in the admin pannel and other then swithcing to outputprotocol 3 i haven changed any thing (posible bug?)
Red Sackles is offline  
Old 18th July 2010, 17:05   #158
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Quote:
when using outprotocol=3 meaning shoutcast2(uvox21) i noticed that the previusly working introfile is no longer being played when i connect to the stream?
it still says that is has an intro file in the admin pannel and other then swithcing to outputprotocol 3 i haven changed any thing (posible bug?)
The sc2 protocol allows you to upload intro and backup files from sc_trans
on initial connection(before streaming).
When sc_trans connects the dnas flushes the previous intro and backup files.

So Long, and Thanks for All the Fish.
Jkey is offline  
Old 19th July 2010, 13:32   #159
hacthienhp
Junior Member
 
Join Date: Jul 2010
Posts: 4
hello

I have a windows VPS and I want to do a radio with SHOUTcast DNAS 2 Beta Hosting but when I download the SHOUTcast DNAS v0.1 Beta 2 does not know how to install windows on my VPS how to use it. I hope you new members support.

I also use the SHOUTcast DSP Plug-In for Winamp with my windows VPS Winamp but no sound card, can not work.

Hope your help !
hacthienhp is offline  
Old 19th July 2010, 22:43   #160
Red Sackles
Junior Member
 
Join Date: Oct 2009
Location: Netherlands
Posts: 39
Quote:
Originally Posted by Jkey View Post
The sc2 protocol allows you to upload intro and backup files from sc_trans
on initial connection(before streaming).
When sc_trans connects the dnas flushes the previous intro and backup files.
ok so i need to configure the intro file in the sc_trans config when using the shoutcast 2 protocol good to know that. im gonna get cracking on that now.

thx m8
Red Sackles is offline  
Closed Thread
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump