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

Add new items without deleting tidal playlist #1

Open
c0rrre opened this issue Aug 5, 2021 · 5 comments
Open

Add new items without deleting tidal playlist #1

c0rrre opened this issue Aug 5, 2021 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@c0rrre
Copy link

c0rrre commented Aug 5, 2021

Hi,

first of all its an awesome project.

Could you please add an parameter for appending the tidal playlist?
It would be awesome if I could add more music to the tidal playlist without them getting removed by the script.

Thanks mate :)

@timrae
Copy link
Collaborator

timrae commented Aug 5, 2021

Hi, thanks for your message. I'm not sure when I'll get around to it but I've also been thinking about ways to potentially address this problem.

I'd like to maintain the ability to reorder and remove songs on the Spotify side and have those changes synced to tidal, but without losing songs that were added on the tidal side without ever being on the Spotify side. This is not exactly a trivial problem but I'm pretty sure it's possible.

@vkolotov
Copy link
Contributor

vkolotov commented Nov 3, 2021

Yeah great project!
Yep, a new argument would be great, e.g. "add_new_tracks". So you could control if you want to replace completely playlists (current behaviour) or just append new tracks.

@timrae timrae added the enhancement New feature or request label May 25, 2024
@timrae
Copy link
Collaborator

timrae commented May 26, 2024

I've partially implemented this in #43. Now new tracks will get appended to the playlist when there are no other changes to the playlist other than appending of new tracks. However old tracks will still get erased if there are any other changes in the playlist (for example if any tracks were reordered, or if a track that was previously not available on Tidal was subsequently found). I'd be happy to take a PR if someone wants to implement a more advanced algorithm for preserving old playlist tracks

@timrae timrae added the help wanted Extra attention is needed label Jun 3, 2024
@timrae
Copy link
Collaborator

timrae commented Jun 3, 2024

I'm going to leave this issue open as there are some further improvements that could be made to this feature. Probably this is not something I'll work on in the near future, but if someone wants to submit a PR then please feel free. However I would strongly suggest seeking feedback early (e.g. by opening a WIP PR with a prototype) before investing a lot of time into a given approach.

@zackgehan
Copy link

Doesn't contribute to a programmatic solution, but for anyone wanting this feature, in my shoes.

I end up listening ~50:50 or 60:40 tidal:spotify, and adding songs I find in both programs. There's (at least one) manual workaround:

You can rename the playlists so they don't overwrite, run spotify_to_tidal, then in the Tidal playlists GUI drag the Spotify playlist onto the Tidal version (or vice versa), and hit "Skip Duplicates". Voila, you've added the new Spotify songs to the Tidal playlist without losing any new Tidal songs. It's not ideal, especially if you have dozens of playlists like me, but it's something!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants