mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 09:14:42 +00:00
add new flags to disable cleaning track and album titles
+ update readme +
This commit is contained in:
1 parent
51a5502efc
commit
be7fc26fce
12 files changed
+171
-105
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user