Fix IndexError when emptying Kodi playqueue
This commit is contained in:
parent
1e43f1cc77
commit
a87b40c612
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ class KodiMonitor(xbmc.Monitor):
|
|||
playqueue = PQ.PLAYQUEUES[data['playlistid']]
|
||||
if not playqueue.is_pkc_clear():
|
||||
playqueue.clear(kodi=False)
|
||||
playqueue.pkc_edit = True
|
||||
else:
|
||||
LOG.debug('Detected PKC clear - ignoring')
|
||||
|
||||
|
|
Loading…
Reference in a new issue