Add json to skip to certain playqueue position
This commit is contained in:
parent
4b5f7868bb
commit
e4ea7692b2
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue