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

[BUG]: can't download proper Atmos anymore #1110

Open DJAetius opened 1 year ago

DJAetius commented 1 year ago

Which tool

tidal-dl

Version

2022.10.31.1

Platform

Windows 10

Describe the bug

My account is Hifi-Plus. I switched to Tidal-dl from the GUI because the latter wouldn't download proper Atmos versions, and it converts them to 2-channel Flac instead.

I linked my account & device, and left all the settings as-is, I didn't change anything.

At first I was able to download legit Atmos M4A's with Tidal-dl, but later in the day whenever I tried to download anything at all (not just Atmos), it would constantly give me an error no matter what I did or how many times I restarted the tool.

[ERR] DL Track[This Life] failed.Can't get the streamUrl, type is application/dash+xml

Today I refreshed the access token, and even started a NEW trial, successfully linked my device & new account...to no avail.

I tried to play around with the various APIkey settings

Index | Valid | Platform | Formats | +-------+-------+--------------+-----------------------------+ | 0 | False | Fire TV | Normal/High/HiFi(No Master) | | 1 | True | Fire TV | Master-Only(Else Error) | | 2 | False | Android TV | Normal/High/HiFi(No Master) | | 3 | False | TV | Normal/High/HiFi/Master | | 4 | True | Android Auto | Normal/High/HiFi/Master

but only the Index "Android Auto" allows me to download anything. The other 3 give me a "[ERR] Login failed.Device authorization failed. Please choose another apikey." And Index "Fire TV" gives me the "[ERR] DL Track[This Life] failed.Can't get the streamUrl, type is application/dash+xml"

Track in question is https://tidal.com/browse/track/324615677 - it's supposed to be 6-channel Atmos M4A but downloads a 2-channel FLAC instead.

Just to test, I went back & tried to redownload one of the previous Atmos tracks that were an initial success and this time it downloaded a 2-channel FLAC.

ebb-earl-co commented 1 year ago

Interesting... I just opened up tidal-dl on my laptop (I'm running Ubuntu FWIW) and downloaded the track you mention with no problems. Try to change your API key to [4] then back to [1]. I have spent a good amount of time in the last week looking at this as well, so here are some points I've come up with.

DJAetius commented 1 year ago

Interesting... I just opened up tidal-dl on my laptop (I'm running Ubuntu FWIW) and downloaded the track you mention with no problems. Try to change your API key to [4] then back to [1]. I have spent a good amount of time in the last week looking at this as well, so here are some points I've come up with.

  • You absolutely need the Fire TV API key. According to Tidal's device matrix you'll need the credentials from a Fire TV or an Apple TV or an iPhone or an Android (that supports Dolby). So this cracked Fire TV credentials option is the best bet
  • The error you're getting about application/dash+xml is good logging, because Tidal delivers FLAC files via MPEG-DASH using the traditional XML-based MPD file. (Google these terms if you're curious). But, Dolby Atmos is delivered from the API using something probably particular to Tidal that they label vnd.tidal.bts.
  • If it still fails for you, I can find a way to send you the file if you really need

Yeah I did something like that later in the day and it started working again out of nowhere. I deleted & redownlowaded the Downloader a couple times, switched between API keys back and forth, trying each one, and I guess something got unstuck.

The funny thing is I am certain I had already tried the Fire TV API key earlier in the day and still didn't work. I think switching back to an OLDER Downloader version (the June 23 version) did the trick. The saying "if it ain't broke; don't fix it" is very applicable here.

Now the new album is coming out on Friday and I'll give it a shot.