Freitag, Dezember 14, 2007

play music stream with mpd

So far I played audio streams with xmms or mplayer. Music on my PC is played with mpd. I'm a friend of using the same program for the same task. Searching for an solution I found a desrciption on playing a playlist with mpd from the browser.

For a test I added an URL by hand and played it:
mpc clear
mpc add http://85.159.184.42:80
mpc play

The status showed the name of the stream, Virgin Radio - The music we all love.

The next step was to create a playlist (m3u) with more URL's. Unfortunately mpd will show you the URL used in the playlist. Only after the stream was played the name is displayed if you list the playlist.

Using an extended m3u (#EXTINF:-1,1.FM - 80s Channel) didn't change any thing at the behavior. To be able to see the name of a stream and not only the URL before playing is possible. But for this a m3u playlist for each stream is need and named appropriately.

Using mpc on a PC this is not a problem. But from remote with a palm listing the loaded playlist and select the stream to play would be much easier as to load a new playlist. My be there is a better solution for the palm.

Keine Kommentare: