add new flags to disable cleaning track and album titles

+ update readme
+
This commit is contained in:
geoffrey45 committed 2023-05-05 23:11:56 +03:00
1 parent 51a5502efc
commit be7fc26fce
12 files changed
+171 -105

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ def extract_thumb(filepath: str, webp_path: str) -> bool:
return False
def extract_date(date_str: str | None, filepath: str) -> int:
def extract_date(date_str: str | None) -> int:
try:
return int(date_str.split("-")[0])
except: # pylint: disable=bare-except