RegsonDR / spotify-save-playlists-cron

Save Spotify's auto-generated playlists automatically - Powered by Github Actions.
MIT License
26 stars 44 forks source link

Duplicates #5

Open kosolit opened 1 year ago

kosolit commented 1 year ago

Is there a way to avoid that the same Tracks will be added every time again? Like just add new Tracks?

Reiszecke commented 9 months ago

I was also thinking about this for a while. The problem is that it would have to re-fetch the whole existing playlist first which may not be feasible on large playlists, or store results across runs somewhere but this would require persistent storage.

I may make a cleanup script that you can run on demand at some point (I spent too much time on removing duplicates so I am annoyed by this too).

Reiszecke commented 9 months ago

nvm https://github.com/JMPerez/spotify-dedup or https://github.com/brlipi/spotify-duplicate-checker may already do the trick