mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Change logging level for database checks
This commit is contained in:
parent
fc1344b7da
commit
67e2256c62
1 changed files with 4 additions and 4 deletions
|
@ -887,19 +887,19 @@ class LibrarySync(threading.Thread):
|
||||||
|
|
||||||
cursorvideo.execute("SELECT media_type FROM emby WHERE emby_id = ?", (itemId,))
|
cursorvideo.execute("SELECT media_type FROM emby WHERE emby_id = ?", (itemId,))
|
||||||
try: # Search video database
|
try: # Search video database
|
||||||
self.logMsg("Check video database.", 1)
|
self.logMsg("Check video database.", 2)
|
||||||
mediatype = cursorvideo.fetchone()[0]
|
mediatype = cursorvideo.fetchone()[0]
|
||||||
video.append(userdata)
|
video.append(userdata)
|
||||||
except:
|
except:
|
||||||
if musicenabled:
|
if musicenabled:
|
||||||
cursormusic.execute("SELECT media_type FROM emby WHERE emby_id = ?", (itemId,))
|
cursormusic.execute("SELECT media_type FROM emby WHERE emby_id = ?", (itemId,))
|
||||||
try: # Search music database
|
try: # Search music database
|
||||||
self.logMsg("Check the music database.", 1)
|
self.logMsg("Check the music database.", 2)
|
||||||
mediatype = cursormusic.fetchone()[0]
|
mediatype = cursormusic.fetchone()[0]
|
||||||
music.append(userdata)
|
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:
|
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:
|
if len(video) > 0:
|
||||||
connection = connectionvideo
|
connection = connectionvideo
|
||||||
|
|
Loading…
Reference in a new issue