Companion: Fix TypeError
This commit is contained in:
parent
eba270c63d
commit
f785b828ca
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue