From 67e46e706ca3809acf11048a1e8a9a489fdbb591 Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 19 Nov 2021 08:47:32 +0100 Subject: [PATCH] Fix KeyError on playback startup --- 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 83abf97e..ab4ac20b 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, IndexError): + except (TypeError, IndexError, KeyError): # No sensible reply yet pass else: