From ce639659b44028a88ddf6bb48a26bcd6adfcb0b0 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Tue, 19 Mar 2024 07:02:00 +0100 Subject: ✨ Added append as a new option for skip existing. 🛠️ Fixed skip existing ignore extension. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/constants.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tidal_dl_ng/constants.py') 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): -- cgit v1.3.1