Merge remote-tracking branch 'MediaBrowser/master' into develop

This commit is contained in:
tomkat83 2016-05-15 12:33:14 +02:00
commit abcb438f21
2 changed files with 8 additions and 1 deletions

View file

@ -140,7 +140,7 @@ class Main:
# Other functions
if mode == "settings":
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.plexkodiconnect)')
elif mode in ("manualsync", "repair"):
elif mode in ("manualsync", "fastsync", "repair"):
if utils.window('emby_online') != "true":
# Server is not online, do not run the sync
xbmcgui.Dialog().ok(heading="PlexKodiConnect",

View file

@ -146,6 +146,13 @@ class KodiMonitor(xbmc.Monitor):
xbmc.sleep(10000)
utils.window('emby_onWake', value="true")
elif method == "GUI.OnScreensaverDeactivated":
if utils.settings('dbSyncScreensaver') == "true":
xbmc.sleep(5000);
utils.window('emby_onWake', value="true")
elif method == "Playlist.OnClear":
pass