Always return JSON RPC answer

This commit is contained in:
tomkat83 2017-12-08 20:41:11 +01:00
parent 9380a23867
commit cceb110354

View file

@ -195,49 +195,49 @@ def input_up():
""" """
Tells Kodi the user pushed up Tells Kodi the user pushed up
""" """
jsonrpc("Input.Up").execute() return jsonrpc("Input.Up").execute()
def input_down(): def input_down():
""" """
Tells Kodi the user pushed down Tells Kodi the user pushed down
""" """
jsonrpc("Input.Down").execute() return jsonrpc("Input.Down").execute()
def input_left(): def input_left():
""" """
Tells Kodi the user pushed left Tells Kodi the user pushed left
""" """
jsonrpc("Input.Left").execute() return jsonrpc("Input.Left").execute()
def input_right(): def input_right():
""" """
Tells Kodi the user pushed left Tells Kodi the user pushed left
""" """
jsonrpc("Input.Right").execute() return jsonrpc("Input.Right").execute()
def input_select(): def input_select():
""" """
Tells Kodi the user pushed select Tells Kodi the user pushed select
""" """
jsonrpc("Input.Select").execute() return jsonrpc("Input.Select").execute()
def input_home(): def input_home():
""" """
Tells Kodi the user pushed home Tells Kodi the user pushed home
""" """
jsonrpc("Input.Home").execute() return jsonrpc("Input.Home").execute()
def input_back(): def input_back():
""" """
Tells Kodi the user pushed back Tells Kodi the user pushed back
""" """
jsonrpc("Input.Back").execute() return jsonrpc("Input.Back").execute()
def playlist_get_items(playlistid, properties): def playlist_get_items(playlistid, properties):