Fix IndexError for PKC communicating watch state

- Fixes #178
This commit is contained in:
tomkat83 2017-01-11 20:38:11 +01:00
parent db47288239
commit 07abf2e17a

View file

@ -150,7 +150,6 @@ class Playqueue(Thread):
PL.add_item_to_PMS_playlist(playqueue,
i,
kodi_item=new_item)
index.insert(i, i)
for j in range(i+1, len(index)):
index[j] += 1
for i in reversed(index):