trakt / script.trakt

Trakt.tv movie and TV show scrobbler for Kodi
GNU General Public License v2.0
318 stars 149 forks source link

Resume issue with tv shows #571

Open SkipperQ93 opened 2 years ago

SkipperQ93 commented 2 years ago

I have been facing a weird issue. The plugin syncs with movies perfectly. But when it comes to tv shows, it converts progress of show from x minutes to x seconds. E.g. If I have watched an episode till 08:00 (8 minutes), it loads up from 00:08 (8 seconds at the other device).

I don't see this issue reported, and just wondering what could be the case with me.

razzeee commented 2 years ago

You could check what data the api holds on the playback, I think it's possible with a tool like this. https://sharkykh.github.io/tppm/

SkipperQ93 commented 2 years ago

You could check what data the api holds on the playback, I think it's possible with a tool like this. https://sharkykh.github.io/tppm/

I just checked and the playback resume time is perfectly ok there. Means there is some issue with retrieval.

razzeee commented 2 years ago

It might be due to your metadata being wrong and the runtime in your database being to long?

https://github.com/trakt/script.trakt/blob/52856ec206260f3a350b5ae274ca168492bec05d/resources/lib/syncEpisodes.py#L506