-
Notifications
You must be signed in to change notification settings - Fork 22
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
Decryption fails on particular track. #44
Comments
What region is your account in? I am having a hard time reproducing since my test credentials can't access that album due to region locking. Once I get account credentials for that region, I can test and fix. |
I'm in the US. |
I tried using a US based premium account on the latest redsea release (2.2) and it worked:
Can you send me the log output? |
You are downloading at the highest quality right? Right after it outputs "Looks like file is encrypted. Decrypting....", it crashes. It doesn't output any error.
|
Yes. Here is the command I used and the output:
Then I used mqaid to verify that it did indeed pull the MQA (highest quality) version:
Just a heads up, MQA format contains some artifacts (such as the syncword) that are generally unfavorable for certain applications vs standard 16bit flac but for personal use you should be fine. Are you on RED IRC? Might be easier to help you there. |
I didn't realize the flac files I was getting also contained MQA data. Is it just metadata or is it mixed in with the encode? I'm not on that IRC. Are you using different versions of the dependencies? This is what I have. Is there a way to get the application give information on whatever exception is being thrown? |
Yeah, even though MQA is technically higher quality since it is 24bit, it does contain artifacts embedded in the audio which can only be properly removed with MQA compatible hardware (the software MQA decoder will not completely reverse the MQA encoding). The embedded data is not supposed to be audible so like many things in audio, it's a matter of debate/personal opinion whether its better to have MQA or standard 16bit flac. That's why I have the software default to 16bit flac but retain the option to download MQA. Perhaps I should add a warning/note regarding the MQA stuff. I am using these dependencies with standard Python 3.7.4: isort==4.3.21
lazy-object-proxy==1.4.2
mccabe==0.6.1
mutagen==1.31
pycryptodome==3.9.0
requests==2.9.1
six==1.12.0
typed-ast==1.4.0
wrapt==1.11.2 Regarding increased verbosity, there isn't currently an option for that but I will add it to the to-do list. Still, the place where the program is halting for you is really strange. "Exiting.." is not one of the messages in this program so it must be from one of the libraries, likely the crypto library. I will work on getting a more verbose version of the program together. |
I tried downloading the album at FLAC quality instead, and it completed successfully. So the issue seems to be with the MQA files. |
Program crashes when it tries to decrypt first track on:
https://listen.tidal.com/album/85187772
Quality is set to best available. Perhaps it's due to the file size?
The text was updated successfully, but these errors were encountered: