Fix TypeError for Plex Companion

This commit is contained in:
tomkat83 2017-05-14 16:50:24 +02:00
parent b6197231fa
commit 6980a09171
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class Playqueue(Thread):
# Chances are that we got an empty Kodi playlist due to
# Kodi exit
return
if (old_item['file'].startswith('plugin://') and
if (old_item.file.startswith('plugin://') and
not old_item['file'].startswith(PLUGIN)):
# Ignore media by other addons
continue