From f785b828caf0606571d54cccf9394d0ebb9cd35a Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 20 May 2017 18:49:40 +0200 Subject: [PATCH] Companion: Fix TypeError --- 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 45ca52b1..6df21b0d 100644 --- a/resources/lib/playqueue.py +++ b/resources/lib/playqueue.py @@ -161,7 +161,7 @@ class Playqueue(Thread): not old_item['file'].startswith(PLUGIN)): # Ignore media by other addons continue - except AttributeError: + except (TypeError, AttributeError): # were not passed a filename; ignore pass if new_item.get('id') is None: