Fix for Plex Companion showing last item played
This commit is contained in:
parent
aab6a733fe
commit
377827e159
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue