use create_hash to compare album titles for is_single

+ add a few string checks for album.is_single
This commit is contained in:
geoffrey45
2023-04-08 20:26:45 +03:00
parent 55a41f4f19
commit e5f18f9301
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -68,6 +68,7 @@ def extract_date(date_str: str | None, filepath: str) -> int:
try:
return int(date_str.split("-")[0])
except: # pylint: disable=bare-except
# TODO: USE FILEPATH LAST-MOD DATE instead of current date
return datetime.date.today().today().year