diff options
| author | exislow <exislow@users.noreply.github.com> | 2024-11-08 17:29:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 17:29:29 +0100 |
| commit | 31d324641b59e8e5aca4062198b763fd59ec7b89 (patch) | |
| tree | 8720b1cadd7e802225679b6b64c5894f50ce58dc /tidal_dl_ng/download.py | |
| parent | 0243ed70a7994cd58e6f225792cafaf055413b40 (diff) | |
| parent | 87864bf9304f98af97373d4fa419e19b33c5e05f (diff) | |
| download | tidal-dl-ng-31d324641b59e8e5aca4062198b763fd59ec7b89.tar.gz | |
Merge pull request #213 from exislow/update-tidal-api
Update tidalapi
Diffstat (limited to 'tidal_dl_ng/download.py')
| -rw-r--r-- | tidal_dl_ng/download.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index d6b9e15..84a567b 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -94,7 +94,7 @@ class Download: # Get urls for media. if isinstance(media, Track): - urls = media.get_stream().get_stream_manifest().urls + urls = media.get_stream().get_stream_manifest().get_urls() stream_manifest: StreamManifest = media.get_stream().get_stream_manifest() elif isinstance(media, Video): m3u8_variant: m3u8.M3U8 = m3u8.load(media.get_url()) @@ -211,10 +211,6 @@ class Download: file_extension: str if isinstance(media, Track): - # If hi_res is forbidden in settings and highest track quality is hi_res, downgrade to high_lossless. - if self.settings.data.downgrade_on_hi_res and media.get_stream().audio_quality == Quality.hi_res: - quality_audio = Quality.high_lossless - # If a quality is explicitly set, change it. if quality_audio: quality_audio_old: Quality = self.adjust_quality_audio(quality_audio) |
