mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
small fixes
This commit is contained in:
parent
0b6b630e06
commit
8fd991d93c
2 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ class LibrarySync():
|
||||||
|
|
||||||
#we have to compare the lists somehow
|
#we have to compare the lists somehow
|
||||||
for item in episodeData:
|
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"))
|
comparestring1 = str(item.get("ParentIndexNumber")) + "-" + str(item.get("IndexNumber"))
|
||||||
matchFound = False
|
matchFound = False
|
||||||
if kodiEpisodes != None:
|
if kodiEpisodes != None:
|
||||||
|
|
|
@ -90,7 +90,7 @@ class Player( xbmc.Player ):
|
||||||
currentFile = data.get("currentfile")
|
currentFile = data.get("currentfile")
|
||||||
|
|
||||||
if(refresh_id != None):
|
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()
|
librarySync.updatePlayCounts()
|
||||||
|
|
||||||
if(currentPosition != None and self.hasData(runtime)):
|
if(currentPosition != None and self.hasData(runtime)):
|
||||||
|
|
Loading…
Reference in a new issue