Giter Club home page Giter Club logo

Comments (26)

artistro08 avatar artistro08 commented on July 21, 2024

I got the same happen to me. I thought it was with my installation but its not. same as above

from mopidy-spotify.

fatg3erman avatar fatg3erman commented on July 21, 2024

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.

fatg3erman avatar fatg3erman commented on July 21, 2024

Seems that this can also be fixed by removing the .config/mopidy/spotify directory, so it looks like a cache problem

from mopidy-spotify.

milouse avatar milouse commented on July 21, 2024

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.

joe-average avatar joe-average commented on July 21, 2024

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.

allegrem avatar allegrem commented on July 21, 2024

Same problem, removing the config directory solved it.

from mopidy-spotify.

bartenbach avatar bartenbach commented on July 21, 2024

Same. Just had to remove my config directory on a fresh install and now mine showed up.

from mopidy-spotify.

AnsgarSchmidt avatar AnsgarSchmidt commented on July 21, 2024

Same here. Deleting the directory does not help but the py patch worked great. Thanks a lot for this.

from mopidy-spotify.

woutervanwijk avatar woutervanwijk commented on July 21, 2024

I don't see this behavior at all. Strange. The patch would trigger some unnecessary refreshes I guess.

from mopidy-spotify.

jodal avatar jodal commented on July 21, 2024

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.

woutervanwijk avatar woutervanwijk commented on July 21, 2024

A couple of users reported this for MusicBox. They also said it came back after a day or so. Strange!

from mopidy-spotify.

trygveaa avatar trygveaa commented on July 21, 2024

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.

woutervanwijk avatar woutervanwijk commented on July 21, 2024

Ok, now I see the behavior too. :( It's rather unpredictable. The fix works though...

from mopidy-spotify.

woutervanwijk avatar woutervanwijk commented on July 21, 2024

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.

kingosticks avatar kingosticks commented on July 21, 2024

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.

zelluz avatar zelluz commented on July 21, 2024

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.

woutervanwijk avatar woutervanwijk commented on July 21, 2024

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.

alexlawriewood avatar alexlawriewood commented on July 21, 2024

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.

trefis avatar trefis commented on July 21, 2024

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.

jodal avatar jodal commented on July 21, 2024

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.

jaedb avatar jaedb commented on July 21, 2024

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.

jodal avatar jodal commented on July 21, 2024

@jaedb Working on it! Any day now :-)

from mopidy-spotify.

berrydejager avatar berrydejager commented on July 21, 2024

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.

kingosticks avatar kingosticks commented on July 21, 2024

That's for an old version of mopidy-spotify. This is not an issue in the latest version.

from mopidy-spotify.

berrydejager avatar berrydejager commented on July 21, 2024

Thanks for the quick response! So PiMusicBox need to move over to the new mopidy-spotify version ;-)

from mopidy-spotify.

kingosticks avatar kingosticks commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.