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).
In DietPi, the installation is for Spotify Connect Web, which needs a developer key and uses the old, deprecated Spotify API, that has been shut down by Spotify some time ago.
@Dan_Knight: you may want to replace SCW with RaSpotify in DietPi if possible?
Sorry noob question, having problem with changing alsa playback option on the spotify connect.
Its on card 2 accoring to aplay -l
Kindly please let me know what should i change to enable the spotify connect to use card 2 on my raspberry pi using dietpi software
Yes I have it running. I manually installed it on Dietpi using the instructions on the github page rather than using the installer which appears to check it is running on a RPi
Does this allow any user on the local network to play through the spotify connect endpoint ? Or must the spotify client be logged in as the same user as the endpoint uses ?
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 root@192.168.0.100
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.
Trying to get this to work and below is my output for my ifi DAC:
card 1: Audio [iFi (by AMR) HD USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
I added --device CARD=Audio
No success, do I need quotes around “CARD=Audio”