mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-10 19:35:07 +00:00
Removed unnecessary log messages and changed some to debug (#167)
This commit is contained in:
parent
896c2fe6ec
commit
42258c699a
9 changed files with 65 additions and 67 deletions
|
@ -124,7 +124,7 @@ class Database(object):
|
|||
modified['time'] = modified_int
|
||||
modified['file'] = file
|
||||
|
||||
LOG.info("Discovered database: %s", modified)
|
||||
LOG.debug("Discovered database: %s", modified)
|
||||
self.discovered_file = modified['file']
|
||||
|
||||
return xbmc.translatePath("special://database/%s" % modified['file'])
|
||||
|
@ -184,7 +184,7 @@ class Database(object):
|
|||
|
||||
if self.commit_close and changes:
|
||||
|
||||
LOG.info("[%s] %s rows updated.", self.db_file, changes)
|
||||
LOG.debug("[%s] %s rows updated.", self.db_file, changes)
|
||||
self.conn.commit()
|
||||
|
||||
LOG.debug("---<[ database: %s ] %s", self.db_file, id(self.conn))
|
||||
|
@ -210,7 +210,7 @@ def jellyfin_tables(cursor):
|
|||
columns = cursor.execute("SELECT * FROM jellyfin")
|
||||
if 'jellyfin_parent_id' not in [description[0] for description in columns.description]:
|
||||
|
||||
LOG.info("Add missing column jellyfin_parent_id")
|
||||
LOG.debug("Add missing column jellyfin_parent_id")
|
||||
cursor.execute("ALTER TABLE jellyfin ADD COLUMN jellyfin_parent_id 'TEXT'")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue