Since TIDAL has remove MQA (HI_RES), all traces of MQA have been removed here.

This commit is contained in:
Robert Honz
2024-11-06 15:01:18 +01:00
parent a33581dbbb
commit f41d65d7d3
10 changed files with 24 additions and 67 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ def decrypt_security_token(security_token: str) -> (str, str):
def decrypt_file(path_file_encrypted: str, path_file_destination: str, key: str, nonce: str) -> None:
"""
Decrypts an encrypted MQA file given the file, key and nonce
Decrypts an encrypted MQA file given the file, key and nonce.
TODO: Is it really only necessary for MQA of for all other formats, too?
"""
# Initialize counter and file decryptor
-2
View File
@@ -188,8 +188,6 @@ def quality_audio_highest(media: Track | Album) -> Quality:
if MediaMetadataTags.hires_lossless in media.media_metadata_tags:
quality = Quality.hi_res_lossless
elif MediaMetadataTags.mqa in media.media_metadata_tags:
quality = Quality.hi_res
elif MediaMetadataTags.lossless in media.media_metadata_tags:
quality = Quality.high_lossless
else: