Fix Kodi player seeking too often

This commit is contained in:
croneter 2018-02-01 07:16:09 +01:00
parent ef1baa2d1d
commit 128582bf96

View file

@ -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)