View Full Version : Station Directory
DigitalJB
9th September 2005, 00:15
I have a server with 40 Shoutcast servers running on it.
I stream a wide variety of stations and would like to put a directory similar to the shoutcast.com station directory except i just want to show my clients. how can this be done?
Jim
MegaRock
9th September 2005, 00:22
Hire a programmer. There is a site that specializes in that kind of thing but I don't have a link available - maybe someone can post it. You're definately not going to get AOL to give up their code.
You might also want to get hold of Joel at WebcasterU. He had been working on a directory there that only listed submitted stations. He might be willing to give up the code. Link to his site is below.
djSpinnerCee
9th September 2005, 13:08
The idea is similar to all of those status checking PHP scripts out there -- as a SysAdmin, you should already have a database with all of your IP/port assignments, so just tweaking the "status" code to iterate the list at a time interval and read each station's info, could easily produce a local directory of just your hosted stations.
An opt-in type list is a bit more difficult, since you will have far less control over the broadcaster-submitted info, but it is the same idea.
*** I am working on the exact same thing -- my station test app is the crawler/bot engine that will interrogate the DNAS ***
djSpinnerCee
9th September 2005, 13:20
Another totally different idea/method: Use the YP!
Use the TitleFormat tag in the DNAS config to give each DNAS a unique ID string,
TitleFormat=DTLJBnnnn: %s (maybe the optional "nnnn"=PortBase?)
This way each [public] station title will become "branded" in the YP directory, such that you can use:
http://www.shoutcast.com/directory/?s=DTLJB
to find all of your stations...
Simple, and you don't have to write or run any code.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.