emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emms-help] Problems getting emms-player-mpd working, and solutions


From: Yoni Rabkin
Subject: Re: [emms-help] Problems getting emms-player-mpd working, and solutions
Date: Sat, 26 Jul 2014 23:39:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

I'll preface by saying that I don't use MPD and I didn't write the MPD
portions of Emms, so I have little to go on.


> 1. First and foremost, even though my MPD config has the setting:
>
>   save_absolute_paths_in_playlists       "no"
>
>   (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
>   states:
>
>   "You need this if your playlists use absolute file names, otherwise
>   leave it set to nil."

Could you please send a patch against the manual which fixes this? Or
simply send in the text you'd like to see in its place and I'll patch
the manual.


> 2. To add all music in my MPD database, such that it was listed in the
>   EMMS Browser, i needed to create an active MPD playlist containing all
>   music (which i did via ncmpcpp), /then/ do emms-add-directory-tree on
>   my Music folder. Unless there's some way of building the EMMS
>   track cache directly from the MPD database, that i've missed?

To test MPD I configure it like this:

(setq emms-player-mpd-server-name "blarg-ThinkPad-T61.local"
      emms-player-mpd-server-port "6600"
      emms-player-mpd-music-directory nil)
(add-to-list 'emms-info-functions 'emms-info-mpd)
(add-to-list 'emms-player-list 'emms-player-mpd)

...then: M-x emms-player-mpd-connect

...and the result is that my local emms playlist and browser buffers are
populated with the remote playlist, and everything just works.

-- 
   "Cut your own wood and it will warm you twice"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]