mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Move database log line
So it only prints one time.
This commit is contained in:
parent
ea941ed6b4
commit
0546dcc2f6
1 changed files with 2 additions and 1 deletions
|
@ -1060,7 +1060,7 @@ class LibrarySync(threading.Thread):
|
||||||
utils.settings("dbCreatedWithVersion",WINDOW.getProperty('minDBVersion'))
|
utils.settings("dbCreatedWithVersion",WINDOW.getProperty('minDBVersion'))
|
||||||
self.logMsg("DB version okay according to user", 0)
|
self.logMsg("DB version okay according to user", 0)
|
||||||
# END TEMPORARY CODE
|
# END TEMPORARY CODE
|
||||||
self.logMsg("DB Version: " + utils.settings("dbCreatedWithVersion"), 0)
|
|
||||||
if (utils.settings("SyncInstallRunDone") == "true" and self.checkDBVersion(utils.settings("dbCreatedWithVersion"), WINDOW.getProperty('minDBVersion'))==False and WINDOW.getProperty('minDBVersionCheck') != "true"):
|
if (utils.settings("SyncInstallRunDone") == "true" and self.checkDBVersion(utils.settings("dbCreatedWithVersion"), WINDOW.getProperty('minDBVersion'))==False and WINDOW.getProperty('minDBVersionCheck') != "true"):
|
||||||
self.logMsg("DB version out of date according to check", 0)
|
self.logMsg("DB version out of date according to check", 0)
|
||||||
return_value = xbmcgui.Dialog().yesno("DB Version", "Detected the DB needs to be recreated for\nthis version of Emby for Kodi.\nProceed?")
|
return_value = xbmcgui.Dialog().yesno("DB Version", "Detected the DB needs to be recreated for\nthis version of Emby for Kodi.\nProceed?")
|
||||||
|
@ -1074,6 +1074,7 @@ class LibrarySync(threading.Thread):
|
||||||
# Library sync
|
# Library sync
|
||||||
if not startupComplete:
|
if not startupComplete:
|
||||||
# Run full sync
|
# Run full sync
|
||||||
|
self.logMsg("DB Version: " + utils.settings("dbCreatedWithVersion"), 0)
|
||||||
self.logMsg("Doing_Db_Sync: syncDatabase (Started)", 1)
|
self.logMsg("Doing_Db_Sync: syncDatabase (Started)", 1)
|
||||||
startTime = datetime.now()
|
startTime = datetime.now()
|
||||||
libSync = self.FullLibrarySync()
|
libSync = self.FullLibrarySync()
|
||||||
|
|
Loading…
Reference in a new issue