From 6980a09171fba9cfc2c2df50bcf28e4532de3a59 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 14 May 2017 16:50:24 +0200 Subject: [PATCH] Fix TypeError for Plex Companion --- resources/lib/playqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playqueue.py b/resources/lib/playqueue.py index a496574b..60656813 100644 --- a/resources/lib/playqueue.py +++ b/resources/lib/playqueue.py @@ -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