Problems getting emms-player-mpd working, and solutions
Alexis <flexibeast <at> gmail.com>
2014-07-26 03:25:18 GMT
Context: 64-bit Debian Wheezy; MPD version 0.16.7-2+b1 (from repo);
Emacs 220.127.116.11 (manually compiled); EMMS 4.0 (MELPA 20140630.1158).
i recently spent a bit of time trying to get EMMS to work with my MPD
setup, using emms-player-mpd. After some frustration, i discovered a
couple of things critical to getting it working, which the documentation
seems to either be incorrect about, or seems to not mention:
1. First and foremost, even though my MPD config has the setting:
(which is the default), i /did/ in fact need to set the
emms-player-mpd-music-directory to the location of my Music directory
(to wit, "~/Music/"). This would mean that playback would fail, as
emms-player-mpd was sending play requests to MPD with the absolute
path, rather than a path relative to the value of my MPD
music_directory variable (i.e. "~/Music"), as MPD required.
However, chapter 25 of the EMMS Manual states:
"If you use absolute file names in your m3u playlists (which is most
likely), make sure you set EMMS-PLAYER-MPD-MUSIC-DIRECTORY to the value
of 'music_directory' from your MusicPD config."
and the documentation for the emms-player-mpd-music-directory variable