MPD Clients

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
jmiracle
Posts: 2
Joined: Thu Apr 07, 2011 6:50 am

MPD Clients

Post by jmiracle »

I'd like to find a way to coerce the MPC client to display something other than the IP address of the internet radio stations I have stored in my playlist. I have looked at MPoD for my iPhone, Ario(pc) and Theremin (mac). All of these clients show the IP address in the playlist making it difficult to know which station is which. Of course when I select one of the addresses in the list the display will change and show the station name and what is playing.

Anyone have a work around for this.

A big THANK-YOU-Jeff and to the rest of the contributors to this project. Its amazing!!! I am in the process of acquiring the parts to build a display. Hope that goes as smoothly as the router hack.
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: MPD Clients

Post by mightyohm »

When you add the station to your playlist, are you adding it by IP or hostname?
jmiracle
Posts: 2
Joined: Thu Apr 07, 2011 6:50 am

Re: MPD Clients

Post by jmiracle »

by IP address. I haven't had much success getting the station to play when I enter the hostname.

Is there a way to convert the IP addesses to the hostname?

Thanks!
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: MPD Clients

Post by mightyohm »

I don't think so (not easily..)

I thought that the mpc client would update to show the stream name instead of the IP. I swear I have seen this behavior from mpc and mpod on my iphone...
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: MPD Clients

Post by gerben »

The station name should appear once you start playing it. So the solution would be to cycle through all stations in the playlist once.
You could use a script like:

Code: Select all

mpc play 1
sleep 5
mpc play 2
sleep 5
....
#or use a loop
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: MPD Clients

Post by mightyohm »

Clever approach. :-)
Post Reply