From b59cba77c3769f193201b735341adc5aff05ac1a Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sat, 13 Jan 2024 16:26:33 +0100 Subject: ♻️ Refactoring of download.py ongoing. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/model/cfg.py | 5 +++-- tidal_dl_ng/model/tidal.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tidal_dl_ng/model') diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py index ee0a856..2c93efc 100644 --- a/tidal_dl_ng/model/cfg.py +++ b/tidal_dl_ng/model/cfg.py @@ -10,7 +10,6 @@ from tidal_dl_ng.constants import QualityVideo, SkipExisting @dataclass class Settings: skip_existing: SkipExisting = SkipExisting.Disabled - skip_existing_ignore_extension: bool = False album_cover_save: bool = True lyrics_save: bool = False # TODO: Implement API KEY selection. @@ -35,7 +34,9 @@ class Settings: @dataclass class HelpSettings: - skip_existing: str = "Do not download, if file already exists." + skip_existing: str = ("Do not download, if file already exists. Possible option false = do not skip, " + "'exact' = if filename already exists, 'extension_ignore' = skip even if a file with a " + "different file extension exists.") album_cover_save: str = "Safe cover to album folder." lyrics_save: str = "Safe lyrics to audio file." api_key_index: str = "Set the device API KEY." diff --git a/tidal_dl_ng/model/tidal.py b/tidal_dl_ng/model/tidal.py index a5fbae9..2b83270 100644 --- a/tidal_dl_ng/model/tidal.py +++ b/tidal_dl_ng/model/tidal.py @@ -3,9 +3,9 @@ from dataclasses import dataclass @dataclass class StreamManifest: - stream_url: str codecs: str mime_type: str + stream_urls: [str] file_extension: str encryption_type: str | None = None encryption_key: str | None = None -- cgit v1.3.1