From 7e24016788f39977155dca9e7eff5c69b045a457 Mon Sep 17 00:00:00 2001 From: Kamil Date: Tue, 26 Nov 2024 15:11:13 +0000 Subject: [PATCH] Fix: Increment processed_tracks when best_match is found during download task --- app/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/tasks.py b/app/tasks.py index 723c5c9..7fd7bf7 100644 --- a/app/tasks.py +++ b/app/tasks.py @@ -123,7 +123,8 @@ def download_missing_tracks(self): if track.filesystem_path != best_match['Path']: track.filesystem_path = best_match['Path'] - db.session.commit() + db.session.commit() + processed_tracks+=1 continue # region search with fingerprinting