From 57d95e57f3ff00fde9951c5d96ac2ad0bc62ad64 Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 17 Apr 2018 20:44:53 +0200 Subject: [PATCH] Fix PKC not working anymore after using context menu on songs --- resources/lib/playback_starter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/playback_starter.py b/resources/lib/playback_starter.py index f1d991db..f3723b46 100644 --- a/resources/lib/playback_starter.py +++ b/resources/lib/playback_starter.py @@ -50,8 +50,8 @@ class PlaybackStarter(Thread): if resolve: pickle_me(Playback_Successful()) elif mode == 'context_menu': - ContextMenu(kodi_id=params['kodi_id'], - kodi_type=params['kodi_type']) + ContextMenu(kodi_id=params.get('kodi_id'), + kodi_type=params.get('kodi_type')) def run(self): queue = state.COMMAND_PIPELINE_QUEUE