From 14483a162949dcdffc1fe36b5c4962f1926beaa3 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sat, 13 Jan 2024 11:57:11 +0100 Subject: ♻️ Some refactoring started within download.py. ✨ Track extension can be ignored while skipping files. Closes #11. ✨ Started to implement MPEG DASH download support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/model/cfg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tidal_dl_ng/model/cfg.py') diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py index 74e0305..ee0a856 100644 --- a/tidal_dl_ng/model/cfg.py +++ b/tidal_dl_ng/model/cfg.py @@ -3,13 +3,14 @@ from dataclasses import dataclass from dataclasses_json import dataclass_json from tidalapi import Quality -from tidal_dl_ng.constants import QualityVideo +from tidal_dl_ng.constants import QualityVideo, SkipExisting @dataclass_json @dataclass class Settings: - skip_existing: bool = False + 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. @@ -32,7 +33,6 @@ class Settings: metadata_cover_height: int = 320 -@dataclass_json @dataclass class HelpSettings: skip_existing: str = "Do not download, if file already exists." -- cgit v1.3.1