mirror of
https://github.com/nathom/streamrip.git
synced 2025-06-06 09:41:19 -04:00
Tidal MQA working
This commit is contained in:
parent
086262e8b7
commit
66a22bf7c3
5 changed files with 75 additions and 47 deletions
|
@ -33,11 +33,11 @@ from .exceptions import (
|
|||
from .metadata import TrackMetadata
|
||||
from .utils import (
|
||||
clean_format,
|
||||
decrypt_mqa_file,
|
||||
quality_id,
|
||||
safe_get,
|
||||
tidal_cover_url,
|
||||
tqdm_download,
|
||||
decrypt_mqa_file,
|
||||
)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -229,7 +229,7 @@ class Track:
|
|||
raise InvalidSourceError(self.client.source)
|
||||
|
||||
if dl_info.get("enc_key"):
|
||||
decrypt_mqa_file(temp_file, self.final_path, dl_info['enc_key'])
|
||||
decrypt_mqa_file(temp_file, self.final_path, dl_info["enc_key"])
|
||||
else:
|
||||
shutil.move(temp_file, self.final_path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue