Skip to content
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

Cannot play playlists created by "Spotify" #140

Closed
corneboele opened this issue May 9, 2017 · 15 comments
Closed

Cannot play playlists created by "Spotify" #140

corneboele opened this issue May 9, 2017 · 15 comments
Assignees
Milestone

Comments

@corneboele
Copy link

We use the load by URI a lot, but recently we cannot load the playlist that are created by Spotify itself. Every other playlist or artist URI works perfectly. Any idea what could be the problem?

@kingosticks
Copy link
Member

This looks like #133

@napyk
Copy link

napyk commented Jun 14, 2017

I have the same issue. I can see all my personal playlists and playlist from other people who i am following. But i cant see official playlists created by spotify.

edit:
i can access the playlists over the mopidy frontend (im using mopidy-iris) but i cant see them when i use:
mpc lsplaylists

edit:
is there any fix for this issue?

i am really confused because the playlists show up in the web client but not in console

@poikilotherm
Copy link

poikilotherm commented Aug 15, 2017

Hi there,

I struggle from the same issue. Playlist built by myself or others are no problem, but anything related to "spotify:user:spotify:playlist:xxxx" is just not loading when added via Streams and not showing up at all in the browse playlists section.

I didn't manage to enable debugging output for the extension - is this builtin?

Willing to help, debug and create a PR if someone can give me a hand.

@jakuboz
Copy link

jakuboz commented Aug 25, 2017

Hi,
same issue here for quite a long time. Just burned a fresh copy of raspbian and issue persists.
Playlists that are not created by user 'Spotify' work normally.
If I can provide any more details- I'll be happy to help.

@kingosticks
Copy link
Member

This issue is due to a breaking change in Spotify's libspotify library which is end of life and so will not be fixed by Spotify. Therefore, the issue will persist until someone changes mopidy-spotify to use the Spotify Web API for playlist data instead of libspotify.

I did some initial work on this and found that caching will be required, and of course a fair amount of tests. I won't have the time to work on it any further until after the holidays but others are more than welcome to have a go.

@scheleaap
Copy link

I use Iris in combination with Mopidy and Mopidy-Spotify to play Spotify playlists (at least my Discover Weekly playlist) and that works fine. Does that help you?

See https://github.com/scheleaap/ansible-role-mopidy/blob/master/tasks/install.yml if you're interested in the details of how I set up Mopidy.

@napyk
Copy link

napyk commented Sep 4, 2017

I also use iris. In iris the spotify playlists work fine. I think iris uses spotipy to interact with spotify. But when I use the command line (mpc) to list the playlists it doesn't work. I think because mopidy uses the old libspotify like @kingosticks mentioned.

@jasondaigo
Copy link

im shocked that this issue is present since may; i just subscribed to spotify and i will definitely cancel it again; i dont wait a year for this feature.

@kentletor

This comment has been minimized.

@trygveaa

This comment has been minimized.

@kentletor

This comment has been minimized.

@kingosticks

This comment has been minimized.

@ryanrdetzel
Copy link

Iris (and other frontends) I think work by just adding the songs to the existing playlist which is different than playing the playlist uri directly. The former will work fine, the later won't work as it's a known issue. So a hack could be when a playlist is received to look it up and just add it like the frontends do it.

@kingosticks
Copy link
Member

Libspotify plays tracks, never playlists. But what you describe is exactly what mopidy-spotify needs to do. Change the libspotify playlist->tracks lookup to be a Web API playlist->tracks lookup. And it can do it for all playlists, no need to be a special case. If someone has the motivation/time to do it then great, go for it.

@kingosticks
Copy link
Member

Fixed in 4aafc68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests