summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/constants.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-11-29 17:41:25 +0100
committerRobert Honz <exislow+github@gmail.com>2024-11-29 17:41:25 +0100
commit33a30537e9a205dd4b43e891b00c0b5f15a9b71b (patch)
tree9ccb8c4c273ce96fd6ebce8ea2077d281d812712 /tidal_dl_ng/constants.py
parentf2b3cc2505f4c64f09efacd775de3390ae204be0 (diff)
parent4deaf94fb53ad304db73f9384f817b29afcac4a8 (diff)
downloadtidal-dl-ng-33a30537e9a205dd4b43e891b00c0b5f15a9b71b.tar.gz
✨ Merge with master.
Diffstat (limited to 'tidal_dl_ng/constants.py')
-rw-r--r--tidal_dl_ng/constants.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/tidal_dl_ng/constants.py b/tidal_dl_ng/constants.py
index d3ea2b8..10fb93d 100644
--- a/tidal_dl_ng/constants.py
+++ b/tidal_dl_ng/constants.py
@@ -6,6 +6,9 @@ EXTENSION_LYRICS: str = ".lrc"
UNIQUIFY_THRESHOLD: int = 99
FILENAME_SANITIZE_PLACEHOLDER: str = "_"
COVER_NAME: str = "cover.jpg"
+BLOCK_SIZE: int = 4096
+BLOCKS: int = 1024
+CHUNK_SIZE: int = BLOCK_SIZE * BLOCKS
class QualityVideo(StrEnum):
@@ -24,13 +27,6 @@ class MediaType(StrEnum):
ARTIST: str = "artist"
-class SkipExisting(StrEnum):
- Disabled: str = "False"
- Filename: str = "exact"
- ExtensionIgnore: str = "extension_ignore"
- Append: str = "append"
-
-
class CoverDimensions(StrEnum):
Px80: str = "80"
Px160: str = "160"