summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/constants.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-03-19 07:02:00 +0100
committerRobert Honz <exislow+github@gmail.com>2024-03-19 07:02:00 +0100
commitce639659b44028a88ddf6bb48a26bcd6adfcb0b0 (patch)
tree4f9acad9d8f670ee734de149779317126a11f3f8 /tidal_dl_ng/constants.py
parent5c5aac11f1903805c8dc95c8eaffa9b8d9ca4c8a (diff)
downloadtidal-dl-ng-ce639659b44028a88ddf6bb48a26bcd6adfcb0b0.tar.gz
✨ Added append as a new option for skip existing. 🛠️ Fixed skip existing ignore extension.
Diffstat (limited to 'tidal_dl_ng/constants.py')
-rw-r--r--tidal_dl_ng/constants.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tidal_dl_ng/constants.py b/tidal_dl_ng/constants.py
index 1348a74..2e53eb7 100644
--- a/tidal_dl_ng/constants.py
+++ b/tidal_dl_ng/constants.py
@@ -1,8 +1,10 @@
from enum import Enum
CTX_TIDAL: str = "tidal"
-REQUESTS_TIMEOUT_SEC = 45
-EXTENSION_LYRICS = ".lrc"
+REQUESTS_TIMEOUT_SEC: int = 45
+EXTENSION_LYRICS: str = ".lrc"
+UNIQUIFY_THRESHOLD: int = 99
+FILENAME_SANITIZE_PLACEHOLDER: str = "_"
class QualityVideo(Enum):
@@ -24,6 +26,7 @@ class SkipExisting(Enum):
Disabled: bool = False
Filename: str = "exact"
ExtensionIgnore: str = "extension_ignore"
+ Append: str = "append"
class StreamManifestMimeType(Enum):