From 5696f76a5f7bcf9f17ae36085893d496aa35e32a Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 28 Apr 2016 19:05:33 +1000 Subject: [PATCH] added "fastsync" command to perform an incremental sync on demand --- default.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default.py b/default.py index 94117d69..2a9ff290 100644 --- a/default.py +++ b/default.py @@ -102,7 +102,7 @@ class Main: # Other functions if mode == "settings": xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)') - 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="Emby for Kodi", @@ -116,6 +116,8 @@ class Main: lib = librarysync.LibrarySync() if mode == "manualsync": librarysync.ManualSync().sync(dialog=True) + elif mode == "fastsync": + lib.startSync() else: lib.fullSync(repair=True) else: