Add json to skip to certain playqueue position

This commit is contained in:
tomkat83 2017-12-28 21:23:50 +01:00
parent 4b5f7868bb
commit e4ea7692b2

View file

@ -191,6 +191,15 @@ def skipprevious():
"to": "previous"}) "to": "previous"})
def skipto(position):
"""
Skips to the position [int] of the current playlist
"""
for playerid in get_player_ids():
JsonRPC("Player.GoTo").execute({"playerid": playerid,
"to": position})
def input_up(): def input_up():
""" """
Tells Kodi the user pushed up Tells Kodi the user pushed up