Test allowing updates during playback

This commit is contained in:
xnappo 2015-05-06 22:27:22 -05:00
parent 1b430e1090
commit 22c62d9727
2 changed files with 7 additions and 7 deletions

View file

@ -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)

View file

@ -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: