Online Radio

From BC$ MobileTV Wiki
Jump to: navigation, search

Online Radio (commonly referred to as Internet Radio) is the distribution of traditional radio content in non-traditional ways, such as through the Internet (i.e. over the web or email) or by some other form of digital subscription/delivery system.



Services

ShoutCast

All Shoutcast API requests can be returned in XML (default), JSON (by appending &f=json) or JSONP (append to JSON request &callback={FUNCTION})

Top 500 Stations (by popularity, current viewer count):

http://api.shoutcast.com/legacy/Top500?k={DEV_ID}

Get Stations by Keyword search:

http://api.shoutcast.com/legacy/stationsearch?k={DEV_ID}&search={SEARCH_TERM}

Get Stations by Genre:

http://api.shoutcast.com/legacy/genresearch?k={DEV_ID}&genre={GENRE}

Get Stations based on Now Playing info (i.e. find a station currently playing a given song/artist):

http://api.shoutcast.com/station/nowplaying?k={DEV_ID}&ct={NOW_PLAYING_SEARCH_TERM}&f={FORMAT}

Get Stations by Bitrate or Codec type (all optional "Advanced Search" filters):

http://api.shoutcast.com/station/advancedsearch?k={KEY_ID}&mt={MEDIA_TYPE}&br={BIT_RATE}&search={SEARCH_TERM}&limit={LIMIT}&f={FORMAT}

How to tune into a station (Find the "id" of the Station from the API results, then make a call to):

http://yp.shoutcast.com/sbin/tunein-station.pls?k={DEV_ID}&id={STATION_ID}

Then, embedding using the Shoutcast flash player can be done by building a link to the embed object as follows:

http://www.shoutcast.com/media/popupPlayer_V19.swf?stationid=http://yp.shoutcast.com/sbin/tunein-station.pls?id={STATION_ID}&play_status=1


Get Random Stations

http://api.shoutcast.com/station/randomstations?k={DEV_ID}&f={FORMAT}

Get Genre (category) list:

http://api.shoutcast.com/legacy/genrelist?k={DEV_ID}

Get Primary Genres:

http://api.shoutcast.com/genre/primary?k={DEV_ID}&f={FORMAT}

Get Secondary Genres (by Primary/parent Genre ID):

http://api.shoutcast.com/genre/secondary?parentid={PARENT_ID}&k={DEV_ID}&f={FORMAT}

Get Secondary Genre details (by Genre ID):

http://api.shoutcast.com/genre/secondary?id={GENRE_ID}&k={DEV_ID}&f={FORMAT}

[3]

Pandora

TuneIN

RD.io

Slacker

Live365

Sky.FM

iHeart Radio

National



Tools


Resources


Tutorials

External Links


References

  1. ShoutCast backend info: http://forums.radiotoolbox.com/viewtopic.php?t=74
  2. xzyradio package (phpclasses): http://www.phpclasses.org/package/5345-PHP-Generate-HTML-to-embed-an-Internet-radio-player.html
  3. ShoutCast API docs: http://dev.aol.com/SHOUTcast/documentation
  4. wikipedia: List of radio stations in Italy
  5. Data about Mexico's Media Industry: http://www.pressreference.com/Ma-No/Mexico.html
  6. Instituto Mexicano de la Radio (IMER): http://www.imer.gob.mx/
  7. Indian radio industry: http://www.slideshare.net/Gaurav1019/indian-radio-industry

See Also

Internet | Web | Email | Podcast | Radio