diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-13 16:26:33 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-13 16:26:33 +0100 |
| commit | b59cba77c3769f193201b735341adc5aff05ac1a (patch) | |
| tree | 2edd2f72bd0eb3745427eea5f40b841d4cbdd11f /tidal_dl_ng/model | |
| parent | dd8833add888412ff192d9a61466c8c16c3939e2 (diff) | |
| download | tidal-dl-ng-b59cba77c3769f193201b735341adc5aff05ac1a.tar.gz | |
♻️ Refactoring of download.py ongoing.
Diffstat (limited to 'tidal_dl_ng/model')
| -rw-r--r-- | tidal_dl_ng/model/cfg.py | 5 | ||||
| -rw-r--r-- | tidal_dl_ng/model/tidal.py | 2 |
2 files changed, 4 insertions, 3 deletions
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 |
