it got fixed. it was spotify API that they messed up.
Thank you! I hadn’t seen the other thread. I had to remove the plugin, restart, and remove the bad lines from my hosts file, but it’s working now.
OK - in the past week or so - writing this as of Sept 9, 2024, Spotify won’t connect to the plugin.
I’ve updated Volumio on the rpi, uninstalled and updated the plug in.
I can log into my spotify account on the plug-in, and the spotify app on my phone sees the device but won’t connect.
What am I missing?
it wasnt working also for us because of the Spotify API but not its working fine. did you test it again?
Yep, I’ve reinstalled everything this afternoon. Can’t seem to connect whether I try from desktop or mobile app.
Any quick way to trouble shoot if the issue is with my rPI, or with spotify that I can’t control?
The webradio sources in volumio seems to be working just fine - so I think I can rule out issues with the rPI.
you can check the logs under dev what error you are getting…your issue might be different than us…
Thanks guys for the report, we confirmed it and are on it
well - I decided to do the clean wipe and reflash the sd card. Everything is back to working.
Maybe not the most helpful feedback, but it worked.
Can confirm the same. Did a clean install and Spotify installed without a glitch.
Same here, factory reset from the menu, everything works fine again
Hello,
I can see the spotify buttton but the tracks are not playing. How can I solve this issue ?
It was working before.
Volumio 3.742 (premium)
Spotify plugin 4.1.0
Raspberry Pi4 / Audiophonics Evo-SABRE
Thank you for your help,
Stéphane
see previous postings
Hello Wheaten, Thank you for your tip. So I have to clean install everything on the SD card, right ?
Is there a way to save my playlists ?
Thank you for your help
If you have a subscription it’s already back-upped by Volumio and restored on login.
If not you need to backup:
/data/favourites
/data/playlist
today, plugin stopped to play in the middle of track,
trying relogin to plugin - not authenticating,
logout, reboot then login - not authenticating,
reinstalled Volumio, install plugin, try to login - not authenticating,
wait over 1 hour - authentication to plugin pass successful, Spotify started play.
Whats going on ?
Spotify plugin - most actual is not working anymore here also on Volumio x86 V3.742.
And - I really DON´T want to do a clean install
BR Sascha
Volume since 2013
For my two tinker board systems the spotify plugin v4.1.0 stopped working since upgrade to volumio 3.742, while verything is fine for my raspberry.
Update 16/9: inexplicably, things work again a day later
I went through a full factory reset (and fresh installation procedure), but the problem persist: I can browse my playlists, instruct it to play audio, but no actual sounds comes through. My ‘local’ (NAS drive) music plays without issues.
Running this on a Raspberry Pi with Audioquest Dragonfly USB DAC.
So, I enabled SSH and traced the logs with sudo journalctl -f
, which gives me the following when trying to play a track on Spotify:
Sep 15 12:37:52 music volumio[1071]: SPOTIFY: received: {"type":"playing","data":{"uri":"spotify:track:0rUIff1QHd5zlOBtlHVqd9","play_origin":"go-librespot"}}
Sep 15 12:37:52 music volumio[1071]: SPOTIFY: PUSH STATE SPOTIFY
Sep 15 12:37:52 music volumio[1071]: SPOTIFY: {"status":"play","service":"spop","title":"Red Eyes","artist":"The War On Drugs","album":"Lost In The Dream","albumart":"https://i.scdn.co/image/ab67616d00001e02f34338e9270f9c0561cf4c7e","uri":"spotify:track:0rUIff1QHd5zlOBtlHVqd9","trackType":"spotify","seek":1,"duration":298,"samplerate":"44.1 KHz","bitdepth":"16 bit","bitrate":"320 kbps","codec":"ogg","channels":2,"random":null,"repeat":null,"repeatSingle":null}
Sep 15 12:37:52 music volumio[1071]: info: CoreCommandRouter::servicePushState
Sep 15 12:37:52 music volumio[1071]: info: CorePlayQueue::getTrack 0
Sep 15 12:37:52 music volumio[1071]: verbose: STATE SERVICE {"status":"play","service":"spop","title":"Red Eyes","artist":"The War On Drugs","album":"Lost In The Dream","albumart":"https://i.scdn.co/image/ab67616d00001e02f34338e9270f9c0561cf4c7e","uri":"spotify:track:0rUIff1QHd5zlOBtlHVqd9","trackType":"spotify","seek":1,"duration":298,"samplerate":"44.1 KHz","bitdepth":"16 bit","bitrate":"320 kbps","codec":"ogg","channels":2,"random":null,"repeat":null,"repeatSingle":null}
Sep 15 12:37:52 music volumio[1071]: verbose: CURRENT POSITION 0
Sep 15 12:37:52 music volumio[1071]: info: CoreStateMachine::syncState stateService play
Sep 15 12:37:52 music volumio[1071]: info: CoreStateMachine::syncState currentStatus stop
Sep 15 12:37:52 music go-librespot[1236]: time="2024-09-15T12:37:52Z" level=debug msg="fetched chunk 2/24, size: 524288" uri="spotify:track:0rUIff1QHd5zlOBtlHVqd9"
Sep 15 12:37:52 music volumio[1071]: SPOTIFY: PUSH STATE SPOTIFY
Sep 15 12:37:52 music volumio[1071]: SPOTIFY: {"status":"play","service":"spop","title":"Red Eyes","artist":"The War On Drugs","album":"Lost In The Dream","albumart":"https://i.scdn.co/image/ab67616d00001e02f34338e9270f9c0561cf4c7e","uri":"spotify:track:0rUIff1QHd5zlOBtlHVqd9","trackType":"spotify","seek":1,"duration":298,"samplerate":"44.1 KHz","bitdepth":"16 bit","bitrate":"320 kbps","codec":"ogg","channels":2,"random":null,"repeat":null,"repeatSingle":null}
Sep 15 12:37:52 music volumio[1071]: info: CoreCommandRouter::servicePushState
Sep 15 12:37:52 music volumio[1071]: info: CorePlayQueue::getTrack 0
Sep 15 12:37:52 music volumio[1071]: verbose: STATE SERVICE {"status":"play","service":"spop","title":"Red Eyes","artist":"The War On Drugs","album":"Lost In The Dream","albumart":"https://i.scdn.co/image/ab67616d00001e02f34338e9270f9c0561cf4c7e","uri":"spotify:track:0rUIff1QHd5zlOBtlHVqd9","trackType":"spotify","seek":1,"duration":298,"samplerate":"44.1 KHz","bitdepth":"16 bit","bitrate":"320 kbps","codec":"ogg","channels":2,"random":null,"repeat":null,"repeatSingle":null}
Sep 15 12:37:52 music volumio[1071]: verbose: CURRENT POSITION 0
Sep 15 12:37:52 music volumio[1071]: info: CoreStateMachine::syncState stateService play
Sep 15 12:37:52 music volumio[1071]: info: CoreStateMachine::syncState currentStatus play
Sep 15 12:37:52 music volumio[1071]: info: Received an update from plugin. extracting info from payload
Sep 15 12:37:52 music volumio[1071]: info: CoreStateMachine::pushState
Sep 15 12:37:52 music volumio[1071]: info: CorePlayQueue::getTrack 0
Sep 15 12:37:52 music volumio[1071]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
Sep 15 12:37:52 music volumio[1071]: info: CoreCommandRouter::volumioPushState
Sep 15 12:37:52 music volumio[1071]: info: CoreStateMachine::pushState
Sep 15 12:37:52 music volumio[1071]: info: CorePlayQueue::getTrack 0
Sep 15 12:37:52 music volumio[1071]: info: CoreCommandRouter::volumioPushState
Sep 15 12:37:52 music volumio[1071]: SPOTIFY: RECEIVED VOLUMIO VOLUME 22
Sep 15 12:37:52 music volumio[1071]: SPOTIFY: RECEIVED VOLUMIO VOLUME 22
I can’t spot any errors/exceptions.
PS no issues playing spotify on other devices
(/edit) kept an eye on the STDOUT and found some additional info.
- I can see access tokens being refreshed:
Sep 15 13:22:27 music volumio[1071]: info: In handleBrowseUri, curUri=spotify
Sep 15 13:22:28 music volumio[1071]: info: New access token = BQC........MBCdm
Sep 15 13:22:28 music volumio[1071]: info: New access token = BQBW...Cix7n-
Sep 15 13:22:28 music volumio[1071]: info: New access token = BQDsSf...44LKcWBr
(a bit weird that 3 new access tokens seem to be obtained)
And perhaps most interesting this warning:
Sep 15 13:22:35 music volumio[1071]: info: WARNING: No play method for volatile plugin undefined
PPS on Volumio version 3.742 and 4.1.0 for the Spotifty plugin.
Thanks guys for your useful feedback and info. This allowed us to quickly identify and address the issue.
It was a twofold issue: a recent change on response of some Spotify endpoints and some workarounds that the old plugin was adding to the /etc/hosts file.
This new release fixes both of this symptoms.
You’re looking for version 4.1.1 . Just update the plugin and restart it, and everything should be back to normal.
Let us know
Working again. Many thanks.