From d7f3a797eac21f3d326d70e1396f8d47cc82d7db Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 13 Nov 2021 13:25:36 +0100 Subject: [PATCH] Fix playback report not working due to an IndexError --- resources/lib/playlist_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playlist_func.py b/resources/lib/playlist_func.py index e23e81ab..2f967ad2 100644 --- a/resources/lib/playlist_func.py +++ b/resources/lib/playlist_func.py @@ -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: