Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Cannot download Master quality #303

Open
Grosser-Kurfuerst opened this issue Jul 27, 2024 · 11 comments
Open

[BUG]: Cannot download Master quality #303

Grosser-Kurfuerst opened this issue Jul 27, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@Grosser-Kurfuerst
Copy link

Which tool

tidal-gui and tidal-dl

Version

1.2.1.10

Platform

windows11

Describe the bug

When the sound quality option is set to master and the song has master resources, a "cannot get the streamUrl" error occurs. Both Tidal-GUI and Tidal-dl have this issue.

Relevant log output

DL Track[Trio Sonata No. 6 in G Major, BWV 530: I. Vivace (Arr. for Mandolin, Cello, and Double Bass)] failed.Can't get the streamUrl, type is application/dash+xml

Add screenshots

No response

@xFanexx
Copy link

xFanexx commented Jul 27, 2024

I guess it is because tidal removed MQA from their whole library.
You can read more here: https://support.tidal.com/hc/en-us/articles/25876825185425-Audio-Format-Updates

My guess is, if there is no MQA anymore, then the GUI cant get the stream for it.

@Neuralized-III
Copy link

Neuralized-III commented Jul 30, 2024

Elsewhere in this Issues List is published a technique to acquire an AccessToken that can be used to enable MAX HiRes downloads.
This is successful, but not much of the Tidal content appears to be in 192khz 24-bit encoding yet.
The current gui app does not distinquish between which search results are regular or Max hi-res.
The [M] MQA indicator is no longer applicable.
In the gui version you'll often see multiple listings of the same album. Each usually represents a different encoding.
By trial-and-error you can find one that is Max HiRes (24-bit and such).
Tidal will withhold offering the MAX versions if it thinks the device is not capable of playing that format.
Getting an Auth Token from the official Tidal App allows for that access.

Most comments on this topic are posted in the Tidal-DL issues forum.
Yaronzz had earlier posted this information on obtaining Tokens.
https://doc.yaronzz.com/post/get_accesstoken/

@Quicktime2
Copy link

Any news or FIX on how to get Hi Res working after the Tidal changes ?

@xFanexx
Copy link

xFanexx commented Aug 4, 2024

Any news or FIX on how to get Hi Res working after the Tidal changes ?

I sadly have no idea when it will work again. This project seems very abandoned...
In case someone makes a tutorial / fixed .exe of the GUI i would like to be informed too...

@Neuralized-III
Copy link

Th GUI app CAN download Hi_Res... up to 192khz 24bit encoding.
However the app does not show which files are "lossless" vs "hi res lossless".
Maybe someone has modified a version to fix these limitations... check the forks.. I don't think Yaronzz is working on this version though.
The Hi_res download can be enabled in the GUI app by manually getting an AccessToken as described elsewhere here.
It works for about 24 hrs, then you need to get a new token.
I do like the way this gui app names and organizes the downloads and sets the metadata in the files.
There are other DL apps out there that show more indicators of which particular download options are Lossless (44khz 16-bit) vs HiRes lossless (usually 24-bit, up to 192khz sampling).

@Quicktime2
Copy link

"The Hi_res download can be enabled in the GUI app by manually getting an AccessToken as described elsewhere here."
"There are other DL apps out there that show more indicators of which particular download options are"

I did try to find the AccessToken using the Charles App - but it just displays encoded stuff, not anything in English so the search for the token was fruitless.
Any other Apps (links) you can recommend that work at this time?

@Neuralized-III
Copy link

"The Hi_res download can be enabled in the GUI app by manually getting an AccessToken as described elsewhere here." "There are other DL apps out there that show more indicators of which particular download options are"

I did try to find the AccessToken using the Charles App - but it just displays encoded stuff, not anything in English so the search for the token was fruitless. Any other Apps (links) you can recommend that work at this time?

Look for the instructions on FIDDLER app. it works for me

@Quicktime2
Copy link

Quicktime2 commented Aug 5, 2024

Look for the instructions on FIDDLER app. it works for me

I am using the Fiddler app now and can see the Authorization Bearer code - thanks.
But its still not working and when I test it says: "Can't read Tidal desktop log file"

@khchow222
Copy link

I had an issue within an album. Some tracks download without any issue and some tracks downloaded with "Decrypt failed" error.

@Neuralized-III
Copy link

Im not a coder anymore (no python experience) but the Decrypt error is possibly due to a memory handling bug.
The "decrypt failure" error seems to happen on the much larger 24-bit /192khz files that are over ~ 250MB in size.
If you have multiple threads enabaled, switch to downloading a single thread (1 track) at a time.
If you're downloading entire album, and 1 super large track fails, delete the failed track and then go back and download that 1 track by itself.
Yes it's messy... and Ive found that TIDAL-GUI usually cant EVER successfuly decrypt anything > 450MB.
Code just needs some tweaking to resolve this issue.
I'm pretty sure the original design didn't account for flac files of this size.

@adiadi2
Copy link

adiadi2 commented Sep 15, 2024

@Neuralized-III can you please upload your "tidal-ini" file without actual accesstoken, since tidal-gui.exe is single file app I've put tidal-ini file in the same dir with only one line accesstoken=xxxxxxxxx, should it be quoted? does the tidal-ini need .ini extension as well? do I need any other config in it?
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants