Merge pull request #686 from croneter/fix-resume
Fix playback not starting at the beginning
This commit is contained in:
commit
a7222af648
1 changed files with 2 additions and 0 deletions
|
@ -424,6 +424,8 @@ def _conclude_playback(playqueue, pos):
|
||||||
else:
|
else:
|
||||||
listitem.setProperty('StartOffset', str(item.offset))
|
listitem.setProperty('StartOffset', str(item.offset))
|
||||||
listitem.setProperty('resumetime', str(item.offset))
|
listitem.setProperty('resumetime', str(item.offset))
|
||||||
|
elif v.KODIVERSION >= 18:
|
||||||
|
listitem.setProperty('StartPercent', '0')
|
||||||
# Reset the resumable flag
|
# Reset the resumable flag
|
||||||
transfer.send(listitem)
|
transfer.send(listitem)
|
||||||
LOG.info('Done concluding playback')
|
LOG.info('Done concluding playback')
|
||||||
|
|
Loading…
Reference in a new issue