Viperinius / jellyfin-plugin-spotify-import

Import playlists from Spotify in Jellyfin
GNU General Public License v3.0
35 stars 2 forks source link

[Feature Request] sync playlist in same order #22

Closed bfg100k closed 5 months ago

bfg100k commented 8 months ago

I follow a shared playlist on spotify that is managed by the spotify team. They add new songs to the front of the playlist on a regular basis. They also remove some to keep the list to 50 songs (not necessary from the end though).

The current implementation adds new songs to the end of the jellyfin playlist and doesn't remove any that is no longer on the spotify list (although I can see that the latter is on your todo). This becomes a problem for me because over time, my jellyfin playlist will grow indefinitely and as new songs are added to the end, I will likely not get to hear them at all.

I'm thinking perhaps the plugin can offer a user option to recreate the jellyfin playlist from scratch (i.e. delete existing playlist) instead of just appending new songs to the existing list?

Viperinius commented 8 months ago

Yes, I plan to allow per playlist settings for keeping them "fully" synchronised with Spotify.

Can't say when this will be finished though as I want to try to do it without having to completely recreate the entire playlist each time... and I'm not sure yet how well Jellyfin exposes the needed things for plugins.

Chaphasilor commented 5 months ago

Seems like with the 1.8.0.0 update this is now supported, by re-creating the playlist with each sync?

Viperinius commented 5 months ago

Simply recreating the playlist per run can be configured now, yes.