Companion: Fix TypeError

This commit is contained in:
tomkat83 2017-05-20 18:49:40 +02:00
parent eba270c63d
commit f785b828ca
1 changed files with 1 additions and 1 deletions

View File

@ -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: