Old 8th January 2008, 14:57   #1
jbx
Junior Member
 
Join Date: Jan 2008
Posts: 3
station search API

Is there any programmatic API or web service or something of that sort to be able to submit a search by Genre or some other criteria (station name, bitrate, encoding, number of listeners etc) to Shoutcast.com and get the list of stations?

I cant seem to find anyone who has done it. I wish to develop my own player which lists the stations available.
jbx is offline   Reply With Quote
Old 8th January 2008, 16:00   #2
Sawg
Forum King
 
Join Date: Jun 2000
Location: Phoenix, AZ
Posts: 7,456
Send a message via ICQ to Sawg Send a message via AIM to Sawg Send a message via Yahoo to Sawg
Nope! That and you need permission from AOL to use the listing in anything that isn't Winamp (or SHOUTcast.com)

| Brought to you by ^V ^C | The one... the original... no seriously!
Sawg is offline   Reply With Quote
Old 8th January 2008, 21:44   #3
caraoge
Senior Member
 
caraoge's Avatar
 
Join Date: Dec 2003
Location: Saarland, Germany
Posts: 331
You can search the shoutcast directory with a script provided by shoutcast.com.

In this examples i searched for my radio station:

http://www.shoutcast.com/sbin/newxml.phtml?search=TechnoBase
http://www.shoutcast.com/sbin/newxml.phtml?genre=Techno%20Trance%20Dance%20House
caraoge is offline   Reply With Quote
Old 9th January 2008, 00:09   #4
jbx
Junior Member
 
Join Date: Jan 2008
Posts: 3
That's precisely what I was looking for. However, how do you get it to include the URL of the station?

It seems to return all the station info (name, bitrate, listener count) however its missing the most important thing, the URL.
jbx is offline   Reply With Quote
Old 9th January 2008, 00:17   #5
jbx
Junior Member
 
Join Date: Jan 2008
Posts: 3
OK I think I found out how it should be done.

After the search: http://www.shoutcast.com/sbin/newxml...rch=TechnoBase

The ID you get in each entry can be used here
http://www.shoutcast.com/sbin/tunein-station.pls?id=NNN

and the playlist for that station is downloaded.

Thanks for your help!
jbx is offline   Reply With Quote
Old 9th January 2008, 14:31   #6
CraigF
Passionately Apathetic
Administrator
 
CraigF's Avatar
 
Join Date: May 2000
Location: Hell
Posts: 5,435
As a fair warning:

"The SHOUTcast directory listings and other content available on and through this website (collectively, the "Directory") are provided by Nullsoft for your personal use only. By using this website, you agree that you will not store, reproduce, transmit, publicly display, publicly perform, distribute, publish, broadcast or otherwise make available the Directory or any portion of the Directory, whether electronically or in any other form, and whether for commercial purposes or any purpose other than your own personal use, unless approved in writing by Nullsoft. Any portion of the Directory which is downloaded or otherwise reproduced from this website may be retained only for a temporary period of time. Systematic retrieval of data or other content from the Directory or other use of such data and other content, directly or indirectly, to create or compile a collection, database or directory without written permission from Nullsoft is prohibited."

Taken from the shoutcast.com terms of use.

CraigF is offline   Reply With Quote
Reply
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