Fix KeyError on playback startup
This commit is contained in:
parent
d4b26b76d4
commit
67e46e706c
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class PlaylistItem(object):
|
|||
# playback startup, e.g. a Kodi audio index of 1953718901 (!)
|
||||
try:
|
||||
index = function(self.playerid)
|
||||
except (TypeError, IndexError):
|
||||
except (TypeError, IndexError, KeyError):
|
||||
# No sensible reply yet
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue