This commit is contained in:
2026-05-08 13:33:22 +00:00
parent 97b3ebb41f
commit 2c35d5fed0
2 changed files with 3 additions and 1 deletions

View File

@@ -452,7 +452,7 @@ def save_album_from_spotify(spotify, audio, x: str, spotify_data: dict) -> bool:
year = str(datetime.strptime(release_date, '%Y').year)
except:
year = str(release_date)
logging.info("Parsed release date: " + release_date + ", year: " + year)
if x.endswith(".flac"):
audio["year"] = year
audio["date"] = release_date