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

Spotify playlists support #5

Open
pbogut opened this issue Jul 19, 2016 · 4 comments
Open

Spotify playlists support #5

pbogut opened this issue Jul 19, 2016 · 4 comments

Comments

@pbogut
Copy link

pbogut commented Jul 19, 2016

Hi,

Thank you for this plugin, its awesome. The only issue I've got is playlist integration.
Not sure if that's the problem with my configuration or something else but it is not possible to add songs to Spotify playlist.
When I'm trying to add song to existing Spotify playlist Mopidy displays error message:

MPD: Playlist with scheme "spotify" can't store track scheme "spotify"

I can create a new playlist but it is not synchronized with Spotify.

Is there any solution for that?

Cheers,
Pawel

@lfcabend
Copy link
Owner

Thank you for your feedback. I will double check this when I am back from vacation, but I believe that playlists are not played/retrieved/managed with the mopidy-spotify-web plugin, but rather the standard mopidy spotify plugin. The mopidy spotiy web plugin organizes your songs from spotify by album and artists. Playlist are managed by the mopidy spotify plugin. So if my understanding is correct this would be an issue on the mopidy spotify plugin itself and not the mopidy-spotify-web plugin. But I would have to double check this. The reason for me writing this plugin was that the original spotify plugin was limited to playlists. So i added support for albums and artists.

But the way I use mopidy is just by playing music. I would open my spotify app and add the song to the playlist and then refresh the list on mopidy.

So I will investigate this reported issue on a later stage and decide if I can/will implement it in the mopidy-spotify-web plugin or if it should be implemented in the mopidy-spotify plugin on which the web plugin depends.

@pbogut
Copy link
Author

pbogut commented Aug 2, 2016

I think you're right, this is a problem with the mopidy-spotify. However, what I'm interested to achieve is to add a song to my library (formerly follow). Since mopidy-spotify is not aware of Your Music / Your Artists maybe thats something that this plugin should implement?

At Mopidy level I guess that has to be some kind of playlist. Do you think this is fisible to provide special playlist, and whenever you add song to that playlist it would be add to my songs in spotify?

@lfcabend
Copy link
Owner

I think it might be possible to implement this feature in the mopidy-spotify-web plugin, since the add track function is present in the spotify web api, see https://developer.spotify.com/web-api/add-tracks-to-playlist/.

I just have to see how to extend the plugin to intercept these request and make the appropriate call on the spotify api.

To be honest I will have to find some motivation to do this, since I personally would not use this feature, since I edit playlist using the spotify app and then just refresh the list in mopidy. But when I have some time i might look into it.

@lfcabend
Copy link
Owner

Just found out that there might be some changes coming:

mopidy/mopidy-spotify#114
mopidy/mopidy-spotify#110

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

2 participants