fix album having date = 0

This commit is contained in:
mungai-njoroge
2023-07-09 17:57:14 +03:00
parent 65d21d07da
commit 4a7416853a
8 changed files with 63 additions and 31 deletions
+1 -1
View File
@@ -15,5 +15,5 @@ def validate_tracks() -> None:
"""
for track in tqdm(TrackStore.tracks, desc="Checking for deleted tracks"):
if not os.path.exists(track.filepath):
TrackStore.tracks.remove(track)
TrackStore.remove_track_obj(track)
tdb.remove_tracks_by_filepaths(track.filepath)