Remove obsolete command
This commit is contained in:
parent
d10990b4e0
commit
c2d9470fe9
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ def _conclude_playback(playqueue, pos):
|
||||||
LOG.info('Resuming playback at %s', item.offset)
|
LOG.info('Resuming playback at %s', item.offset)
|
||||||
if v.KODIVERSION >= 18 and api:
|
if v.KODIVERSION >= 18 and api:
|
||||||
# Kodi 18 Alpha 3 broke StartOffset
|
# Kodi 18 Alpha 3 broke StartOffset
|
||||||
percent = float(item.offset) / api.runtime() * 100.0
|
percent = item.offset / api.runtime() * 100.0
|
||||||
LOG.debug('Resuming at %s percent', percent)
|
LOG.debug('Resuming at %s percent', percent)
|
||||||
listitem.setProperty('StartPercent', str(percent))
|
listitem.setProperty('StartPercent', str(percent))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue