{"id":1209,"date":"2013-04-10T22:59:58","date_gmt":"2013-04-10T20:59:58","guid":{"rendered":"http:\/\/www.unicoda.com\/?p=1209"},"modified":"2013-04-10T23:01:00","modified_gmt":"2013-04-10T21:01:00","slug":"mt-daapd-on-arch-linux","status":"publish","type":"post","link":"https:\/\/www.unicoda.com\/?p=1209","title":{"rendered":"mt-daapd on Arch Linux"},"content":{"rendered":"<p>I&rsquo;ve first discovered mt-daapd on an Ubuntu OS. Installation was really easy, same for configuration and I was able to stream my music to my Rhythmbox player. It was fine. But recently, I changed the OS and the server is now running Arch Linux. So I tried to reconfigure mt-daapd.<\/p>\n<p>On Arch, mt-daapd can be found in the Arch User Repository (AUR). First we need to install it using yaourt:<\/p>\n<pre>yaourt -S mt-daapd<\/pre>\n<p>If everything goes right, mt-daapd should now be installed. I then created \/etc\/avahi\/services\/mt-daapd.service (maybe not needed, haven&rsquo;t tried without):<\/p>\n<pre>&lt;?xml version=\"1.0\" standalone='no'?&gt;&lt;!--*-nxml-*--&gt;\r\n&lt;!DOCTYPE service-group SYSTEM \"avahi-service.dtd\"&gt;\r\n\r\n&lt;service-group&gt;\r\n\r\n&lt;name replace-wildcards=\"yes\"&gt;%h&lt;\/name&gt;\r\n\r\n&lt;service&gt;\r\n&lt;type&gt;_daap._tcp&lt;\/type&gt;\r\n&lt;port&gt;3689&lt;\/port&gt;\r\n&lt;txt-record&gt;txtvers=1 iTShVersion=131073 Version=196610&lt;\/txt-record&gt;\r\n&lt;\/service&gt;\r\n\r\n&lt;service&gt;\r\n&lt;type&gt;_rsp._tcp&lt;\/type&gt;\r\n&lt;port&gt;3689&lt;\/port&gt;\r\n&lt;txt-record&gt;txtvers=1 iTShVersion=131073 Version=196610&lt;\/txt-record&gt;\r\n&lt;\/service&gt;\r\n\r\n&lt;\/service-group&gt;<\/pre>\n<p>Restart avahi daemon:<\/p>\n<pre>systemctl restart avahi-daemon<\/pre>\n<p>Edit mt-daapd configuration file:<\/p>\n<pre># $Id: mt-daapd.conf.templ 1660 2007-09-12 13:08:04Z rpedde $\r\n#\r\n# This is the mt-daapd config file.\r\n\r\n&lt;...&gt;\r\n\r\n#\r\n# admin_pw (required)\r\n#\r\n# This is the password to the administrative pages\r\n#\r\n\r\nadmin_pw = mt-daapd\r\n\r\n&lt;...&gt;\r\n\r\n#\r\n# mp3_dir (required)\r\n#\r\n# Location of the mp3 files to share. Note that because the\r\n# files are stored in the database by inode, these must be\r\n# in the same physical filesystem.\r\n#\r\n\r\nmp3_dir = \/path\/to\/music\r\n\r\n#\r\n# servername (required)\r\n#\r\n# This is both the name of the server as advertised\r\n# via rendezvous, and the name of the database\r\n# exported via DAAP. Also know as \"What shows up in iTunes\".\r\n#\r\n\r\nservername = MyServerName\r\n\r\n&lt;...&gt;<\/pre>\n<p>Finally start mt-daapd:<\/p>\n<pre>systemctl start mt-daapd<\/pre>\n<p>And enable auto start:<\/p>\n<pre>systemctl enable mt-daapd<\/pre>\n<p>Web interface is now available at <em>http:\/\/yourServerNameOrIp:3689<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&rsquo;ve first discovered mt-daapd on an Ubuntu OS. Installation was really easy, same for configuration and I was able to stream my music to my Rhythmbox player. It was fine. But recently, I changed the OS and the server is now running Arch Linux. So I tried to reconfigure mt-daapd. On Arch, mt-daapd can be &hellip; <a href=\"https:\/\/www.unicoda.com\/?p=1209\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;mt-daapd on Arch Linux&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[85,115],"class_list":["post-1209","post","type-post","status-publish","format-standard","hentry","category-installation","tag-archlinux","tag-mt-daapd"],"_links":{"self":[{"href":"https:\/\/www.unicoda.com\/index.php?rest_route=\/wp\/v2\/posts\/1209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unicoda.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unicoda.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unicoda.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unicoda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1209"}],"version-history":[{"count":6,"href":"https:\/\/www.unicoda.com\/index.php?rest_route=\/wp\/v2\/posts\/1209\/revisions"}],"predecessor-version":[{"id":1232,"href":"https:\/\/www.unicoda.com\/index.php?rest_route=\/wp\/v2\/posts\/1209\/revisions\/1232"}],"wp:attachment":[{"href":"https:\/\/www.unicoda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unicoda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unicoda.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}