Just some formatting change and utilities for the next step

This commit is contained in:
thecookingsenpai
2024-01-30 15:51:05 +01:00
parent d411f04e98
commit e0581259a6
2 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -104,8 +104,9 @@ class Populate:
log.error(
"Internet connection lost. Downloading artist images stopped."
)
log.error(e) # REVIEW More informations = good
else:
log.warning(f"No internet connection. Downloading artist images stopped!")
log.warning("No internet connection. Downloading artist images stopped!")
# Re-process the new artist images.
if tried_to_download_new_images:
@@ -135,6 +136,7 @@ class Populate:
unmodified_paths.add(track.filepath)
continue
except (FileNotFoundError, OSError) as e:
log.warning(e) # REVIEW More informations = good
TrackStore.remove_track_obj(track)
remove_tracks_by_filepaths(track.filepath)