Fix Kodi player seeking too often
This commit is contained in:
parent
ef1baa2d1d
commit
128582bf96
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ def threaded_playback(kodi_playlist, startpos, offset):
|
||||||
"""
|
"""
|
||||||
player = Player()
|
player = Player()
|
||||||
player.play(kodi_playlist, None, False, startpos)
|
player.play(kodi_playlist, None, False, startpos)
|
||||||
if offset:
|
if offset and offset != '0':
|
||||||
i = 0
|
i = 0
|
||||||
while not player.isPlaying():
|
while not player.isPlaying():
|
||||||
sleep(100)
|
sleep(100)
|
||||||
|
|
Loading…
Reference in a new issue