mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
fix crash when seeking to play
This commit is contained in:
parent
28862b309c
commit
284983f529
1 changed files with 2 additions and 2 deletions
|
@ -306,8 +306,8 @@ class Player( xbmc.Player ):
|
||||||
count = 0
|
count = 0
|
||||||
while xbmc.Player().getTime() < (seekToTime - 5) and count < 11: # only try 10 times
|
while xbmc.Player().getTime() < (seekToTime - 5) and count < 11: # only try 10 times
|
||||||
count = count + 1
|
count = count + 1
|
||||||
xbmc.Player().pause
|
#xbmc.Player().pause()
|
||||||
xbmc.sleep(100)
|
xbmc.sleep(100)
|
||||||
xbmc.Player().seekTime(seekToTime)
|
xbmc.Player().seekTime(seekToTime)
|
||||||
xbmc.sleep(100)
|
xbmc.sleep(100)
|
||||||
xbmc.Player().play()
|
#xbmc.Player().play()
|
||||||
|
|
Loading…
Reference in a new issue