exislow / tidal-dl-ng

TIDAL Media Downloader Next Generation! Up to HiRes Lossless / TIDAL MAX 24-bit, 192 kHz.
GNU Affero General Public License v3.0
354 stars 34 forks source link

Only downloads upto 48000khz (which i think is mqa). HiRes Lossless (TIDAL MAX) not working. #9

Closed duckyz1 closed 9 months ago

duckyz1 commented 9 months ago

Hello,

While trying to download 24bit/192khz songs from Tidal it seems like Tidal-dl new gen can only download up to 48khz I think it is MQA (same with Yaronzz's tidal-dl)

Here you can see the track is 24/192 image

after I've downloaded it using your GUI image

I put it into foobar2000 image

and it shows up as being 48000hz

It would be cool if you could fix up Tidal-dl new gen and support the downloading of Tidal hi-res lossless and not being directed to mqa instead.

If this is a user issue please let me know how to fix it, it'll be greatly appreciated.

exislow commented 9 months ago

Thanks for your report. Do you have the tidal max plan? Can you post the link of the song so I can try to re-produce it?

typingbeaver commented 9 months ago

Song is https://tidal.com/browse/track/68646787

The downloaded Song is indeed an MQA song, which gets upscaled from 24 bits/48kHz to 24 bits/192kHz. file file_mqa

I don't think there can be done much, as the download is handled by the tidalapi package and not this downloader itself.

typingbeaver commented 9 months ago

The only way to get true 24 bits/192kHz FLACs is by grabbing a token from the official application itself. 3rd party applications via browser login (like this one) only get 24 bits/48kHz max. See this issue

exislow commented 9 months ago

I think I know why this happens. Only the following devices are allowed to download MAX: https://tidal.com/supported-devices?filter=hires-flac

Thus, I need a client_id and the client_secret of one of these devices to be able to enable this app to download MAX. This needs some serious reverse engineering. Let me see, what I can do.

I also do not have a TIDAL MAX plan, which makes it hard for me to test.

exislow commented 9 months ago

Does anybody know a TIDAL GitHub project, which is able to download with MAX resolution?

exislow commented 9 months ago

I think I have found the solution. But I need a temporary TIDAL MAX account to finish development. It would be really helpful, if anybody likes to donate something / create me a temporary family account with a TIDAL MAX subscription to be able to finish this issue.

rgnet1 commented 9 months ago

Hi, I'm willing to share my credentials if you need it. I have a personal account but i do not use it that often. Add me on discord. my username is: rumz

exislow commented 9 months ago

Thanks a lot! I did, just waiting for you to confirm my friend request.

rgnet1 commented 9 months ago

Oh I don't think I got it. Put a dot in front: .rumz

I forgot discord does that

exislow commented 9 months ago

Closing this issue here, since I am going to tackle this topic here: https://github.com/tamland/python-tidal/issues/188