Autopause on play fix
Time after time when playing large files the setting "pause_onplay" didn't actually pause the playback on start.pull/15/head
parent
317f64c2f8
commit
329dac9c32
|
@ -541,7 +541,7 @@ class InposPlayer(xbmc.Player):
|
|||
|
||||
self.iterator = int(file_status.progress * 100)
|
||||
|
||||
if pause and self.__settings__.getSetting("pause_onplay") == 'true':
|
||||
if pause and (self.__settings__.getSetting("pause_onplay") == 'true') and (self.getTime() > 0):
|
||||
pause = False
|
||||
xbmc.Player().pause()
|
||||
xbmc.sleep(1000)
|
||||
|
|
Loading…
Reference in New Issue