Merge pull request #63 from kolosovski/autopause_fix

Autopause on play fix
pull/15/head
DiMartinoXBMC 2016-11-30 20:13:16 +03:00 committed by GitHub
commit cea55dcbfc
1 changed files with 1 additions and 1 deletions

View File

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