-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify fixes #2315
Spotify fixes #2315
Conversation
Pull Request Test Coverage Report for Build 8666808786Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Additionally: |
#2063 would then not be needed anymore. |
Yes, that can be closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not test the installation (no test system available) but from the review point of view, it looks good :)
#1837 could be closed as well then. |
Just as an FYI, the next Mopidy major release is due shortly after Ubuntu 24.04, later this month. As part of that, we'll also drop support for Python 3.10 (and therefore also Debian Bullseye). |
I read about this. We need to stay on this version for now, as bookworm has incompatible changes for the GPIO libs that are not resolved yet. So we can't currently move from bullseye. |
Would that work? |
Looks like it would. Don't think I've ever seen that one. Of course won't help if you have any other services starting that need a working internet but maybe everyone else does it better than Mopidy. |
@jonaskor I saw that you used the "autohotspot" features. I had a deeper look and identified a problem which might intensified your "login" problem. I made some changes and from my view its good to use now. |
I didn't use this package for now, as my tests where successful and it might not fit every case or is not even wanted. But will add it to the Spotify wiki entry. |
It feels like a hack and takes advantage of Mopidy internals that could change. To me, a working network dependency is exactly the sort of thing that should be handled by systemd. |
@AlvinSchiller you might also want to escape special characters in the various wifi passphrases too? |
This fixed things, awesome! Now the box connects to wifi within 20sec! Mopidy still needs another 3 to 4 minutes to connect to the server, but then everything works, no need for rescanning library or restarting mopidy anymore. How cool is that! Thank you! Since all the brain power already seems to be gathered here: any suggestions on how to speed up the connection time to the mopidy server? ;) |
Do you mean that Mopidy takes a long time from starting to becoming ready to use? That'll be the time it spends refreshing your Spotify playlists, I noticed in your log you had quite a lot (and immediately felt your pain). The very latest (unreleased) version of Mopidy-Spotify is much improved in that respect and the refresh time is now hidden. I wasn't planning to do another pre-release that would include the fix since it'll be part of the upcoming Mopidy 4.0 release later this month. However, I've since learned/realised that this project (and maybe others) won't immediately be able to upgrade to Mopidy 4 because they need to remain on Debian Bullseye for reasons outside their control. So long story short, I will see if I can easily backport the playlist refresh improvement since it's such a huge quality of life improvement. |
That would be so great!! Thank you for all your work, guys! EDIT: For now I just set |
I published another Mopidy-Spotify pre-release including the playlist refreshing speedup.
@AlvinSchiller this is the better version to use. It makes a considerable difference to startup time. |
That was fast 🙂. |
Version updated to |
Just installed the And it works absolutely amazing! Thank you so much! Start up time of around 30-40 sec (on Raspberry Pi 4, Debian 32bit, Bullseye) until I am able to playback spotify songs and playlists! Awesome! |
Like described here mopidy has a new pre-release which features spotify calls via the webui.
This PR adds the needed packages to use this pre-release.
Changes:
gst-plugin-spotify
manually as it is not available via apt.