Spotify Connect

Hello,
not sure this is the right place to post this, but I just wanted to say thank you. I just installed balbuze’s Spotify Connect plugin on two Raspberry Pi 3s running Volumio 2, and it installed smoothly without a hitch, and it works. Thank you so much for making that possible!

Best wishes,
wagnertoph

Yep, it’s great. All congrats to Balbuze.

Come on people … make those plugins for whatever you like.

It always the good place to say thank you ! So thank you for your thank you ! :wink:

Hi balbuze,

first off all thank you for your plugin. I managed to upload/install the plugin via the volumio webinterface. Unfortuntately the plugin stays inactive.

I’m using:
RPi B+
hifiberry digi+ dac
Mixer: None

startconnect.sh:

Hi!
Have a premium or family account ?
If yes :
Are you sure of your credentials ?
yes :
Try to disable plugin in webUI, wait 1O sec and enable it…
Check in Spotify app if you see your device.
If not check

systemctl status volspotconnect

if not working, try to launch “by hand”

sudo /data/plugins/music_service/volspotconnect/spotify-connect-web/startconnect.sh

and paste what is returned.

Hi balbuze,

merci beaucoup for your quick response.

systemctl gave me an mixer error:

i then switched to to the software mixer in the volumio settings, it’s working now. Thank you.
So just for clarification and the possible future question of other users:
You have to enable the software mixer?

Thank you & can i donate some € to your project?

The problem came from the value returned by volumio for the mixer. Changing to softvol refreshed it. And it should works with “none” as mixer.

I just do it for fun and pleasure and for my personal use. If I found it useful for other I share it…
But you can still donate to Volumio porject, have a look here, there a “donate” link : https://volumio.org/blog/

Hi balbuze,

thank you so much! Your plug-in works fine for me. I only encounter two problems with the plug-in:

  1. I cannot change the volume in the Spotify app.
  2. I cannot use Airplay anymore.

Are there fixes for those problems? I have looked for it, but could not find anything.

Thank you very much!
Roman

Hi balbuze,

I am impressed by your work. The plugin is really amazing. I am using it for a few weeks now and it works flawlessly.

One note:
I tried volspotconnect2 from your github and it installed without any problems. Also streaming works out of the box. However, compared to volspotconnect, volspotconnect2 stops playing after one song. Not sure why this is. If you need further debugging information, let me know.

BR
Nils

You might like to open an issue on Github https://github.com/balbuze/volumio-plugins/tree/master/plugins. Balbuze will see that directly without the chance of missing it on this forum.

@romanempire
The plugin use the mixer than Volumio. If you have set a mixer, it should work. Of course if in Volumio it is set to “none” you won’t be able to change volume from Spotify app.
What is your device and DAC ?

@supernils
As @chrism1 wrote we can discuss about this on github. The problem is known and I know how to solve it, but it’s a early dev and I want to solve a other problem before that one. Ok if you wan to test, but one day it work, one day it does not work… This the life for this kind of dev…
Use volspotconnect (1) it seems to be stable enough…

ok, sure no problem. I was not really sure where to report it, as I am not so familiar with GitHub. I will follow github and report any further problems there.

Keep up the good work!

Balbuze,

Still many many many thanks for making this plugin possible. The little fiddler I am, I found your volspotconnect2 git… Installation on a Pi2/3; flawless! Installation on the Pi1B+ not so much, but I think that’s because you had to change some stuff for the original plugin too (chroot or something like that).

Just wondering, are you planning to port it to the Pi1? I use the plugin (#1 that is) very often on my B+, works like a charm really. The ‘official’ volumio Spotify plugin works great, just not on my Pi1B+, it has problems fetching the lists (playlists/search results), the connect plugin however does not seem to experience any problems. Not even with the massive lack of computing power, which is awesome!

Keep it up! Awesome work! If I (or anyone really I guess) can help, just holler (I might not read it in the thread, but feel free to contact me :wink: )

@Salayto,
thanks a lot !
Volspotconnect2 is just a early dev, even if it works…I’m surprsie it doesn’t work on your RPI B+… There is only one plugin. No chroot…
Could you give more detail ? What is your DAC ? and mixer setting in Volumio ?
What returns

 systemctl status volspotconnect2 volspotconnect22

Hi Balbuze,

I must apologize, the fact that I had other problems should’ve triggered my spidey senses :blush: I think the SD-card was corrupted.
Installation was flawless on the PiB+ this morning (freshly imaged SD-card).

Not sure whether it affects performance, but turning the plugin on causes these messages in the journal:

Jan 27 12:27:52 volumio volumio[6538]: WARN:mdns::fsm: couldn't parse packet from V4(192.168.178.72:5353): class 32769 is invalid Jan 27 12:27:53 volumio volumio[6538]: WARN:mdns::fsm: couldn't parse packet from V4(192.168.178.51:5353): class 32769 is invalid

This happens every 1, 2 or three seconds. The IP addresses are of the two Pi’s running OSMC. Not sure why it tries to connect over port 5353 to only those hosts… I have three other Pi’s in the network (two Volumio and on Pilight), those IP’s are not shown.

Don’t know… But maybe something a bonjour service is running on your other service and the plugin publish a service through avahi… Try to disable sahred device in the plugin to see if it stops.

Apparently editing my reaction ended up in me quoting myself… lame, didn’t mean to.

But thanks for the tip, will try to test it this weekend. :slight_smile:

Hello, just wanted to start by saying thank you for all your efforts on this plugin, it’s been working very well on my pi v1!
I followed the instructions and installed using a prebuilt chroot, the pi shows up and works in Spotify however none of the lastfm arguments are recognised.
Any help on getting them to work would be appreciated.

Thanks!

I have a raspberry pi 2 running volumio version 2.118. When I attempt to install the volspotconnect or volspotconnect2 plugins posted on github, the installation fails.

When attempting to install volspotconnect, the error I get is:

Downloading plugin at http://127.0.0.1:3000/plugin-serve/volspotconnect.zip END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/volspotconnect.zip Creating folder on disk Unpacking plugin Checking for duplicate plugin Copying Plugin into location Installing dependencies Installing spotify-connect-web dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: avahi-utils 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 50.9 kB of archives. After this operation, 103 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! avahi-utils Detecting cpu Cpu is armv7l, downloading required package Failed to download. Stopping installation now The following error occurred when installing the plugin: Error

When attempting to install volspotconnect2, the error I get is:

Downloading plugin at http://127.0.0.1:3000/plugin-serve/volspotconnect2.zip END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/volspotconnect2.zip Creating folder on disk Unpacking plugin Checking for duplicate plugin Copying Plugin into location Installing dependencies Installing spotify-connect-web dependencies Detecting cpu Cpu is armv7l, downloading required package. Failed to download. Stopping installation now The following error occurred when installing the plugin: Error

Any ideas as to why this error is occuring? Also, I then figured I would try to ssh in and install the plugin manually, but found that the volumio/volumio account is working when I attempt to ssh in.