From 128582bf96212fa479f0ba12b50e50722bd0670f Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 1 Feb 2018 07:16:09 +0100 Subject: [PATCH] Fix Kodi player seeking too often --- resources/lib/playback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playback.py b/resources/lib/playback.py index 1faebebf..b00904bf 100644 --- a/resources/lib/playback.py +++ b/resources/lib/playback.py @@ -387,7 +387,7 @@ def threaded_playback(kodi_playlist, startpos, offset): """ player = Player() player.play(kodi_playlist, None, False, startpos) - if offset: + if offset and offset != '0': i = 0 while not player.isPlaying(): sleep(100)