Fix playback report not working due to an IndexError

This commit is contained in:
croneter 2021-11-13 13:25:36 +01:00
parent d1352db251
commit d7f3a797ea

View file

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