{"id":493,"date":"2011-04-28T11:29:15","date_gmt":"2011-04-28T11:29:15","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=493"},"modified":"2011-05-13T08:13:25","modified_gmt":"2011-05-13T08:13:25","slug":"shairpoint","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=493","title":{"rendered":"ShairPort"},"content":{"rendered":"<p>Airtunes Perl Software<\/p>\n<p>Note that you need to also install\u00a0p5-libwww-perl to get this to work on a mac<\/p>\n<p><a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2011\/04\/albertz-shairport-d670169.zip\">albertz-shairport-d670169<\/a><\/p>\n<p>Check Here<\/p>\n<p><a title=\"Shairport Site\" href=\"https:\/\/github.com\/albertz\/shairport\">https:\/\/github.com\/albertz\/shairport<\/a><\/p>\n<p>As a side note if you want to fix the service add this before @hw_addr<\/p>\n<p>{code}<br \/>\n# Seeds Rand Command from the cksum of the computers MAC address so it should be the same everytime<br \/>\n# So that iTunes will always find the same set of speakers By Daniel Shane<br \/>\nsrand (`ifconfig | grep -i ether | head -n 1 | cut -d &#8221; &#8221; -f 2 | sed &#8216;s\/:\/\/g&#8217; | cksum | cut -f1 -d&#8221; &#8220;`) ;<br \/>\n{\/code}<\/p>\n<p>Also change apname so it matches the macs host name and remove .local bonjour from the hostname<\/p>\n<pre>my $apname = `hostname | sed 's\/.local\/\/g'`;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Airtunes Perl Software Note that you need to also install\u00a0p5-libwww-perl to get this to work on a mac albertz-shairport-d670169 Check Here https:\/\/github.com\/albertz\/shairport [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-493","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=493"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/493\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}