RandomNinjaAtk / arr-scripts

Extended Container Scripts - Automation scripts to make life easier!
GNU General Public License v3.0
585 stars 60 forks source link

[BUG] - LIDARR - Issues with Tidal on some matches #276

Open krasen1234 opened 1 month ago

krasen1234 commented 1 month ago

Using develop with standard config set to lossless and tidal, zz top and some other stuff downloads

# CLIENT
dlClientSource="tidal"                # deezer, tidal or both :: set to both, to use both clients, tidal requires extra steps, view logging output
arlToken=""
tidalCountryCode="US"                  # Country Code required for tidal
failedDownloadAttemptThreshold="6"     # Maximum number of attempts to download a particular album ID from the service before considering it a failed download...
deezerClientTestDownloadId="197472472" # A known good deezer track id that is used to test/verify the client is functioning in the event all download attempts have failed. Prevents the script f>
tidalClientTestDownloadId="166356219"  # A known good tidal track id that is used to test/verify the client is functioning in the event all download attempts have failed. Prevents the script fr>
downloadClientTimeOut="10m"            # 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days :: Kills freyr download client after the set timeout period, prevents lock>

# QUALITY
audioLyricType="both"   # both or explicit or clean :: both, is explicit preferred matching, explicit is explicit releases only matching and clean is clean releases only matching
audioFormat="native"    # native or alac or mp3 or aac or opus :: native is the native download client file type, selected by the matching audio bit-rate
audioBitrate="lossless" # master or lossless or high or low or ### :: master = MQA/lossless flac files, lossless = flac files, high = 320K, low = 128k/96k, ### = the output bit-rate of converte>
requireQuality="true"  # true = enabled :: Downloads will be checked for quality and require to have the requested file format & quality

but getting this on all pink floyd albums. album id from tidal site 7909672


 2024-06-20 13:20:19 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Artist Search :: Tidal :: Clean :: Meddle :: Meddle vs Meddle :: Checking for Match...
2024-06-20 13:20:19 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Artist Search :: Tidal :: Clean :: Meddle :: Meddle vs Meddle :: Calculating Damerau-Levenshtein distance...
2024-06-20 13:20:19 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Artist Search :: Tidal :: Clean :: Meddle :: Meddle vs Meddle :: Tidal MATCH Found :: Calculated Difference = 0
2024-06-20 13:20:19 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Artist Search :: Tidal :: Clean :: Meddle :: Downloading 6 Tracks :: Meddle (1971)
2024-06-20 13:20:19 :: Audio :: 2.44 :: adding arr-extended tag
2024-06-20 13:20:19 :: Audio :: 2.44 :: Adding download Client
2024-06-20 13:20:21 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Download Attempt number 1
[INFO] AccessToken good for 6 days, 22 hours.
[INFO] Download path:/downloads/audio/incomplete
[ERR] No result. [55391742]
2024-06-20 13:20:26 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: ERROR :: download failed, missing tracks...
2024-06-20 13:20:26 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Retry Download in 1 second fix errors...
2024-06-20 13:20:27 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Download Attempt number 2
[INFO] AccessToken good for 6 days, 22 hours.
[INFO] Download path:/downloads/audio/incomplete
[ERR] No result. [55391742]
2024-06-20 13:20:31 :: Audio :: 2.44 :: TIDAL :: tidal-dl client setup verification...
[INFO] AccessToken good for 6 days, 22 hours.
[INFO] Download path:/downloads/audio/incomplete
+----------------+----------------------------------------+
| ALBUM-PROPERTY | VALUE                                  |
+----------------+----------------------------------------+
| Title          | One Step Closer (100 gecs Reanimation) |
| ID             | 166356219                              |
| Track Number   | 1                                      |
| Video Number   | 0                                      |
| Release Date   | 2001-02-13                             |
| Version        | None                                   |
| Explicit       | False                                  |
+----------------+----------------------------------------+
Sleeping for 4.672 seconds, to mimic human behaviour and prevent too many requests error
+----------------+----------------------------------------+
| TRACK-PROPERTY | VALUE                                  |
+----------------+----------------------------------------+
| Title          | One Step Closer (100 gecs Reanimation) |
| ID             | 166356220                              |
| Album          | One Step Closer (100 gecs Reanimation) |
| Version        | None                                   |
| Explicit       | False                                  |
| Max-Q          | HI_RES                                 |
| Get-Q          | LOW                                    |
| Get-Codec      | mp4a.40.5                              |
+----------------+----------------------------------------+
 38%|▓▓▓▓▓          | 0.63/1.63 MB
100%|▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓| 1.63/1.63 MB
[SUCCESS] One Step Closer (100 gecs Reanimation)
2024-06-20 13:20:47 :: Audio :: 2.44 :: TIDAL :: Successfully Verified
2024-06-20 13:20:47 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: All 6 Download Attempts failed, skipping...
2024-06-20 13:20:47 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: ERROR :: download failed, missing tracks...
2024-06-20 13:20:47 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Consolidating files to single folder
2024-06-20 13:20:47 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: ERROR :: All download Attempts failed...
2024-06-20 13:20:47 :: Audio :: 2.44 :: 1 :: missing :: 1 of 1 :: Pink Floyd :: Meddle :: Album :: Logging 55391742 as failed download...

` i also have no idea why it tries to download mp4 when i have set lossless in confiig.

RandomNinjaAtk commented 1 month ago

It's either not available in that quality or your subscription doesn't support lossless quality most likely...

krasen1234 commented 1 month ago

hello, the album is availble on the site 16-bit 44.1KHZ FLAC, i have a subscription for hifi and i can listen to the same album on the app and website just fine, i even tried with other quality settings and it fails to download

it appears to me the matching algo does not work,

Title | One Step Closer (100 gecs Reanimation) | | ID | 166356219 | | Track Number | 1 | | Video Number | 0 | | Release Date | 2001-02-13

this is not even the correct album to download

RandomNinjaAtk commented 1 month ago

Sounds like a problem with the dl client, you would need to take that up with the dl client repo... These scripts just do a handoff to the tool that is required to get the job done and the process of doing that is all I manage/support...

jasonpatrickellykrause commented 1 day ago

Verified issue is with tidal-dl

https://github.com/yaronzz/Tidal-Media-Downloader-PRO/issues/302 https://github.com/yaronzz/Tidal-Media-Downloader-PRO/issues/303