summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model/cfg.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-13 11:57:11 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-13 11:57:11 +0100
commit14483a162949dcdffc1fe36b5c4962f1926beaa3 (patch)
tree7902058e3218d5b05eb1a5c14f8ae726bd429edf /tidal_dl_ng/model/cfg.py
parent0cba5d83b1bfa212d3bdb7719f90740f513f01c2 (diff)
downloadtidal-dl-ng-14483a162949dcdffc1fe36b5c4962f1926beaa3.tar.gz
♻️ Some refactoring started within download.py.
✨ Track extension can be ignored while skipping files. Closes #11. ✨ Started to implement MPEG DASH download support.
Diffstat (limited to 'tidal_dl_ng/model/cfg.py')
-rw-r--r--tidal_dl_ng/model/cfg.py6
1 files changed, 3 insertions, 3 deletions
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."