jdf76 / plugin.video.youtube

Kodi's Youtube Plugin -- Please Check the forums before submitting an issue
https://ytaddon.page.link/forum
391 stars 117 forks source link

Resume not working in certain circumstances #404

Open pannal opened 6 years ago

pannal commented 6 years ago

Sometimes, when I stop a video mid-way, the progress indicator is shown, but when I try to resume the video, it starts from the beginning. When I then stop and re-start, it resumes.

I've got rate-after-watching and refresh-after-watching enabled and I think the combination might cause this issue.

anxdpanic commented 6 years ago

Kodi version? Any specific sections?

pannal commented 6 years ago

Krypton stable, only tested in My Subscriptions. I'm fiddling around with rate-after-watching and refresh-after-watching to see if those impact the issue.

pannal commented 6 years ago

Ok, I was able to reproduce it. The two options I've mentioned don't impact the behavior at all.

Every other time after stopping then resuming a video, it works. Resuming after the first stop/interruption kodi correctly asks whether I want to resume at the timestamp but starts from the beginning. Stopping again, then doing the same, results in correct resuming at the position that I wanted to resume at, before.

pannal commented 6 years ago

Here's a log where I reproduced the issue. I was able to confirm that this only happens with unwatched videos. The first tries in the log were with an already watched video, after that I watched an unwatched one, skipped forward, stopped, resumed - it started at 0, then I stopped again, resumed and it resumed correctly.

kodi(1).log

LegendarySkar commented 5 years ago

For me this only happens when MPEG-DASH is activated. Without MPEG-DASH the resume works perfectly fine. I'm using 6.2.0~beta1, don't recall running into this issue before, but I'm not sure how I had MPEG-DASH configured in older versions.