Fix for Plex Companion showing last item played

This commit is contained in:
tomkat83 2017-01-12 20:21:33 +01:00
parent aab6a733fe
commit 377827e159
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class Playqueue(Thread):
PL.add_item_to_PMS_playlist(playqueue,
i,
kodi_item=new_item)
for j in range(i+1, len(index)):
for j in range(i, len(index)):
index[j] += 1
for i in reversed(index):
log.debug('Detected deletion of playqueue element at pos %s' % i)