From fa202e3eb3dea578d3f975eb370e36b312274bec Mon Sep 17 00:00:00 2001 From: rembo10 Date: Sun, 6 Apr 2014 20:11:22 -0700 Subject: [PATCH] Don't update the tag cloud if we're doing the postprocessor library scan --- headphones/librarysync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headphones/librarysync.py b/headphones/librarysync.py index 73131944..2371d918 100644 --- a/headphones/librarysync.py +++ b/headphones/librarysync.py @@ -329,7 +329,8 @@ def libraryScan(dir=None, append=False, ArtistID=None, ArtistName=None, cron=Fal myDB.action('UPDATE artists SET HaveTracks=? WHERE ArtistID=?', [havetracks, ArtistID]) update_album_status() - lastfm.getSimilar() + if not append: + lastfm.getSimilar() logger.info('Library scan complete') #ADDED THIS SECTION TO MARK ALBUMS AS DOWNLOADED IF ARTISTS ARE ADDED EN MASSE BEFORE LIBRARY IS SCANNED