Fix TypeError for Plex Companion

This commit is contained in:
tomkat83 2017-05-14 16:50:24 +02:00
parent b6197231fa
commit 6980a09171

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