From 8fd991d93cca3903ee9c3862f4bfacba3187f4cb Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Sun, 15 Mar 2015 18:38:35 +0100 Subject: [PATCH] small fixes --- resources/lib/LibrarySync.py | 2 +- resources/lib/Player.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index ac198d54..6ea80594 100644 --- a/resources/lib/LibrarySync.py +++ b/resources/lib/LibrarySync.py @@ -83,7 +83,7 @@ class LibrarySync(): #we have to compare the lists somehow for item in episodeData: - xbmc.sleep(500) # sleep to not overload system --> can this be replaced by moving the sync to a different thread ? + xbmc.sleep(150) # sleep to not overload system --> can this be replaced by moving the sync to a different thread ? comparestring1 = str(item.get("ParentIndexNumber")) + "-" + str(item.get("IndexNumber")) matchFound = False if kodiEpisodes != None: diff --git a/resources/lib/Player.py b/resources/lib/Player.py index d3ab534a..f67e28a7 100644 --- a/resources/lib/Player.py +++ b/resources/lib/Player.py @@ -90,7 +90,7 @@ class Player( xbmc.Player ): currentFile = data.get("currentfile") if(refresh_id != None): - #todo: trigger update of single item from MB3, for now trigger full playcounts update + #TODO: trigger update of single item, for now trigger full playcounts update librarySync.updatePlayCounts() if(currentPosition != None and self.hasData(runtime)):