Setting up

From LinnDocs
Revision as of 12:34, 18 September 2008 by Rockfather (talk | contribs) (New page: __NOTOC__ == Setting up Internet Radio Stations == To setup internet radio stations on a UPnP media server so that they can be used by a DS involves creating one or more ''playlist'' fil...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Setting up Internet Radio Stations

To setup internet radio stations on a UPnP media server so that they can be used by a DS involves creating one or more playlist files with the relevant details, and placing these somewhere inside the servers search path.

These files must have the extension m3u, and can be created manually or automatically using various applications including WinAmp.

Format of playlist file

An m3u playlist file takes the form shown below. It should be saved with the m3u extension

# EXTM3U
# EXTINF:-1,Name to display for station #1
http://<url for station #1>
# EXTINF:-1,Name to display for station #2
http://<url for station #2>
  • Line 1 - Always #EXTM3U
  • Line 2 - The name which will be displayed on the controller for the station. This requires to be prefixed by #EXTINF:-1,
  • Line 3 - The URL (web address) of the station
  • Lines 2 and 3 can be repeated for more stations

Examples

Single station in a playlist
# EXTM3U
# EXTINF:-1,Virgin Classic Rock 128k Stereo
http://mp3-vc-128.smgradio.com:80/
Multiple stations in a playlist
# EXTM3U
# EXTINF:-1,1080.FM - The Planet
http://scfire-ntc-aa01.stream.aol.com:80/stream/1030
# EXTINF:-1,kinkfm
http://81.173.3.20:80
# EXTINF:-1,The EDGE ROCKS!!
http://67.43.161.248:6009
# EXTINF:-1,Radio Caroline 64k Stereo
http://lazygit.no-ip.info:5560/

Serving the stations

Store the m3u file(s) anywhere inside the Media Servers search folders. If using Twonky ensure that internet radio is enabled in order to make the entries be served in the Internet Radio folder.

Automatic creation using Shoutcast/WinAmp

WinAmp has tight integration with Shoutcast (as they come from the same company) and can be used to generate the playlist m3u files for use by the Media Server.

Once WinAmp is installed, use the Shoutcast web interface (linked above) to select the station you require. Click the Tune In link, and the station should start to play in Winamp. An m3u file can then be saved by selecting the List button on the Playlist window and selecting Save