From 2dac094aea37d8ebbaf3341bad5150364681371b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 20 Oct 2018 18:00:53 +0200 Subject: [PATCH] player_id should be optional in media.kodi.stop --- platypush/plugins/media/kodi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/media/kodi.py b/platypush/plugins/media/kodi.py index e19e05504..6ec0ac8ed 100644 --- a/platypush/plugins/media/kodi.py +++ b/platypush/plugins/media/kodi.py @@ -80,7 +80,7 @@ class MediaKodiPlugin(Plugin): return (result.get('result'), result.get('error')) @action - def stop(self, player_id, *args, **kwargs): + def stop(self, player_id=None, *args, **kwargs): """ Stop the current media """