Fix playback not starting at the beginning
This commit is contained in:
parent
1dbeb95e24
commit
09c2ad1b80
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