{"id":2743,"date":"2014-01-29T21:33:50","date_gmt":"2014-01-29T21:33:50","guid":{"rendered":"http:\/\/gadgets.itwriting.com\/?p=2743"},"modified":"2019-01-21T08:55:35","modified_gmt":"2019-01-21T08:55:35","slug":"hope-for-squeezebox-as-raspberry-pi-becomes-a-streaming-player","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/2743-hope-for-squeezebox-as-raspberry-pi-becomes-a-streaming-player.html","title":{"rendered":"Hope for Squeezebox as Raspberry Pi becomes a streaming player"},"content":{"rendered":"<p>Now that Logitech has near-abandoned the Squeezebox (the one remaining player is the <a href=\"http:\/\/ue.logitech.com\/en-gb\/smart-radios\" target=\"_blank\">UE Smart Radio<\/a>, and even that is not quite a Squeezebox client unless you download different firmware), existing users may be concerned for the future of the system.<\/p>\n<p>Squeezebox consists of free server software which runs on a PC or NAS (Network Attached Storage) device, while the players are supplied by Logitech and controlled by a web app or smartphone\/tablet app. Although more fiddly to set up than rivals like Sonos, Squeezebox is a strong choice for multi-room audio at a modest choice, and its community has come up with solutions such as support for high-resolution audio.<\/p>\n<p>The latest community innovation is a project to make a Raspberry Pi into a Squeezebox client. <a href=\"https:\/\/sites.google.com\/site\/picoreplayer\/home\" target=\"_blank\">piCorePlayer<\/a> is delivered as an image file which you can write to an SD card. Pop the card into a Raspberry Pi, supply power, and it is ready to go \u2013 meaning that you need no longer worry about getting hold of a Squeezebox player.<\/p>\n<p><a href=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2014\/01\/image_31.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2014\/01\/image_thumb_31.png\" width=\"404\" height=\"264\"><\/a><\/p>\n<p>The OS is the MicroCore version of <a href=\"http:\/\/distro.ibiblio.org\/tinycorelinux\/welcome.html\" target=\"_blank\">Tiny Core Linux<\/a>, and the player is Triode\u2019s <a href=\"https:\/\/code.google.com\/p\/squeezelite\/\" target=\"_blank\">Squeezelite<\/a>.<\/p>\n<p>I gave this a try. It was almost very easy: my Pi booted successfully from the piCorePlayer image and was immediately recognised by my Logitech Media Server. The player supports output to the built-in audio jack, or HDMI, or a USB DAC, or an add-on DAC for the Raspberry Pi called <a href=\"http:\/\/www.hifiberry.com\/\" target=\"_blank\">HifiBerry<\/a>.<\/p>\n<p>I am using a USB DAC (Teac UD-H01) which requires a little extra configuration. I logged in to the piCorePlayer using Putty, and typed picoreplayer to display the configuration menu:<\/p>\n<p><a href=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2014\/01\/image_32.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2014\/01\/image_thumb_32.png\" width=\"404\" height=\"194\"><\/a><\/p>\n<p>Configuring a USB DAC is a matter of getting a list of available ALSA devices and setting the output accordingly.<\/p>\n<p>It worked, but oddly I found that FLAC in 16\/44.1 format played with crackling and distortion. 24-bit files played perfectly.<\/p>\n<p><a href=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2014\/01\/image_34.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2014\/01\/image_thumb_34.png\" width=\"404\" height=\"274\"><\/a><\/p>\n<p>The only solution I have found (though it sounds counter-intuitive) is to force output to 16-bit by adding \u2013a 40::16 to the Squeezelite arguments. Everything now plays nicely, though limited to 16-bit &#8211; you are unlikely to notice much difference but it is a compromise.<\/p>\n<p>If you try piCorePlayer, here are a few tips. <\/p>\n<p>Log in with user: tc pwd: nosoup4u<\/p>\n<p>The Squeezelite executable is stored at:<\/p>\n<p>\/mnt\/mmcblk0p2\/tce<\/p>\n<p>and the settings scripts are in<\/p>\n<p>\/usr\/local\/sbin\/settings_menu.sh<\/p>\n<p>If you need to edit the configuration without the script, you can use vi, which is the only pre-installed editor I have found. Quick start with vi:<\/p>\n<ul>\n<li>Type i to enter edit mode<\/li>\n<li>Press ESC to enter command mode<\/li>\n<li>Quit without saving by typing :q!<\/li>\n<li>Save and quit by typing :wq<\/li>\n<\/ul>\n<p>There are plenty of vi tutorials out there if you need to know more!<\/p>\n<p>Finally, note that this version of Linux runs in RAM. If you make changes they will not persist unless you create a \u201cbackup\u201d with <\/p>\n<p>\/usr\/bin\/filetool.sh \u2013b<\/p>\n<p>This is also an option in the picoreplayer menu, and must be used if you want your changes to survive.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that Logitech has near-abandoned the Squeezebox (the one remaining player is the UE Smart Radio, and even that is not quite a Squeezebox client unless you download different firmware), existing users may be concerned for the future of the system. Squeezebox consists of free server software which runs on a PC or NAS (Network &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/2743-hope-for-squeezebox-as-raspberry-pi-becomes-a-streaming-player.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Hope for Squeezebox as Raspberry Pi becomes a streaming player<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1064,1142],"tags":[176,1406,863],"class_list":["post-2743","post","type-post","status-publish","format-standard","hentry","category-audio","category-gadgets","tag-audio","tag-raspberry-pi","tag-squeezebox"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/2743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=2743"}],"version-history":[{"count":1,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/2743\/revisions"}],"predecessor-version":[{"id":11355,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/2743\/revisions\/11355"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=2743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=2743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=2743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}