Fix skipping back in Kodi playlist
This commit is contained in:
parent
8d1bd52328
commit
199939c8b7
1 changed files with 12 additions and 0 deletions
|
@ -183,6 +183,18 @@ def skipnext():
|
||||||
|
|
||||||
|
|
||||||
def skipprevious():
|
def skipprevious():
|
||||||
|
"""
|
||||||
|
Skips to the previous item to play for all Kodi players
|
||||||
|
Using a HACK to make sure we're not just starting same item over again
|
||||||
|
"""
|
||||||
|
for playerid in get_player_ids():
|
||||||
|
try:
|
||||||
|
skipto(get_position(playerid) - 1)
|
||||||
|
except (KeyError, TypeError):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def wont_work_skipprevious():
|
||||||
"""
|
"""
|
||||||
Skips to the previous item to play for all Kodi players
|
Skips to the previous item to play for all Kodi players
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue