From 5f7426da1cf57408c295e2bc30b00574c1320049 Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 26 Feb 2018 10:28:48 +0100 Subject: [PATCH] Less logging --- resources/lib/artwork.py | 2 +- resources/lib/itemtypes.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/artwork.py b/resources/lib/artwork.py index ee626508..9c708f22 100644 --- a/resources/lib/artwork.py +++ b/resources/lib/artwork.py @@ -324,7 +324,7 @@ class Artwork(): (url,)) cachedurl = cursor.fetchone()[0] except TypeError: - LOG.info("Could not find cached url.") + LOG.debug("Could not find cached url.") else: # Delete thumbnail as well as the entry path = translatePath("special://thumbnails/%s" % cachedurl) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index be7c7935..ca769465 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -469,7 +469,7 @@ class Movies(Items): kodi_id = plex_dbitem[0] file_id = plex_dbitem[1] kodi_type = plex_dbitem[4] - LOG.info("Removing %sid: %s file_id: %s", + LOG.debug("Removing %sid: %s file_id: %s", kodi_type, kodi_id, file_id) except TypeError: return @@ -509,7 +509,7 @@ class Movies(Items): # Update plex reference plex_db.updateParentId(plexid, None) kodicursor.execute("DELETE FROM sets WHERE idSet = ?", (kodi_id,)) - LOG.info("Deleted %s %s from kodi database", kodi_type, itemid) + LOG.debug("Deleted %s %s from kodi database", kodi_type, itemid) class TVShows(Items):