mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Test allowing updates during playback
This commit is contained in:
parent
1b430e1090
commit
22c62d9727
2 changed files with 7 additions and 7 deletions
|
@ -172,10 +172,10 @@ class WebSocketThread(threading.Thread):
|
||||||
self.logMsg("Message : WebSocket LibraryChanged : Items Updated : " + str(itemsUpdated), 0)
|
self.logMsg("Message : WebSocket LibraryChanged : Items Updated : " + str(itemsUpdated), 0)
|
||||||
self.logMsg("Message : WebSocket LibraryChanged : Items Removed : " + str(itemsRemoved), 0)
|
self.logMsg("Message : WebSocket LibraryChanged : Items Removed : " + str(itemsRemoved), 0)
|
||||||
|
|
||||||
if xbmc.Player().isPlaying():
|
#if xbmc.Player().isPlaying():
|
||||||
pendingItemsToRemove += itemsRemoved
|
# pendingItemsToRemove += itemsRemoved
|
||||||
pendingItemsToUpdate += itemsToUpdate
|
# pendingItemsToUpdate += itemsToUpdate
|
||||||
else:
|
#else:
|
||||||
self.remove_items(itemsRemoved)
|
self.remove_items(itemsRemoved)
|
||||||
self.update_items(itemsToUpdate)
|
self.update_items(itemsToUpdate)
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ class Service():
|
||||||
if self.KodiMonitor.waitForAbort(1):
|
if self.KodiMonitor.waitForAbort(1):
|
||||||
# Abort was requested while waiting. We should exit
|
# Abort was requested while waiting. We should exit
|
||||||
break
|
break
|
||||||
WebSocketThread().processPendingActions()
|
#WebSocketThread().processPendingActions()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if self.warn_auth:
|
if self.warn_auth:
|
||||||
|
|
Loading…
Reference in a new issue