No sound from Spotify

I’m using a soekris dam1021 with RPi3 and Volumio.

I have normal playback from web radio and music stored on my NAS but when I try using my Spotify premium account I get no sound.

Volumio shows up as a device and when I press play the music from other sources stops but no sound comes from out.

Any ideas? I’m using a Samsung S8 and have installed Spotify and Spotify connect plugins to Volumio.

Can you share logs from the Spotify Connect plugin when you are trying to play music with Spotify?
Logs are available via ssh with

sudo journalctl -b -u volspotconnect2.service

Also, can you provide the output of

 aplay -L

and

cat /data/plugins/music_service/volspotconnect2/startconnect.sh

Please remove your username and password before posting here if it contains it :wink:

You lost me at ssh, I assume it’s a way of looking at command line code or underlying processes? Not sure how I do that though

volumio.github.io/docs/User_Manual/SSH.html

Cheers!

I see various problems with volspotconnect2 documented in different threads.
Literally spoken, I have them all.
So, where to begin?

I use volumio on a Raspberry Pi 3. The version of Volumio is 2.502 and the volspotconnect2 is 0.7.4.
It is a fresh install with music on a locally connected usb drive.
Sound output is a noname usb device atm.
The RPi is connected to my local wlan with fixed ip. The system runs 24/7.
I also put in a smbpassword for the volumio user to have the usb drive usable as data storage as well.

I have a Spotify premium contract.
After typing in my account data and a save and reboot, just to be sure, i get music playing by webradio, own flac files and the like.

Yes, volspotconnect2 plugin works as well!

Now, the problems. Without order of appearance:
After some time, be it minutes, hours…i get

  • The RPi sometimes and all of a sudden disappears from the Spotify app on Android, Linux and Win10 as a streaming - to- device
  • Multiroom connection to another RPi with an older version of volumio does not work reliably
  • If the connect is up, sometimes music stops playing but the playtime displayed in the webinterface continues
  • Playtime sometimes is incorrect when the webinterface is refreshed
    …you name it

Anytime, after a reboot, everything is ok. For a while…

Not solving the problems of the volumio networking (no hotspot after wlan disconnect, no reconnect after wlan reappears etc…etc…)
which is not related to volspotconnect2
i got one sure remedy

I ssh into volumio and do a

cd /data/plugins/music_service/volspotconnect2

followed by:

sh startconnect.sh &

I thought the connect would fork into background immediately but it took a while.

I did this 3 days ago and my system runs flawlessly
:smiley:

If this works for you, the it actually points to instability in the interfacing of Spotify Connect daemon with the Volumio system! To be honest - I haven’t tested anything with the new version (2.502) of Volumio.
Also your approach will not give you metadata in the WebUI or let other streams coexist with Spotify right?

All that being said - there is new version that should help soon :slight_smile: