{"id":6972,"date":"2018-02-21T12:40:00","date_gmt":"2018-02-21T17:40:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=6972"},"modified":"2018-02-21T12:40:46","modified_gmt":"2018-02-21T17:40:46","slug":"zamansky-43-playing-music-with-mpd","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=6972","title":{"rendered":"Zamansky 43: Playing Music with MPD"},"content":{"rendered":"<p> Mike Zamansky has posted another video in his <a href=\"http:\/\/cestlaz.github.io\/stories\/emacs\/\">Using Emacs Series<\/a>. This video looks at <a href=\"http:\/\/cestlaz.github.io\/posts\/using-emacs-43-music\/#.Wo2dSGaZOuU\">playing music with MPD and Emacs<\/a>. Of course, Emacs can&rsquo;t play music on its own but it <i>can<\/i> be used to control music players, effectively moving music playing functions into Emacs. <\/p>\n<p> <a href=\"https:\/\/www.musicpd.org\/\">MPD<\/a> provides the server side of a music playing client\/server system so you have to choose a client (the player) as well. There are lots of clients available and Zamansky considers three that leverage the <a href=\"https:\/\/www.musicpd.org\/clients\/mpc\/\">MPC<\/a> player and integrate well with Emacs. He tried but didn&rsquo;t like the built-in Emacs MPC mode and <a href=\"https:\/\/github.com\/pft\/mingus\">Mingus<\/a>. The video shows them both in action so you can decide for yourself if they work for you. Finally, Zamansky demonstrates a player that he did like: <a href=\"https:\/\/github.com\/jorenvo\/simple-mpc\">simple-mpc<\/a>. It has a simple interface that is explicitly modeled after that of <a href=\"http:\/\/www.djcbsoftware.nl\/code\/mu\/mu4e.html\">mu4e<\/a> so it will be familiar to those using mu4e for their email. <\/p>\n<p> All of this is really intended for Linux but as far as I can tell it&rsquo;s possible to make it work with macOS as well. Apple, of course, has the iTunes player\u2014which despite what many say, I find easy to use and flexible. I keep my music collection (mainly) on my iMac but AirPlay makes it possible to stream music to my laptop or other Apple device. All in all, I&rsquo;m happy with the Apple solution. <\/p>\n<p> Still, I like moving everything possible into Emacs so I&rsquo;ve added a TODO to investigate getting MPD running on my Mac. I know that MPD can run on a different machine from the player so I could still have my centralized music collection. If anyone has any experience with MPD on Macs, please leave a comment. <\/p>\n<p> The video runs just short of 15 minutes so you can probably watch it on a break. As usual with Zamansky&rsquo;s videos, it full of information and definitely worth watching. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mike Zamansky has posted another video in his Using Emacs Series. This video looks at playing music with MPD and Emacs. Of course, Emacs can&rsquo;t play music on its own but it can be used to control music players, effectively &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=6972\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-6972","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6972"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6972\/revisions"}],"predecessor-version":[{"id":6973,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6972\/revisions\/6973"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}