Revert "Fix IndexError when emptying Kodi playqueue"

This reverts commit a87b40c612.
This commit is contained in:
croneter 2018-04-15 13:15:17 +02:00
parent ba31050aac
commit 8bea313865

View file

@ -254,7 +254,6 @@ class KodiMonitor(xbmc.Monitor):
playqueue = PQ.PLAYQUEUES[data['playlistid']] playqueue = PQ.PLAYQUEUES[data['playlistid']]
if not playqueue.is_pkc_clear(): if not playqueue.is_pkc_clear():
playqueue.clear(kodi=False) playqueue.clear(kodi=False)
playqueue.pkc_edit = True
else: else:
LOG.debug('Detected PKC clear - ignoring') LOG.debug('Detected PKC clear - ignoring')