player_id should be optional in media.kodi.stop

This commit is contained in:
Fabio Manganiello 2018-10-20 18:00:53 +02:00
parent fc7fa37010
commit 2dac094aea

View file

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