Following up on these dablings on installing librespot on a Raspberry Pi, community member @Tony_Reimann kindly referred to RaSpotify (released sometime after the original thread): a fully packaged librespot for the Pi, installable by copying-and-pasting one single line of code.
After installing RaSpotify, your Pi will appear as a Spotify Connect endpoint. It can live in harmony with Roon Bridge (make sure playback has ended on one before switching to the other) on a distribution of choice (DietPi, Raspbian).
I’ve been able to install Raspotiy/Librespot successfully and can leverage my Raspberry 3 + Justboom Digi Hat as a Spotify Connect endpoint. The only issue is that the volume in my Spotify App (Android) always starts out at 100% which is way too loud. Is there a way to set the initial volume to say 10% or something?
Just installed new DietPi, v158 with Raspotify onboard. But there is no sound. As I understand there is a need to change audio output in Raspotify? Any advice how can I do it?
SOLVED: found the answer. aplay -L command helped me to understand that my device is not hw:1,0.
In settings file I had to add --device CARD=Audio (external NAD DAC) and voila! everything’s fine. Thanks @RBM once again.
Please can somebody explain how to setup Spotify Connect on DietPi? I have an RPI 3 with DietPi installed. I can access the DietPi web UI by browsing to the IP address, and Roon works great (using Allo DigiOne).
I understand that I need to access the terminal and run a Curl command to install Raspotify. How do I get to the terminal?
I have not enabled SSH - I don’t know how to. When I plug in a monitor to the HDMI port on the RPI, I don’t see anything. The RPI seems to be unresponsive to the USB keyboard I attached also.
On OS X, open your Applications folder, then open the Utilities folder. Open the Terminal application. In terminal enter ssh email@example.com
Replace the IP address in the command with the IP address of your RPi running dietpi. The password when prompted is dietpi
That should get you ssh access where you can run dietpi-software and install raspotify.
I should add that I am not a Mac user so I may have got this wrong.