Merge pull request #1703 from croneter/py3-fix-indexerror
Fix playback report not working due to an IndexError
This commit is contained in:
commit
1bb91e8c20
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:
|
||||
except (TypeError, IndexError):
|
||||
# No sensible reply yet
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue