add new flags to disable cleaning track and album titles

+ update readme
+
This commit is contained in:
geoffrey45
2023-05-05 23:11:56 +03:00
parent 51a5502efc
commit be7fc26fce
12 changed files with 171 additions and 105 deletions
+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