Revert "Fix Kodi player seeking too often"
This reverts commit c5a3741289
.
This commit is contained in:
parent
c5a3741289
commit
ef1baa2d1d
1 changed files with 2 additions and 2 deletions
|
@ -381,13 +381,13 @@ def play_xml(playqueue, xml, offset=None):
|
||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
|
|
||||||
def threaded_playback(kodi_playlist, startpos, offset=None):
|
def threaded_playback(kodi_playlist, startpos, offset):
|
||||||
"""
|
"""
|
||||||
Seek immediately after kicking off playback is not reliable.
|
Seek immediately after kicking off playback is not reliable.
|
||||||
"""
|
"""
|
||||||
player = Player()
|
player = Player()
|
||||||
player.play(kodi_playlist, None, False, startpos)
|
player.play(kodi_playlist, None, False, startpos)
|
||||||
if offset and if offset != '0':
|
if offset:
|
||||||
i = 0
|
i = 0
|
||||||
while not player.isPlaying():
|
while not player.isPlaying():
|
||||||
sleep(100)
|
sleep(100)
|
||||||
|
|
Loading…
Reference in a new issue