View Single Post
Old 15th March 2010, 15:37   #56
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
SC2 YP2 Test Server Available

We now have a functioning YP2 for using with the beta release of SC2. In order to use it you will need to
register your station and at present we are adding them manually, so please no bombarding us with requests,
but happy to add you.

It currently only has a *very* bare visual interface but this is being worked on.

This YP2 implementation is purely for testing purposes and has been produced by reverse engineering the SC2
binary to get the specifications, hopefully AOL do not mind.

It appears with the YP2 and probably SC2 there are some limitations, one being the reporting of track names
if SC2 is relaying an SC1 stream. At present we have not put any meta data visible but when we get some we
can debug further and add it to the YP display page.

There is no clustering support at present, seemed little point for a test YP, but this may be added in the
future.

The directory is current found at

http://directory.streamsolutions.co.uk/

(note the very bare look).

To use the directory you need to add the following configuration lines to your SC2 configuration file

PHP Code:
ypaddr=directory.streamsolutions.co.uk
ypport
=80
yppath
=/yp2/
yptimeout=10
ypmaxretries
=5
ypreportinterval
=180
ypminreportinterval
=180 
You also need to add a streamauthhash configuration line which is done on a per stream basis such as

streamauthhash_1=ABCDEFGHJKLMNOPQRSTUVWXYZ

A Full example would be

PHP Code:
portbase=8000
password
=changeme
adminpassword
=changeme
#relayshoutcastdebug=1
#relaydebug=1
log=0
yp2
=1
yp2debug
=0
ypaddr
=directory.streamsolutions.co.uk
ypport
=80
yppath
=/yp2/
yptimeout=30
ypmaxretries
=5
ypreportinterval
=30
ypminreportinterval
=30
publicserver
=always
logfile
=./test.log
streamid_1
=5
streamauthhash_1
=ABCDEFGHJKLMNOPQRSTUVWXYZ
streampath_1
=/test
streamrelayurl_1
=http://a.b.c.d:pppp 
When you have registered with us we will provide you with the streamauthhash. You do need a different one for
each stream entry.

To Register with us please use our contact page at

http://www.streamsolutions.co.uk/contact_us

and ask us to generate a 'Shoutcast YP2 Authentication Hash'. You will also need to provide the following information

Stream Name
Stream URL
Stream Genre

Optional extras are

Stream AIM
Stream ICQ
Stream IRC

These are now put into the YP, so when you register they are sent to SC2 rather than relying on your encoder.

Nick
Nick@ss is offline