mopidy / mopidy-spotify

Mopidy extension for playing music from Spotify
https://mopidy.com/ext/spotify/
Apache License 2.0
933 stars 109 forks source link

Add support for Spotify playlist management #22

Open jodal opened 10 years ago

jodal commented 10 years ago

Moved from mopidy/mopidy#42:

It would be nice to be able to manage Spotify playlists through Mopidy. E.g. create/rename/remove playlists, and add/move/remove tracks in playlists.

peterlvilim commented 9 years ago

Was thinking of adding this feature.

Right now I assume any playlist that you create would have to only include spotify items in order for it to sync to spotify. I'm guessing this feature might also require additions to pyspotify which I could do as needed.

Planning to read through some of the code at which point I'll have something more intelligent to say on this topic.

charles-l commented 9 years ago

:+1:

Cysioland commented 8 years ago

Currently getting 'Playlist with scheme "spotify" can't add track with scheme "spotify"' error in ncmpcpp, which does not make sense.

jodal commented 8 years ago

Please don't hijack unrelated issues.

On Fri, Feb 19, 2016, 16:32 Cysioland notifications@github.com wrote:

Currently getting 'Playlist with scheme "spotify" can't add track with scheme "spotify"' error in ncmpcpp, which does not make sense.

— Reply to this email directly or view it on GitHub https://github.com/mopidy/mopidy-spotify/issues/22#issuecomment-186261145 .

Cysioland commented 8 years ago

But it is related, because Mopidy-Spotify currently can't manage playlists, hence this message.

pbogut commented 8 years ago

Any update about this one?

yannik-b commented 8 years ago

Not now, spotify will close libspotify, which is used by this project, until 2017 or it is closed already (https://github.com/mopidy/mopidy-spotify/issues/110) So there will (proprably) be currently no changes for libspotify.

kingosticks commented 8 years ago

There are no changes required to libspotify (or pyspotify) to implement this feature as they already have full support for modifying playlists. The changes required to implement this feature are in mopidy-spotify/mopidy.

If I remember correctly the main blocker is some sensible generic handling when tracks come from multiple backends, as per @peterlvilim's comment above.

So, no update here sadly.

Radvendii commented 8 years ago

I think ideally you could add tracks from multiple sources to a playlist in mopidy, and it would sync only those tracks that are from spotify back to the spotify playlist, no?

ecly commented 7 years ago

Is there anything going on with this?

kingosticks commented 7 years ago

I don't know of anyone working on it.

We need to start using the Web API for most playlist stuff so that probably includes this. Although since you can't edit the Spotify owned playlists (the ones seemingly now incompatible with libspotify) that might not technically be the case. But doing everything the same way does have value.

On 5 Aug 2017 11:10 a.m., "Emil Lynegaard" notifications@github.com wrote:

Is there anything going on with this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mopidy/mopidy-spotify/issues/22#issuecomment-320435174, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5DqOjFKsVZiTdG1BWyjPbeZYFaBFYRks5sVD-sgaJpZM4Cft-l .

ecly commented 7 years ago

Although since you can't edit the Spotify owned playlists...

To understand that correctly - does that mean that as things are right now, it will never be possible to add tracks to a playlist that was created directly in Spotify? As in have playlist changes made both in Spotify and with Mopidy be synced.

kingosticks commented 7 years ago

No, I'm referring to Spotify playlists owned by the Spotify account. Such as toplists, new releases etc.

On 5 Aug 2017 11:48 a.m., "Emil Lynegaard" notifications@github.com wrote:

Although since you can't edit the Spotify owned playlists...

To understand that correctly - does that mean that as things are right now, it will never be possible to add tracks to a playlist that was created directly in Spotify? As in have playlist changes made both in Spotify and with Mopidy be synced.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mopidy/mopidy-spotify/issues/22#issuecomment-320436824, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5DqCSJg40z-aXGPt_70umDhasVwYVGks5sVEhfgaJpZM4Cft-l .

ecly commented 7 years ago

Ah of course - alright, so eventual support for editing one's own spotify playlists should be possible then.