“Music Player Daemon (MPD) allows remote access for playing music (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists”. MPD runs on linux, and a lot of clients exist to locally or remotely control it. However, last time I checked, the only Mac OS X client was the buggy MpcOSX.

Maybe you remember in a previous post that I mentioned pympd as probably the best linux GUI client to mpd. Well that’s true for linux, but now that I also use Mac OS X, I’m looking for a mac client to mpd.

What’s mpd again ? “Music Player Daemon (MPD) allows remote access for playing music (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists”.

MPD runs on linux, and a lot of clients exist to locally or remotely control it. However, last time I checked, the only Mac OS X client was the buggy MpcOSX, that I wouldn’t recommend.

I just discovered that Theremin is now usable. This mpc client is full-featured, and nice. It has an itunes like music browser, it retrieves album cover art from amazon, manage playlists, trigger full or partial update of the mpd database, etc. It’s stable and available for PPC and Intel based macs. Give it a try !

This native Tizen application implements a traditional MPD client functionality that was built for Tizen Gear S2 devices. We tried to use the same code for Gear S, but unfortunately Native API is not available for this model yet. You can install the MPD Client to your Gear S2 device using Gear App running on your smartphone.

Few Quick Notes about MPD Server

We’ve tested it with MPD server’s versions 0.16.7 and higer and it worked well. Playlists must be created on your MPD servers, because that’s the only objects that the client can select and play.

I’ve found playlists very useful for selecting and playing my favorite Internet radio stations along with MP3 stored on a hard drive of my MPD server.

Here is how a typical radio station playlist looks like:

# more /var/lib/mpd/playlists/RadioKievLounge.m3u
http://cast.loungefm.com.ua/loungefm

As you can see from the example above, all you need to create a radio station playlist is a URL of the station’s stream. In the case of a more traditional playlist with songs stored on a hard drive you would need something like this:

# more /var/lib/mpd/playlists/Queen.m3u
mp3/Queens/Queen – Body Language.mp3
mp3/Queens/Queen – Bohemian Rapsody.mp3
mp3/Queens/Queen – Bohemian Rhapsody.mp3
mp3/Queens/Queen – Crazy Little Thing Called Love .mp3
mp3/Queens/Queen – I Want To Break Free.mp3
mp3/Queens/Queen – I Want to Ride My Bicycle.mp3

The path to an MP3 file is relative to a root MP3 folder, which needs to be provided in your MPD config file, e.g. here is mine for a server running in Linux environment on Raspberry PI:

music_directory “/var/lib/mpd/music”
playlist_directory “/var/lib/mpd/playlists”
# User under which MPD daemonn runs
user “mpd”
# For network
bind_to_address “0.0.0.0”
# An example of an ALSA output for Linux:
audio_output {
type “alsa”
name “My ALSA Device”
device “hw:0,0” # optional
# format “44100:16:2” # optional
mixer_type “hardware” # optional
mixer_device “default” # optional
mixer_control “PCM” # optional
mixer_index “0” # optional
}

# An example of output for Windows
#audio_output {
# type “winmm”
# name “Speakers”
# device “Speakers (Realtek High Definition Audio)”
#}
# You can also try “libao” instead of “winmm” on Windows

# An example of output for Mac
#audio_output {
# type “osx”
# type “ao”
# name “My Mac Device”
# mixer_type “software”
#}

The config file can be provided as a parameter when you run your MPD server, e.g.

Free word processor for mac. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Apple can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Apple Footer.This site contains user submitted content, comments and opinions and is for informational purposes only.

#mpd ~/.mpd/conf

On Linux environment there is a default location for the config file – /etc/mpd.conf

Using MPD Client

After you’ve configured your MPD server and installed MPD Client to your Gear S2 device running the client is simple. The first thing that you need to do is to connect Gear S2 through WiFi to the same network where your MPD server runs. After that you’ll need to provide the IP address and port of your MPD server:

The default MPD’s port is 6600, so you should use this one if didn’t change it in MPD’s config. There are some additional and self-explanatory parameters on this screen. If you find difficult toggling the check boxes, just click on the containing rectangle to get a bigger view:

After you’ve entered a correct IP and port, press OK button on the bottom and you’ll be taken to the next page with all playlists created on your server:

Now you can select your favorite playlist and start listening to it. If you tap the speaker button the previously selected playlist will be played.

You can navigate to the next/previous song in the list by tapping the buttons on the screen, or you can navigate between playlists by rotating the bezel.

To zoom the player’s view simply tap the rectangle with the song info:

For

You can still navigate between songs in the playlist by swiping the title left or right or you can toggle a current playlist by rotating the bezel.

“Back” button functionality is available and can be always used to go to the previous page. Connection icon included to all screens is used to indicate if a connection with MPD server is alive.

Popular Posts