fix db insert duplicate unique fields error

+ save album date as timestamp in db
+ Rewrite artist image downloader with multiprocessing.Pool
This commit is contained in:
mungai-njoroge
2023-06-21 13:20:09 +03:00
parent 4d310c39c3
commit 88be80b25d
5 changed files with 37 additions and 33 deletions
-1
View File
@@ -131,7 +131,6 @@ def add_track(filepath: str) -> None:
"""
# remove the track if it already exists
TrackStore.remove_track_by_filepath(filepath)
db.remove_tracks_by_filepaths(filepath)
# add the track to the database and store.
tags = get_tags(filepath)