New Volumio Spotify Plugin Open Beta-Testing

Uninstalled 3.0.4, rebooted, then installed 3.0.6.

Solved:

  • No more OAuth en API Key errors
  • Connect from Android Spotify app works
  • Spotify search from VolumioUI works, able to queue tracks, albums, playback works

There’s one situation however where I can get a library track and a Spotify track playing simultaneously:

To reproduce:

  • Add a library track to the queue, then a Spotify tracks then another library track, and play.
  • Wait till the library track ends and the Spotify track starts to play. Open the Android Spotify app and you’ll noticed Spotify Connect is active.
  • Now, pause playback in the Android Spotify app and the next library track in queue will start to play on Volumio
  • Now, press play again in the Android Spotify app. The Spotify track starts to play again however the library track continues to play as well.

Tracks in queue:

"Mr Bishi"
Service: mpd Uri: mnt/NAS/md0storage-music/albums/Tetra Splendour/Tetra Splendour - (2002) - Splendid Animation/07 Tetra Splendour - Mr Bishi.mp3 Artist: Tetra Splendour Album: Splendid Animation Albumart: /albumart?cacheid=728&web=Tetra%20Splendour/Splendid%20Animation/extralarge&path=%2FNAS%2Fmd0storage-music%2Falbums%2FTetra%20Splendour%2FTetra%20Splendour%20-%20(2002)%20-%20Splendid%20Animation&metadata=false

"Milquetoast"
Service: spop Uri: spotify:track:6IsnrcSZvmmd5db8QpQb91 Artist: Helmet Album: Betty Albumart: https://i.scdn.co/image/ab67616d0000b273f9cbf0cd40391d985b2af57b

"Weakling"
Service: mpd Uri: mnt/NAS/md0storage-music/albums/Tad/Tad - (1995) - Infrared Riding Hood/08 Tad - Weakling.mp3 Artist: Tad Album: Infrared Riding Hood Albumart: /albumart?cacheid=728&web=Tad/Infrared%20Riding%20Hood/extralarge&path=%2FNAS%2Fmd0storage-music%2Falbums%2FTad%2FTad%20-%20(1995)%20-%20Infrared%20Riding%20Hood&metadata=false

"Brother"
Service: mpd Uri: mnt/NAS/md0storage-music/albums/Alice In Chains/Alice In Chains - (1992) - Sap/01 Alice In Chains - Brother.mp3 Artist: Alice In Chains Album: Sap Albumart: /albumart?cacheid=728&web=Alice%20In%20Chains/Sap/extralarge&path=%2FNAS%2Fmd0storage-music%2Falbums%2FAlice%20In%20Chains%2FAlice%20In%20Chains%20-%20(1992)%20-%20Sap&metadata=false

"Wilma's Rainbow"
Service: spop Uri: spotify:track:3QKloANAAhqsgRXAuBioYv Artist: Helmet Album: Betty Albumart: https://i.scdn.co/image/ab67616d0000b273f9cbf0cd40391d985b2af57b

"Schema"
Service: mpd Uri: mnt/NAS/md0storage-music/albums/Circa Survive/Circa Survive - (2014) - Descensus/01 Circa Survive - Schema.mp3 Artist: Circa Survive Album: Descensus Albumart: /albumart?cacheid=728&web=Circa%20Survive/Descensus/extralarge&path=%2FNAS%2Fmd0storage-music%2Falbums%2FCirca%20Survive%2FCirca%20Survive%20-%20(2014)%20-%20Descensus&metadata=false

http://logs.volumio.org/volumio/x8lGl6i.html

Thanks @volumio for providing us with updates this frequently!

3 Likes

In the new plugin loop/repeat doesn’t work! If I select loop mode (when playlist finish restart) the only things that happen is Repeat the song is on (always the same song) if deselect loop mode start normally to skip the song when finish. I need for loop mode for my playlists list thanks

2 Likes

Same for me :+1: :+1: :+1:
Working in v3.0.6

1 Like

Now it doesn’t skip by the entire playlist, but there is no sound, could the plugin be using the wrong output source?

1 Like

v3.0.6 stopped working when trying to select Spotify under the sources menu.

The log has multiple warnings like this error: Failed to refresh Token: Timeout

That comment saved me! Installed 3.0.6 on three RPis this morning. No Spotify browsing. Login clearly worked because Spotify emailed me to warn me of a new login. Turns out I just needed to restart after the Spotify login. Enabling the plugin was also a bit glitchy - I got a prompt to enable, had to click the ‘enable’ button two or three times to actually dismiss it.

1 Like

Thanks for the great work!

After upgrading Volumio volume jumps back to 100% at the beginning of each new song after lowering it via Spotify connect. Anyone else experiencing this?

Spotify 3.0.6 still not working for me.
A song will play for about 2 seconds then stop.

In the log I see:
Aug 25 07:03:41 volumio kernel: bcm2835-i2s 3f203000.i2s: I2S SYNC error!

http://logs.volumio.org/volumio/tHgY0su.html
Around Aug 25 07:03:41

And now Tidal is broken as well - crying an ocean of tears…

1 Like

Question. I normally listen to Qobuz, which works very well with the newest volumio version.

But every now and then, I like to use a spotify playlist. (the discovery / curated playlists are just too good). Should I even install this plugin? As far as I understand, spotify connect works just fine without this plugin?

You need to install the plugin Spotify 3.0.6 :wink:

1 Like

Same for me, it jumps back to the volume you have set up in volumio, ie: if you have 70 volume in volumio but you change from Spotify to 30, next song will go back to 70. When you change the volume from the volumio GUI it does change in Spotify.

3 Likes

I have another issue where Spotify playback all of a sudden stops.
This occurs when I add one or more albums to the queue and play.
It happens sporadically, anywhere from 5-60 minutes after starting playback.
From that moment on I am unable to browse or use Spotify otherwise.
Disabling/Enabling the plugin restores functionality.

Issue looks the same as: https://github.com/dtcooper/raspotify/issues/166

http://logs.volumio.org/volumio/1CmQFP2.html

Probably a network drop caused this issue: Volumio Client does not appear in other Spotify Client after:

  1. Spotify is paused via remote app
  2. Network glitch
  3. Reconnect

After I restart the plugin, all is well

[Vollibrespot] : Event: Pause { track_id: SpotifyId { id: 147453365390017772097249901945789626903, audio_type: Track }, position_ms: 299580 }
[SpotifyConnect]  pause
[SpotifyConnect]  Suffer Little Children - 2011 Remaster
info: [1662114481521] ControllerSpotify::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
[Vollibrespot] : Event: SinkInactive
[SpotifyConnect]  Sink released
info: [1662114481996] ControllerSpotify::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
[Vollibrespot] : Event: PlaybackStopped { track_id: SpotifyId { id: 147453365390017772097249901945789626903, audio_type: Track } }
[SpotifyConnect]  Device palyback is inactive
RRM: Ignoring radio measurement request: Not RRM network
RRM: Ignoring radio measurement request: Not RRM network
wlan0: carrier lost
wlan0: Associated with 3c:37:12:91:bc:c2
wlan0: CTRL-EVENT-CONNECTED - Connection to 3c:37:12:91:bc:c2 completed [id=0 id_str=]
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Withdrawing address record for 192.168.178.23 on wlan0.
Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.178.23.
Interface wlan0.IPv4 no longer relevant for mDNS.
wlan0: deleting route to 192.168.178.0/24
wlan0: deleting default route via 192.168.178.1
info: mDNS: A device disapperared from network
info: mDNS: Device volumio3 disapperared from network
wlan0: carrier acquired
wlan0: IAID 32:ad:42:7b
wlan0: soliciting an IPv6 router
wlan0: rebinding lease of 192.168.178.23
Deleting interface #29 wlan0, 192.168.178.23#123, interface stats: received=149, sent=150, dropped=0, active_time=1905 secs

I have a problem with the credentials.
I can log in to Spotify, but after every start of the Volumio I am logged out.

Is ther a way to stay logged in?

Best regards
Kristian

This plugin has bugs. I use Volumio 3, fresh update. I installed the plugin 3.0.6, these are the discovered bugs:

  • Spotify option does not appear on the “Browse” list until you log in and restart,
  • playing Spotify tunes from Volumio is not possible, you click Play but nothing plays. Changing volume between 0 and 100 causes time of a tune jump every time you release Volume “knob” (but no music).
  • casting tunes from the Spotify app on my phone works fine, but the tunes are not displayed in Volumio main dashboard. The music is audible but somehow Volumio does not display anything about the being played tune.

So it seems to be very buggy. Good luck with bug-fixing and appreciation for work of anyone who contributes to this plugin!

Hi, I installed as advised here and have a Spotify-Peppymeter conflict. Both work fine independently, but as soon as the PeppyMeter Screensaver plugin is ON Spotify stops playing. Everything seems to be fine and the song progresses but there is no sound and the needles aren’t moving. When PeppyMeter Screensaver is OFF Spotify plays seamlessly. I went through the forum but couldn’t find a remedy.

RPi3 vB
Dac - Audiophonics I-Sabre V4
Volumio v3.324
Spotify 3.0.6
PeppyMeter 1.3.0

I’d appreciate any help!

Hi Longplayer,

unfortunately Peppymeter is not supported as there is no plugin for it yet.

i also would appreciate much that would happen one day, but for now you should post to the peppymeter thread, i think.

br
Josef

Ok thanks, sorry I got confused by the various threads.

2 Likes

Same here…

New Spotify Issue

System Information

* OS info

* Version of Volumio: 3.324
* Hostname: volumio3dev
* Kernel: 5.10.92-v7+
* Governor: performance
* Uptime: 0 days, 0 Hrs, 57 Minutes, 48 Seconds

* Audio info

* Hw audio configured: Jabra Link 370
* Mixer type: Hardware
* Number of channels: 2
* Supported sample rate: 44100 48000

* Spotify Plugin info
* Version 3.0.6

* Board info

* Manufacturer: Raspberry Pi Foundation
* Model: Raspberry Pi 3 Model B Plus Rev 1.3
* Version: a020d3
* Firmware Version: Jan 20 2022 13:58:22 - bd88f66f8952d34e4e0613a85c7a6d3da49e13e2

* CPU info

* Brand: BCM2837
* Speed: 1.4Ghz
* Number of cores: 4
* Physical cores: 4
* Average load: 23%
* Temperature: 59°C

* Memory info

* Memory: 990012 Ko
* Free: 243280 Ko
* Used: 746732 Ko

* Storage info

* INTERNAL storage - Size: 4793Mo
* Used: 2365Mo
* Available for storage: 2178Mo (45%)

When playing mixed playlist with both MPD tracks (service:mpd) and Spotify tracks (service:spop) the song following any Spotify track no longer reports the service via either the getState REST API or Websocket API or the DEV page

“Clear and play” the same playlist or another playlist clears the problem until the next Spotify track finishes

Below are the results from the DEV page before, during and after Spotify track moves to next track either manually or previous song finished.

Freshloaded playlist:

Player State

{“status”:“play”,“position”:0,“title”:“Party Like a Rock Star”,“artist”:“Shop Boyz”,“album”:“Shop Boyz”,“albumart”:"/albumart?cacheid=456&web=Shop%20Boyz/Shop%20Boyz/extralarge&path=%2FNAS%2FMusic%2FShop%20Boyz&metadata=false",“uri”:“mnt/NAS/Music/Shop Boyz/Party Like a Rock Star.mp3”,“trackType”:“mp3”,“seek”:43778,“duration”:252,“samplerate”:“44.1 kHz”,“bitdepth”:“24 bit”,“channels”:2,“random”:false,“repeatSingle”:false,“consume”:false,“volume”:17,“dbVolume”:null,“disableVolumeControl”:false,“mute”:false,“stream”:“mp3”,“updatedb”:false,“volatile”:false,“service”:“mpd”}

Playing Spotify track:

Player State

{“status”:“play”,“title”:“Mi Gente - Dillon Francis Remix”,“artist”:“J Balvin, Willy William, Dillon Francis”,“album”:“Mi Gente (Dillon Francis Remix)”,“albumart”:“https://i.scdn.co/image/ab67616d0000b27327c7103384cf04d310af12f0",“uri”:“spotify:track:3I9Hc2042AjwkkNBI9HWE1”,“trackType”:“spotify”,“seek”:12002,“duration”:206,“samplerate”:"320 kbps”,“bitdepth”:“16 bit”,“channels”:2,“consume”:false,“volume”:17,“dbVolume”:null,“mute”:false,“disableVolumeControl”:false,“stream”:false,“volatile”:true,“service”:“spop”}

After Spotify track finishes or skip

Player State

{“status”:“play”,“title”:“Operator”,“artist”:“Real McCoy”,“album”:“Another Night [UK]”,“albumart”:"/albumart",“uri”:“NAS/Music/Real McCoy/Another Night [UK]/09 Operator.mp3”,“trackType”:“mp3”,“seek”:12868,“duration”:327,“samplerate”:“44.1 kHz”,“bitdepth”:“24 bit”,“channels”:2,“random”:false,“repeat”:false,“consume”:false,“volume”:17,“dbVolume”:null,“mute”:false,“disableVolumeControl”:false,“stream”:false,“volatile”:true}

Here is the bug report: http://logs.volumio.org/volumio/JzZfjfi.html

1 Like