From 67e2256c62775f3197f16f95681ce6d0113e37f1 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 28 Aug 2015 03:13:06 -0500 Subject: [PATCH] Change logging level for database checks --- resources/lib/LibrarySync.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index ecbe9875..450007d0 100644 --- a/resources/lib/LibrarySync.py +++ b/resources/lib/LibrarySync.py @@ -887,19 +887,19 @@ class LibrarySync(threading.Thread): cursorvideo.execute("SELECT media_type FROM emby WHERE emby_id = ?", (itemId,)) try: # Search video database - self.logMsg("Check video database.", 1) + self.logMsg("Check video database.", 2) mediatype = cursorvideo.fetchone()[0] video.append(userdata) except: if musicenabled: cursormusic.execute("SELECT media_type FROM emby WHERE emby_id = ?", (itemId,)) try: # Search music database - self.logMsg("Check the music database.", 1) + self.logMsg("Check the music database.", 2) mediatype = cursormusic.fetchone()[0] music.append(userdata) - except: self.logMsg("Item %s is not found in Kodi database." % itemId, 2) + except: self.logMsg("Item %s is not found in Kodi database." % itemId, 1) else: - self.logMsg("Item %s is not found in Kodi database." % itemId, 2) + self.logMsg("Item %s is not found in Kodi database." % itemId, 1) if len(video) > 0: connection = connectionvideo