Plex instead of Emby references in librarysync

This commit is contained in:
tomkat83 2016-01-23 11:45:14 +01:00
parent 5576ef97ca
commit 6efd9a52be

View file

@ -1248,11 +1248,10 @@ class LibrarySync(threading.Thread):
except Exception as e: except Exception as e:
utils.window('emby_dbScan', clear=True) utils.window('emby_dbScan', clear=True)
xbmcgui.Dialog().ok( xbmcgui.Dialog().ok(
heading="Emby for Kodi", heading=self.addonName,
line1=( line1=("Library sync thread has exited! "
"Library sync thread has exited! " "You should restart Kodi now. "
"You should restart Kodi now. " "Please report this on the forum."))
"Please report this on the forum."))
raise raise
def run_internal(self): def run_internal(self):
@ -1285,18 +1284,16 @@ class LibrarySync(threading.Thread):
% (currentVersion, minVersion), 0) % (currentVersion, minVersion), 0)
resp = xbmcgui.Dialog().yesno( resp = xbmcgui.Dialog().yesno(
heading="Db Version", heading="Db Version",
line1=( line1=("Detected the database needs to be recreated "
"Detected the database needs to be " "for this version of " + self.addonName +
"recreated for this version of Emby for Kodi. " "Proceed?"))
"Proceed?"))
if not resp: if not resp:
self.logMsg("Db version out of date! USER IGNORED!", 0) self.logMsg("Db version out of date! USER IGNORED!", 0)
xbmcgui.Dialog().ok( xbmcgui.Dialog().ok(
heading="Emby for Kodi", heading=self.addonName,
line1=( line1=(self.addonName + " may not work correctly "
"Emby for Kodi may not work correctly " "until the database is reset."))
"until the database is reset."))
else: else:
utils.reset() utils.reset()
@ -1309,18 +1306,17 @@ class LibrarySync(threading.Thread):
if not xbmcvfs.exists(videoDb): if not xbmcvfs.exists(videoDb):
# Database does not exists # Database does not exists
self.logMsg( self.logMsg(
"The current Kodi version is incompatible " "The current Kodi version is incompatible "
"with the Emby for Kodi add-on. Please visit " "with the" + self.addonName + " add-on. Please visit "
"https://github.com/MediaBrowser/Emby.Kodi/wiki " "https://github.com/croneter/PlexKodiConnect "
"to know which Kodi versions are supported.", 0) "to know which Kodi versions are supported.", 0)
xbmcgui.Dialog().ok( xbmcgui.Dialog().ok(
heading="Emby Warning", heading=self.addonName,
line1=( line1=("Cancelling the database syncing process. "
"Cancelling the database syncing process. " "Current Kodi version: %s is unsupported. "
"Current Kodi versoin: %s is unsupported. " "Please verify your logs for more info."
"Please verify your logs for more info." % xbmc.getInfoLabel('System.BuildVersion')))
% xbmc.getInfoLabel('System.BuildVersion')))
break break
# Run start up sync # Run start up sync
@ -1371,4 +1367,4 @@ class LibrarySync(threading.Thread):
def resumeThread(self): def resumeThread(self):
self.suspend_thread = False self.suspend_thread = False
self.logMsg("Resuming thread...", 0) self.logMsg("Resuming thread...", 0)