Adjust logging for itemtypes not found

This commit is contained in:
angelblue05 2016-07-30 19:19:07 -05:00
parent 95066b0f77
commit 54db63c378

View file

@ -288,7 +288,7 @@ class Movies(Items):
except TypeError: except TypeError:
update_item = False update_item = False
log.info("movieid: %s not found." % itemid) log.debug("movieid: %s not found." % itemid)
# movieid # movieid
kodicursor.execute("select coalesce(max(idMovie),0) from movie") kodicursor.execute("select coalesce(max(idMovie),0) from movie")
movieid = kodicursor.fetchone()[0] + 1 movieid = kodicursor.fetchone()[0] + 1
@ -670,7 +670,7 @@ class MusicVideos(Items):
except TypeError: except TypeError:
update_item = False update_item = False
log.info("mvideoid: %s not found." % itemid) log.debug("mvideoid: %s not found." % itemid)
# mvideoid # mvideoid
kodicursor.execute("select coalesce(max(idMVideo),0) from musicvideo") kodicursor.execute("select coalesce(max(idMVideo),0) from musicvideo")
mvideoid = kodicursor.fetchone()[0] + 1 mvideoid = kodicursor.fetchone()[0] + 1
@ -1008,7 +1008,7 @@ class TVShows(Items):
except TypeError: except TypeError:
update_item = False update_item = False
log.info("showid: %s not found." % itemid) log.debug("showid: %s not found." % itemid)
kodicursor.execute("select coalesce(max(idShow),0) from tvshow") kodicursor.execute("select coalesce(max(idShow),0) from tvshow")
showid = kodicursor.fetchone()[0] + 1 showid = kodicursor.fetchone()[0] + 1