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

[FEATURE]: Synchronize Tidal with directories on computer #1170

Open
Vorbisset opened this issue Jun 30, 2024 · 2 comments
Open

[FEATURE]: Synchronize Tidal with directories on computer #1170

Vorbisset opened this issue Jun 30, 2024 · 2 comments

Comments

@Vorbisset
Copy link

Which tool

tidal-dl

Describe the feature

It would be nice to have a python script that manages a directory with all the playlists downloaded from tidal. Let me explain.
I tried to write a script that would do the following:

  • check the files in my tidal playlists directory
  • download the playlists from a list file (with the playlist URL)
  • differentiate between before and after downloading.

I have 2 directories in TIDAL where I place my playlists. One concentrates playlists sorted by genre and BPM, the other is a catch-all.
I downloaded all my playlists onto my computer, then put them into Rekordbox playlists after analyzing them.
Sometimes I add new tracks to my Tidal playlists, and then I have to update my playlist directory on my computer.

My script works but, for example, if I delete a song on a Tidal playlist, it won't handle the deletion in my directories on my computer.
The TQDM part doesn't work properly, the progress bar goes up to 100% and then continues beyond 100, so it doesn't mean anything.

I've noticed that, for example, in a 3-song playlist, it will download the 3 songs, numbering them from 1 to 3:

  • 01 - songA
  • 02 - songB
  • 03 - songC

if I add a song between 03 and 02, it'll look like this:

  • 01 - songA
  • 02 - songB
  • 03 - songD
  • 03 - songC
  • 04 - songC

To sum up, it would be nice to have a script that synchronizes tidal's playlists with a computer's directories.

Project : [https://github.com/Vorbisset/tidal-dl-sync/blob/main/auto-dl-2.py](Python Script)

Add screenshots

No response

@Vorbisset Vorbisset changed the title [FEATURE]: Synchronize Tidal with directories on laptop [FEATURE]: Synchronize Tidal with directories on computer Jul 3, 2024
@cosminmocan
Copy link

Your issue is that "02 - " , if you remove that from the way the files are named, you wont get any more duplicates.
I have something like Song name - Artist, and that's it , no duplicates

@Vorbisset
Copy link
Author

Vorbisset commented Aug 21, 2024

I fixed it ty !

I'm looking for create a fork to sync my playlist between tidal and my computer, someone has already made it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants