Comments (26)
I got the same happen to me. I thought it was with my installation but its not. same as above
from mopidy-spotify.
I've done a little digging. Mopidy can still see the playlists but it is not doing a refresh.
I've hacked session_manager.py and commented out the initial_data_receive_completed check in refresh_playlists:
def refresh_playlists(self):
"""Refresh the playlists in the backend with data from Spotify"""
# if not self._initial_data_receive_completed:
# logger.debug('Still getting data; skipped refresh of playlists')
# return
and now I'm seeing playlists again. I note that a comment above this code says 'This is a very fragile and ugly hack' :).
Nothing on my system has changed. I guess Spotify might be operating slightly differently and libspotify is no longer doing what it used to?
from mopidy-spotify.
Seems that this can also be fixed by removing the .config/mopidy/spotify directory, so it looks like a cache problem
from mopidy-spotify.
I confirm this issue and the resolution proposal of @fatg3erman: deleting my mopidy-spotify config folder fix the problem. Don't look further why sorry...
from mopidy-spotify.
Same here on a fresh Pi MusicBox 0.5.1beta installation. No luck on deleting the mopidy-spotify config folder, but editing the python script did the trick.
from mopidy-spotify.
Same problem, removing the config directory solved it.
from mopidy-spotify.
Same. Just had to remove my config directory on a fresh install and now mine showed up.
from mopidy-spotify.
Same here. Deleting the directory does not help but the py patch worked great. Thanks a lot for this.
from mopidy-spotify.
I don't see this behavior at all. Strange. The patch would trigger some unnecessary refreshes I guess.
from mopidy-spotify.
I haven't seen this issue either. Hopefully this won't be an issue with the upcoming Mopidy-Spotify 2 release, as it handles playlist fetching differently, and doesn't have the code that was commented out by the above patch.
from mopidy-spotify.
A couple of users reported this for MusicBox. They also said it came back after a day or so. Strange!
from mopidy-spotify.
I see the behavior. It seems like the playlists are eventually loaded, but it is a bit random how long it takes. Sometimes the playlists are loaded after a couple of minutes, sometimes it takes hours.
from mopidy-spotify.
Ok, now I see the behavior too. :( It's rather unpredictable. The fix works though...
from mopidy-spotify.
The fix works for the playlists, but it messes up the names of the tracks (most names are something like [loading] spotify:track: etc)
from mopidy-spotify.
The code change is not a fix, more of a hack (no offence intended)
On 7 Nov 2014 14:22, "woutervanwijk" [email protected] wrote:
The fix works for the playlists, but it messes up the names of the tracks
(most names are something like [loading] spotify:track: etc)—
Reply to this email directly or view it on GitHub
#27 (comment)
.
from mopidy-spotify.
Also got this issue. What I did was commenting out the code, then I restarted the mopidy service. The playlists came back. Then I moved the spotify folder to spotify_backup. Restarted the mopidy service to make a new spotify folder. Copied everything under spotify_backup/Users/yourusernamehere to the new spotify/Users/yourusernamehere folder. I then deleted the code change(removed hash tags from def refresh_playlists(self) and restarted the service.
from mopidy-spotify.
I tried this on MusicBox 0.5 just to be sure that it does not have to do with the changes in 0.5.1. Same behavior...
(and it's not a fix indeed :)
from mopidy-spotify.
My similar experience: left a fresh Musicbox 0.5.1rc install overnight, and have my full forty playlists in /var/lib/mopidy/spotify/Users/me. But lsplaylists gives nothing, and can't load any playlists.
Interestingly, I got the 'loaded x Spotify playlists' on first Spotify connect of the system, but it thinks there should be 199 of them. So I'm wondering if it's just that it's still waiting for more for some odd reason. Will give the session manager hack a go.
PS: that fixed it for now, cheers.
from mopidy-spotify.
I was using a rather old version of mopidy (0.16) and mopidy-spotify and the problem appeared for the first last week for me.
I just updated to mopidy 0.19.4 and the dev branch of mopidy-spotify and the problem is gone...
from mopidy-spotify.
I've still never experienced this issue myself, no new instances of the issue has been reported since November, there is no clear way to reproduce the issue, and AFAIK it has never been observed when using Mopidy-Spotify 2. Not much I can do here, thus closing.
from mopidy-spotify.
Hi @jodal I'm experiencing this issue, but would like to upgrade to Mopidy-Spotify 2 to see if this fixes it. When is Mopidy-Spotify 2 due to be released to pypi?
from mopidy-spotify.
@jaedb Working on it! Any day now :-)
from mopidy-spotify.
Still valid, i used a combination of the Fatg3erman solution with some extra sauce over it; http://virtual.berrydejager.com/pimusicbox-not-showing-spotify-playlist-fixed/
from mopidy-spotify.
That's for an old version of mopidy-spotify. This is not an issue in the latest version.
from mopidy-spotify.
Thanks for the quick response! So PiMusicBox need to move over to the new mopidy-spotify version ;-)
from mopidy-spotify.
Yes.
On 25 Sep 2016 23:09, "Berry de Jager" [email protected] wrote:
Thanks for the quick response! So PiMusicBox need to move over to the new
mopidy-spotify version ;-)—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5DqKbO3_NMymmPIAFwy5nDW4BmEt4Jks5qtvERgaJpZM4Czh_s
.
from mopidy-spotify.
Related Issues (20)
- Alternative for libspotify HOT 3
- Mopify Won't Connect to spotify HOT 2
- Asynchronous initial playlist refresh HOT 2
- How to uninstall mopidy-spotify? HOT 4
- Bug: 'cffi' package version mismatch; unable to install on Kubuntu 22.04.1 LTS HOT 8
- RecvError panic during spotifyaudiosrc playback HOT 3
- "New login to Spotify" emails HOT 10
- https://auth.mopidy.com/spotify/ not responding HOT 2
- Unable to build gst-plugins-spotify HOT 12
- mpd connectivity breaks when aur mopidy-spotify-git is installed and running. HOT 1
- Unable to install mopidy-spotify on Rpi 3 (RaspOS bullseye) HOT 1
- Changing track crashes playback HOT 1
- Switch to PKCE auth HOT 2
- Browsing in Spotify Library doesn't work HOT 4
- [Bug] Fedora 38: GStreamer error: Could not get/set settings from/on resource. HOT 5
- cargo build of gst-plugin-spotify stuck at 288/298 HOT 2
- Problem with getting tracks from playlist HOT 6
- TypeError: Expected length to be a <class 'int'>, not 156923.0 HOT 8
- GStreamer fails to connect HOT 1
- Please remove this extension from the Mopidy extension directory HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mopidy-spotify.