What streaming formats are supported on Jeff's Image?

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
sys_spud
Posts: 7
Joined: Fri Oct 09, 2009 7:48 pm

What streaming formats are supported on Jeff's Image?

Post by sys_spud »

I have gotten as far as installing mpd/mpc, created a playlist and been able to successfully play the slay radio example and some shoutcast streams. I'm confused as to what other formats are supported. I'd like to play some Classical streams that play fine with my Logitech Squeezebox, including mp3/m3u/pls files.

Here are some examples I tried that didn't produce any sound/didn't appear to play:
http://208.80.54.126:3690/KDFCFMCMP3
http://streaming.azpm.org/kuat192.mp3.m3u
http://www.kusc.org/streams/kusc128.m3u
http://www.cpr.org/listen/live_classical_mp3.pls

I added these streams with mpc add. Then I attempted to play them by either mpc play n (for playlist number) or mpc next/prev. The slay radio example was in the playlist as number 1 and could play but any of the others would not. I'd get something like the following when I started to play the stream:

Code: Select all

root@proteus:~# mpc play 3
http://www.wksu.org/listen/wksu1.pls
[playing] #3/3   0:00/0:00 (100%)
volume: 40%   repeat: off   random: off
Here's an example of the playlist. First two, slay radio and shoutcast streams, play fine:

Code: Select all

root@proteus:~# mpc playlist
>1) SLAY Radio: Instant Remedy - Warriors (Club Version)
 2) CLASSICAL 102 - The First Class In Music: Haydn - Andante
 3) http://www.wksu.org/listen/wksu1.pls
Do I need to add support for these streams? If so, how would I do it?

TIA
sys_spud
Posts: 7
Joined: Fri Oct 09, 2009 7:48 pm

Re: What streaming formats are supported on Jeff's Image?

Post by sys_spud »

Here, Let Me Google That For Me...

According to this entry (http://www.nabble.com/Play-internet-rad ... 96649.html), MPD doesn't support m3u/pls directly from URL's. However, the poster has supplied a script called "podcast-bounce" which extracts the first .mp3 line from such, available at http://mpd.wikia.com/wiki/Hack:podcast-bounce
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: What streaming formats are supported on Jeff's Image?

Post by mightyohm »

Here's how I work around this problem. I open the m3u or pls file in a program like iTunes, then look at the stream properties (right click and get info) for the actual stream address.

This is usually in the form of http://host:port/ ie. http://relay3.slayradio.org:8000/ or http://208.122.59.30:7234

Once you have the stream address in this format, it should play with mpd, assuming the stream is in shoutcast format.
Post Reply