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.48k stars 476 forks source link

[BUG]: getting [ERR] DL Track[{track_name}] failed.Get operation err! when multithread is on #978

Open poland153 opened 2 years ago

poland153 commented 2 years ago

Which tool

tidal-dl

Version

2022.07.14.1

Platform

Windows

Describe the bug

Originally I had issues due to 931 but after doing the API Key switcheroo to 1 and then back to 4, downloads were working again.

However, now I have a different issue. I'm trying to download everything for an artist (minus EP/singles) with multi-thread turned on. It begins to download fine but then the API calls seem to timeout the further along it gets. After the initial download operation is done, I try to re-download/verify existing files using the same artist URL to make sure I got all the flacs. What I see is similar behavior, where the initial tracks are verified but then the rest of the calls fail.

Besides the output that is in term, i'm not sure if there are any other logs that I can look at. I'd love to see what the specific err messages are relating to. Example used: https://listen.tidal.com/artist/5866385

Relevant log output

PS C:\Users\user\Tidal-dl> tidal-dl.exe

 /$$$$$$$$ /$$       /$$           /$$               /$$ /$$
|__  $$__/|__/      | $$          | $$              | $$| $$
   | $$    /$$  /$$$$$$$  /$$$$$$ | $$          /$$$$$$$| $$
   | $$   | $$ /$$__  $$ |____  $$| $$ /$$$$$$ /$$__  $$| $$
   | $$   | $$| $$  | $$  /$$$$$$$| $$|______/| $$  | $$| $$
   | $$   | $$| $$  | $$ /$$__  $$| $$        | $$  | $$| $$
   | $$   | $$|  $$$$$$$|  $$$$$$$| $$        |  $$$$$$$| $$
   |__/   |__/ \_______/ \_______/|__/         \_______/|__/

       https://github.com/yaronzz/Tidal-Media-Downloader

                        2022.07.14.1

+-------------------------------+-----------------------------------------------------------+
| SETTINGS                      | VALUE                                                     |
+-------------------------------+-----------------------------------------------------------+
| Settings path                 | C:\Users\user/.tidal-dl.json                              |
| Download path                 | ./download/                                               |
| Album folder format           | {AlbumArtistName}/{AlbumYear} - {AlbumTitle}              |
| Track file format             | {TrackNumber} - {TrackTitle}                              |
| Video file format             | {VideoNumber} - {ArtistName} - {VideoTitle}{ExplicitFlag} |
| Audio quality                 | AudioQuality.Master                                       |
| Video quality                 | VideoQuality.P360                                         |
| Use playlist folder           | False                                                     |
| Check exist                   | True                                                      |
| Show progress                 | True                                                      |
| Show Track Info               | True                                                      |
| Save AlbumInfo.txt            | False                                                     |
| Save covers                   | True                                                      |
| Include singles & EPs         | False                                                     |
| Language                      | English                                                   |
| Save timed lyrics (.lrc file) | False                                                     |
| Multi thread download         | True                                                      |
| APIKey support                | [4]Normal/High/HiFi/Master                                |
+-------------------------------+-----------------------------------------------------------+
Audio quality('0'-Normal,'1'-High,'2'-HiFi,'3'-Master):3
Video quality(1080, 720, 480, 360):1080
====================================================
CHOICE                 FUNCTION
Enter '0':             Exit
Enter '1':             Check AccessToken
Enter '2':             Logout
Enter '3':             Set AccessToken
Enter '4':             Settings-Path
Enter '5':             Settings-Quality
Enter '6':             Settings-Else
Enter '7':             Select APIKey
Enter 'Url/ID':        Download by url or ID
====================================================
Enter Choice:https://listen.tidal.com/artist/5866385
+------------------+----------------+
| ARTIST-PROPERTY  | VALUE          |
+------------------+----------------+
| ID               | 5866385        |
| Name             | Anderson .Paak |
| Number of albums | 13             |
| Type             | None           |
+------------------+----------------+
+----------------+----------------------------+
| ALBUM-PROPERTY | VALUE                      |
+----------------+----------------------------+
| Title          | An Evening With Silk Sonic |
| ID             | 219353442                  |
| Track Number   | 10                         |
| Video Number   | 0                          |
| Release Date   | 2021-11-12                 |
| Version        | None                       |
| Explicit       | False                      |
+----------------+----------------------------+
[SUCCESS] 05 - Smokin Out The Window.flac (skip:already exists!)
[SUCCESS] [SUCCESS] 04 - After Last Night (with Thundercat & Bootsy Collins).flac (skip:already exists!)02 - Leave The Door Open.flac (skip:already exists!)

[SUCCESS] 01 - Silk Sonic Intro.flac (skip:already exists!)
[SUCCESS] 03 - Fly As Me.flac (skip:already exists!)
[SUCCESS] 09 - Love's Train.flac (skip:already exists!)
[SUCCESS] 07 - 777.flac (skip:already exists!)
[SUCCESS] 06 - Put On A Smile.flac (skip:already exists!)
[SUCCESS] 08 - Skate.flac (skip:already exists!)
[SUCCESS] 10 - Blast Off.flac (skip:already exists!)
+----------------+----------------------------+
| ALBUM-PROPERTY | VALUE                      |
+----------------+----------------------------+
| Title          | An Evening With Silk Sonic |
| ID             | 218163980                  |
| Track Number   | 10                         |
| Video Number   | 0                          |
| Release Date   | 2021-11-12                 |
| Version        | None                       |
| Explicit       | True                       |
+----------------+----------------------------+
[SUCCESS] 01 - Silk Sonic Intro.flac (skip:already exists!)
[SUCCESS] 04 - After Last Night (with Thundercat & Bootsy Collins).flac (skip:already exists!)[SUCCESS]
05 - Smokin Out The Window.flac (skip:already exists!)
[SUCCESS] [SUCCESS] 03 - Fly As Me.flac (skip:already exists!)02 - Leave The Door Open.flac (skip:already exists!)

[SUCCESS] 06 - Put On A Smile.flac (skip:already exists!)
[SUCCESS] 08 - Skate.flac (skip:already exists!)
[SUCCESS] 09 - Love's Train.flac (skip:already exists!)
[SUCCESS] 07 - 777.flac (skip:already exists!)
[SUCCESS] 10 - Blast Off.flac (skip:already exists!)
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Ventura    |
| ID             | 107325482  |
| Track Number   | 11         |
| Video Number   | 0          |
| Release Date   | 2019-04-12 |
| Version        | None       |
| Explicit       | False      |
+----------------+------------+
[SUCCESS] 02 - Make It Better (feat. Smokey Robinson).flac (skip:already exists!)
[SUCCESS] 05 - Good Heels (feat. Jazmine Sullivan).flac (skip:already exists!)
[SUCCESS] 01 - Come Home (feat. André 3000).flac (skip:already exists!)
[SUCCESS] 03 - Reachin' 2 Much (feat. Lalah Hathaway).flac (skip:already exists!)
[SUCCESS] 04 - Winners Circle.flac (skip:already exists!)
[SUCCESS] 07 - King James.flac (skip:already exists!)
[SUCCESS] 08 - Chosen One (feat. Sonyae Elise).flac (skip:already exists!)
[SUCCESS] 09 - Jet Black (feat. Brandy).flac (skip:already exists!)
[SUCCESS] 10 - Twilight.flac (skip:already exists!)
[SUCCESS] 06 - Yada Yada.flac (skip:already exists!)
[SUCCESS] 11 - What Can We Do- (feat. Nate Dogg).flac (skip:already exists!)
+----------------+-------------------------+
| ALBUM-PROPERTY | VALUE                   |
+----------------+-------------------------+
| Title          | Ventura (Instrumentals) |
| ID             | 130710639               |
| Track Number   | 11                      |
| Video Number   | 0                       |
| Release Date   | 2019-04-12              |
| Version        | None                    |
| Explicit       | False                   |
+----------------+-------------------------+
[SUCCESS] 01 - Come Home (Instrumental).flac (skip:already exists!)
[SUCCESS] 05 - Good Heels (Instrumental).flac (skip:already exists!)
[SUCCESS] 02 - Make It Better (Instrumental).flac (skip:already exists!)
[SUCCESS] 03 - Reachin' 2 Much (Instrumental).flac (skip:already exists!)
[SUCCESS] 04 - Winners Circle (Instrumental).flac (skip:already exists!)
[SUCCESS] 06 - Yada Yada (Instrumental).flac (skip:already exists!)
[SUCCESS] 08 - Chosen One (Instrumental).flac (skip:already exists!)
[SUCCESS] 10 - Twilight (Instrumental).flac (skip:already exists!)
[SUCCESS] 09 - Jet Black (Instrumental).flac (skip:already exists!)
[SUCCESS] 07 - King James (Instrumental).flac (skip:already exists!)
[SUCCESS] 11 - What Can We Do- (Instrumental).flac (skip:already exists!)
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Ventura    |
| ID             | 107325494  |
| Track Number   | 11         |
| Video Number   | 0          |
| Release Date   | 2019-04-12 |
| Version        | None       |
| Explicit       | True       |
+----------------+------------+
[SUCCESS] 02 - Make It Better (feat. Smokey Robinson).flac (skip:already exists!)
[SUCCESS] 01 - Come Home (feat. André 3000).flac (skip:already exists!)
[SUCCESS] [SUCCESS] 05 - Good Heels (feat. Jazmine Sullivan).flac (skip:already exists!)03 - Reachin' 2 Much (feat. Lalah Hathaway).flac (skip:already exists!)

[SUCCESS] 04 - Winners Circle.flac (skip:already exists!)
[SUCCESS] 06 - Yada Yada.flac (skip:already exists!)
[SUCCESS] 10 - Twilight.flac (skip:already exists!)
[SUCCESS] 07 - King James.flac (skip:already exists!)
[SUCCESS] 08 - Chosen One (feat. Sonyae Elise).flac (skip:already exists!)
[SUCCESS] 09 - Jet Black (feat. Brandy).flac (skip:already exists!)
[SUCCESS] 11 - What Can We Do- (feat. Nate Dogg).flac (skip:already exists!)
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Oxnard     |
| ID             | 98378692   |
| Track Number   | 14         |
| Video Number   | 0          |
| Release Date   | 2018-11-16 |
| Version        | None       |
| Explicit       | False      |
+----------------+------------+
[SUCCESS] 03 - Tints (feat. Kendrick Lamar).flac (skip:already exists!)
[SUCCESS] 01 - The Chase (feat. Kadhja Bonet).flac (skip:already exists!)
[SUCCESS] [SUCCESS] 05 - 6 Summers.flac (skip:already exists!)04 - Who R U-.flac (skip:already exists!)

[SUCCESS] 02 - Headlow (feat. Norelle).flac (skip:already exists!)
[SUCCESS] 06 - Saviers Road.flac (skip:already exists!)
[SUCCESS] 08 - Mansa Musa (feat. Dr. Dre & Cocoa Sarai).flac (skip:already exists!)
[SUCCESS] 09 - Brother's Keeper (feat. Pusha T).flac (skip:already exists!)
[ERR] DL Track[Smile/Petty (feat. Sonyae Elise)] failed.Get operation err!
[SUCCESS] 10 - Anywhere (feat. Snoop Dogg & The Last Artful, Dodgr).flac (skip:already exists!)
[SUCCESS] 11 - Trippy (feat. J. Cole).flac (skip:already exists!)
[SUCCESS] 12 - Cheers (feat. Q-Tip).flac (skip:already exists!)
[SUCCESS] 13 - Sweet Chick (feat. BJ The Chicago Kid).flac (skip:already exists!)
[SUCCESS] 14 - Left to Right.flac (skip:already exists!)
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Oxnard     |
| ID             | 98360379   |
| Track Number   | 14         |
| Video Number   | 0          |
| Release Date   | 2018-11-16 |
| Version        | None       |
| Explicit       | True       |
+----------------+------------+
[SUCCESS] 05 - 6 Summers.flac (skip:already exists!)
[SUCCESS] 02 - Headlow (feat. Norelle).flac (skip:already exists!)
[SUCCESS] 01 - The Chase (feat. Kadhja Bonet).flac (skip:already exists!)
[ERR] DL Track[Tints (feat. Kendrick Lamar)] failed.Get operation err!
[SUCCESS] 06 - Saviers Road.flac (skip:already exists!)
[SUCCESS] 04 - Who R U-.flac (skip:already exists!)
[ERR] DL Track[Smile/Petty (feat. Sonyae Elise)] failed.Get operation err!
[ERR] DL Track[Mansa Musa (feat. Dr. Dre & Cocoa Sarai)] failed.Get operation err!
[ERR] DL Track[Brother's Keeper (feat. Pusha T)] failed.Get operation err!
[ERR] DL Track[Anywhere (feat. Snoop Dogg & The Last Artful, Dodgr)] failed.Get operation err!
[SUCCESS] 13 - Sweet Chick (feat. BJ The Chicago Kid).flac (skip:already exists!)
[ERR] DL Track[Trippy (feat. J. Cole)] failed.Get operation err!
[ERR] DL Track[Cheers (feat. Q-Tip)] failed.Get operation err!
[ERR] DL Track[Left To Right] failed.Get operation err!
+----------------+------------------------+
| ALBUM-PROPERTY | VALUE                  |
+----------------+------------------------+
| Title          | Oxnard (Instrumentals) |
| ID             | 159794822              |
| Track Number   | 14                     |
| Video Number   | 0                      |
| Release Date   | 2018-11-16             |
| Version        | None                   |
| Explicit       | False                  |
+----------------+------------------------+
[ERR] [ERR] [ERR] DL Track[The Chase (Instrumental)] failed.Get operation err!DL Track[Who R U? (Instrumental)] failed.Get operation err!DL Track[Headlow (Instrumental)] failed.Get operation err!

[ERR] DL Track[6 Summers (Instrumental)] failed.Get operation err!
[ERR] DL Track[Saviers Road (Instrumental)] failed.Get operation err!
[ERR] DL Track[Mansa Musa (Instrumental)] failed.Get operation err!
[ERR] DL Track[Smile/Petty (Instrumental)] failed.Get operation err!
[ERR] DL Track[Anywhere (Instrumental)] failed.Get operation err!
[ERR] DL Track[Trippy (Instrumental)] failed.Get operation err!
[ERR] DL Track[Cheers (Instrumental)] failed.Get operation err!
[ERR] DL Track[Sweet Chick (Instrumental)] failed.Get operation err!
[ERR] DL Track[Left To Right (Instrumental)] failed.Get operation err!
[SUCCESS] Tints (Instrumental)
[SUCCESS] Brother's Keeper (Instrumental)
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Malibu     |
| ID             | 55010255   |
| Track Number   | 16         |
| Video Number   | 0          |
| Release Date   | 2016-01-22 |
| Version        | None       |
| Explicit       | True       |
+----------------+------------+
[ERR] DL Track[Heart Don't Stand a Chance] failed.Get operation err!
[ERR] DL Track[The Season | Carry Me] failed.Get operation err!
[ERR] DL Track[The Bird] failed.Get operation err!
[ERR] DL Track[The Waters] failed.Get operation err!
[ERR] DL Track[Put Me Thru] failed.Get operation err!
[ERR] DL Track[Am I Wrong] failed.Get operation err!
[ERR] DL Track[Without You] failed.Get operation err!
[ERR] DL Track[Parking Lot] failed.Get operation err!
[ERR] DL Track[Lite Weight] failed.Get operation err!
[ERR] DL Track[Room in Here] failed.Get operation err!
[ERR] DL Track[Water Fall (Interluuube)] failed.Get operation err!
[ERR] DL Track[Your Prime] failed.Get operation err!
[ERR] DL Track[Come Down] failed.Get operation err!
[ERR] DL Track[Silicon Valley] failed.Get operation err!
[ERR] DL Track[Celebrate] failed.Get operation err!
[ERR] DL Track[The Dreamer] failed.Get operation err!
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Malibu     |
| ID             | 56201467   |
| Track Number   | 16         |
| Video Number   | 0          |
| Release Date   | 2016-01-22 |
| Version        | None       |
| Explicit       | False      |
+----------------+------------+
[ERR] DL Track[Heart Don't Stand a Chance] failed.Get operation err!
[ERR] DL Track[The Season | Carry Me] failed.Get operation err![ERR] [ERR]
DL Track[The Waters] failed.Get operation err!DL Track[The Bird] failed.Get operation err!

[ERR] DL Track[Put Me Thru] failed.Get operation err!
[ERR] DL Track[Am I Wrong] failed.Get operation err!
[ERR] DL Track[Without You] failed.Get operation err!
[ERR] DL Track[Lite Weight] failed.Get operation err!
[ERR] [ERR] DL Track[Room in Here] failed.Get operation err!DL Track[Parking Lot] failed.Get operation err!

[ERR] DL Track[Silicon Valley] failed.Get operation err!
[ERR] DL Track[Celebrate] failed.Get operation err!
[ERR] [ERR] DL Track[Your Prime] failed.Get operation err!DL Track[Water Fall (Interluuube)] failed.Get operation err!

[ERR] DL Track[Come Down] failed.Get operation err!
[ERR] DL Track[The Dreamer] failed.Get operation err!
+----------------+-----------------+
| ALBUM-PROPERTY | VALUE           |
+----------------+-----------------+
| Title          | Link Up & Suede |
| ID             | 185778342       |
| Track Number   | 6               |
| Video Number   | 0               |
| Release Date   | 2015-12-04      |
| Version        | None            |
| Explicit       | True            |
+----------------+-----------------+
[ERR] DL Track[Link Up] failed.Get operation err!
[ERR] [ERR] [ERR] DL Track[Suede] failed.Get operation err!DL Track[Dntstop (Interlude)] failed.Get operation err![ERR] 

DL Track[Anthrtime (Intro)] failed.Get operation err!DL Track[Datwhip (Interlude)] failed.Get operation err!

[ERR] DL Track[Droogs] failed.Get operation err!
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Venice     |
| ID             | 36796815   |
| Track Number   | 16         |
| Video Number   | 0          |
| Release Date   | 2014-10-28 |
| Version        | None       |
| Explicit       | True       |
+----------------+------------+
[ERR] DL Track[Milk N' Honey] failed.Get operation err!
[ERR] DL Track[Miss Right] failed.Get operation err!
[ERR] DL Track[Might Be] failed.Get operation err!
[ERR] DL Track[Waves] failed.Get operation err!
[ERR] DL Track[The City] failed.Get operation err!
[ERR] DL Track[Put You On] failed.Get operation err!
[ERR] DL Track[Already] failed.Get operation err!
[ERR] DL Track[I Miss That Whip] failed.Get operation err!
[ERR] DL Track[Dogtown] failed.Get operation err!
[ERR] DL Track[Get 'Em Up] failed.Get operation err!
[ERR] DL Track[Paint] failed.Get operation err!
[ERR] DL Track[Drugs] failed.Get operation err!
[ERR] DL Track[Miki Doralude] failed.Get operation err!
[ERR] DL Track[Luh You] failed.Get operation err!
[ERR] DL Track[Right There] failed.Get operation err!
[ERR] DL Track[Off The Ground] failed.Get operation err!
+----------------+------------+
| ALBUM-PROPERTY | VALUE      |
+----------------+------------+
| Title          | Venice     |
| ID             | 50102865   |
| Track Number   | 16         |
| Video Number   | 0          |
| Release Date   | 2014-10-28 |
| Version        | None       |
| Explicit       | True       |
+----------------+------------+
[ERR] DL Track[Waves] failed.Get operation err!
[ERR] DL Track[The City] failed.Get operation err!
[ERR] DL Track[Might Be] failed.Get operation err!
[ERR] DL Track[Miss Right] failed.Get operation err!
[ERR] DL Track[Milk N' Honey] failed.Get operation err!
[ERR] DL Track[Already] failed.Get operation err!
[ERR] DL Track[Dogtown] failed.Get operation err!
[ERR] DL Track[I Miss That Whip] failed.Get operation err!
[ERR] DL Track[Put You On] failed.Get operation err!
[ERR] DL Track[Paint] failed.Get operation err!
[ERR] DL Track[Miki Doralude] failed.Get operation err![ERR]
DL Track[Get 'Em Up] failed.Get operation err!
[ERR] DL Track[Drugs] failed.Get operation err!
[ERR] DL Track[Luh You] failed.Get operation err!
[ERR] DL Track[Right There] failed.Get operation err!
[ERR] DL Track[Off The Ground] failed.Get operation err!
====================================================
CHOICE                 FUNCTION
Enter '0':             Exit
Enter '1':             Check AccessToken
Enter '2':             Logout
Enter '3':             Set AccessToken
Enter '4':             Settings-Path
Enter '5':             Settings-Quality
Enter '6':             Settings-Else
Enter '7':             Select APIKey
Enter 'Url/ID':        Download by url or ID
====================================================
Enter Choice:

Add screenshots

No response

zaptrem commented 2 years ago

Same issue here. Did you find a solution?

poland153 commented 2 years ago

No solution but my workaround was to turn off multi thread since downloading one by one seems to be more forgiving to the api; maybe with multi thread its querying tidal too often, potentially making them mad?

I'm okay with sacrificing time for reliability for the time being.