thomas-ernest / plugin.video.arteplussept

Watch Arte+7 content in Kodi
GNU General Public License v2.0
6 stars 4 forks source link

Bugfix/playing sequence already watched videos #23

Closed thomas-ernest closed 11 months ago

thomas-ernest commented 11 months ago

When videos are already watched, their progress / start percent property is almost 100. So, playback start at the end of the video. When several such videos are in sequence and user request Kodi to play one of the first videos, then playback start and restart over again in sequence, which makes Kodi fails.

Use the start offset of Arte API reply which is back to 0 even when a video is already watched. Stop using progress in Arte API reply to populate StartPercent property.