mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
handle watchdog's file created event using the on_modified
handler + move processing thumbnails and album colors to the populate class + move processing artist colors behind the populate call in run_periodic_checks
This commit is contained in:
+2
-4
@@ -28,10 +28,6 @@ def run_periodic_checks():
|
||||
except PopulateCancelledError:
|
||||
pass
|
||||
|
||||
ProcessTrackThumbnails()
|
||||
ProcessAlbumColors()
|
||||
ProcessArtistColors()
|
||||
|
||||
if utils.Ping()():
|
||||
try:
|
||||
CheckArtistImages()
|
||||
@@ -40,4 +36,6 @@ def run_periodic_checks():
|
||||
"Internet connection lost. Downloading artist images stopped."
|
||||
)
|
||||
|
||||
ProcessArtistColors()
|
||||
|
||||
time.sleep(300)
|
||||
|
||||
Reference in New Issue
Block a user