From ed7794454386e8dc6ff7633229b3fd5377b097b8 Mon Sep 17 00:00:00 2001 From: xnappo Date: Tue, 17 Mar 2015 12:25:52 -0500 Subject: [PATCH] Throttle play status sync --- resources/lib/LibrarySync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index 1d6c4f3f..f75d19e3 100644 --- a/resources/lib/LibrarySync.py +++ b/resources/lib/LibrarySync.py @@ -269,6 +269,7 @@ class LibrarySync(): count = 1 for item in movieData: + xbmc.sleep(sleepVal) if not item.get('IsFolder'): kodiItem = self.getKodiMovie(item["Id"]) userData=API().getUserData(item) @@ -303,6 +304,7 @@ class LibrarySync(): return False for item in tvshowData: + xbmc.sleep(sleepVal) episodeData = self.getEpisodes(item["Id"], False) if (episodeData != None): @@ -312,6 +314,7 @@ class LibrarySync(): count = 1 for episode in episodeData: + xbmc.sleep(sleepVal) kodiItem = self.getKodiEpisodeByMbItem(episode) userData=API().getUserData(episode) timeInfo = API().getTimeInfo(episode)