Fix playback not starting at the beginning

This commit is contained in:
croneter 2019-02-02 20:50:01 +01:00
parent 1dbeb95e24
commit 09c2ad1b80

View file

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