Less logging
This commit is contained in:
parent
e21c16f846
commit
5f7426da1c
2 changed files with 3 additions and 3 deletions
|
@ -324,7 +324,7 @@ class Artwork():
|
||||||
(url,))
|
(url,))
|
||||||
cachedurl = cursor.fetchone()[0]
|
cachedurl = cursor.fetchone()[0]
|
||||||
except TypeError:
|
except TypeError:
|
||||||
LOG.info("Could not find cached url.")
|
LOG.debug("Could not find cached url.")
|
||||||
else:
|
else:
|
||||||
# Delete thumbnail as well as the entry
|
# Delete thumbnail as well as the entry
|
||||||
path = translatePath("special://thumbnails/%s" % cachedurl)
|
path = translatePath("special://thumbnails/%s" % cachedurl)
|
||||||
|
|
|
@ -469,7 +469,7 @@ class Movies(Items):
|
||||||
kodi_id = plex_dbitem[0]
|
kodi_id = plex_dbitem[0]
|
||||||
file_id = plex_dbitem[1]
|
file_id = plex_dbitem[1]
|
||||||
kodi_type = plex_dbitem[4]
|
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)
|
kodi_type, kodi_id, file_id)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
return
|
return
|
||||||
|
@ -509,7 +509,7 @@ class Movies(Items):
|
||||||
# Update plex reference
|
# Update plex reference
|
||||||
plex_db.updateParentId(plexid, None)
|
plex_db.updateParentId(plexid, None)
|
||||||
kodicursor.execute("DELETE FROM sets WHERE idSet = ?", (kodi_id,))
|
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):
|
class TVShows(Items):
|
||||||
|
|
Loading…
Reference in a new issue