diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-19 07:02:00 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-19 07:02:00 +0100 |
| commit | ce639659b44028a88ddf6bb48a26bcd6adfcb0b0 (patch) | |
| tree | 4f9acad9d8f670ee734de149779317126a11f3f8 /tidal_dl_ng/constants.py | |
| parent | 5c5aac11f1903805c8dc95c8eaffa9b8d9ca4c8a (diff) | |
| download | tidal-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.py | 7 |
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): |
