Ladies and gentlemen,
after lots of months of work and dedication, I am really happy to say that we have a new version of Spotify plugin. In my opinion, with this release we finally achieved the feature set that make it the best possible Spotify implementation on Volumio.
Notably, besides the many bug fixes we added:
Gapless playback. Working both with direct playback and via Spotify Connect
Multi-user. Even if you are logged in, another Spotify Connect session can connect and play. Useful to allow your better half to play what they want on Volumio even if you are logged in.
The version you are looking for is 4.1.0
Thank you so much to everyone which contributed to this effort. Keep the feedback coming!
This is great news! I really look forward to try it out.
Is there an official change log / release note available for this spotify plugin? Like the one in the first post of this topic. I think it would be really useful and could save many questions about what was fixed, what was included, added etc.
Thanks for the update! Just tried the new 4.1.0 plugin version.
It seems that adding songs to the queue and auto-play still do not work using Spotify Connect on mobile (Android app is up-to-date). On the desktop app, you can add songs to the queue but auto-play does not work either.
Can someone confirm this behaviour?
I’ve tried both with and without having authorised the volumio app by logging in.
Edit: after some tests, I’ve come to the conclusion that adding to queue only works if there’s already a queue, e.g. when you’re streaming an album or playlist, then you’ll be able to add things to the queue. If you’re streaming a single song from a search, it’s not possible (on mobile at least).
This update seems to be an improvement for sure. I still have a weird bit of behavior with progress tracking though… Sometimes the Spotify apps stop tracking progress when casting through the plugin. Progress then only updates when pausing playback. The Volumio webinterface shows different behavior when this is the case. After pausing, the webinterface will then start counting from 0:00, when half way through a track.
@volumio The issue with playback time out of sync is still there after updating to 4.1.0 when playing over Spotify Connect. Sometimes the Spotify app shows the “Network connection failed while playing this content.” error. See the screen recording: spotify-volumio.mp4 - Google Drive
Hi, I am the developer of go-librespot, the library backing the Spotify plugin!
I’ll try to address some of the things mentioned in this thread which can be traced back to the library itself (sorry for the multiple messages, but the website doesn’t allow me to do it all in one).
@sciensys I have tried to reproduce your issues, but I was not able to, all tracks you mention play fine for me. I think this could be a problem with geo-blocking, are you able to play them with the official clients? Feel free to open an issue on the go-librespot repository so that we can debug this further.
devgianlu, official Spotify client plays tracks mentioned above, from the same location as with Volumio.
But I tried play using Volumio from different geolocations, because I also thought that these were geolocation blocks.
But this was not confirmed.
In addition, the log says what it says, namely:
msg=“failed handling status request” error=“failed loading context: failed loading current track (load context): failed creating stream for spotify:track:2ZouCCwvtrdDh1xJEZhJO0: no supported formats”
failed loading context
no supported formats
But, over the last three days, after updating to version 4.1 of the plugin, I noticed that some tracks stop, and the time shows fantastic, for example 1000 minutes, but when you press play again for this track, it starts playing.
On the previous version of the plugin, it did not play, the error was repeated in the logs.
It is very strange that the specified tracks are played for you in queue.
I have no idea yet what could be the reason.
At the moment, I simply delete tracks that are not played (status - unsupported format)
However, I would really like to understand the reason.
Is it possible for you to create your own playlist of 500+ tracks and play it, wait for the stop to appear.
@Woutoud@roman.s The issue with the progress bar not moving on the Spotify player has been fixed as of this commit, it’ll be included in the next release.
@roman.s The Network connection failed while playing this content. message is a known problem but does not effect the functionality, it is being tracked as issue #12.
Thank you for your answer, I’ll keep an eye on tracks that play with the original client but not with go-librespot for me so that I can debug them. I am tracking this as issue #55.