From ecc8df014c186b96cc7cf75c53c341a5d4abd7db Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 15 Apr 2018 13:16:58 +0200 Subject: [PATCH] "Fix IndexError when emptying Kodi playqueue" --- resources/lib/kodimonitor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index 328b8229..ca511125 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -253,6 +253,7 @@ class KodiMonitor(xbmc.Monitor): """ playqueue = PQ.PLAYQUEUES[data['playlistid']] if not playqueue.is_pkc_clear(): + playqueue.pkc_edit = True playqueue.clear(kodi=False) else: LOG.debug('Detected PKC clear - ignoring')