yaronzz / Tidal-Media-Downloader

Download 'TIDAL' Music On Windows/Linux/MacOs (PYTHON/C#)
http://doc.yaronzz.com/post/tidal_dl_installation/
Apache License 2.0
3.27k stars 464 forks source link

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

Open Vorbisset opened 1 week ago

Vorbisset commented 1 week ago

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:

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:

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

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