Skip to content

Conversation

ruinernin
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Oct 26, 2019

Coverage Status

Coverage decreased (-0.02%) to 83.506% when pulling b2e1b7f on ruinernin:episode_runtime into a579b0a on fuzeman:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.006%) to 83.518% when pulling cffab85 on ruinernin:episode_runtime into a579b0a on fuzeman:master.

ruinernin added a commit to ruinernin/script.trakt that referenced this pull request Oct 26, 2019
TVDB does not provide runtime metadata for episodes. If this can not then be
filled by Kodi introspecting the file for the item (e.g. library item that is
a .STRM file) the info label will be `0`. Meaning the resume position set by
Trackt will be `0` as the calculation is `runtime * progress_pct`.

Episode runtime metadata exists in the metadata provided by Trakt for episodes
so this can be queried in these cases to calculate a resume time that is
reasonably accurate.

This depends on fuzeman/trakt.py#69 being merged and propagated to
Razzeee/script.module.trakt
ruinernin added a commit to ruinernin/script.trakt that referenced this pull request Oct 26, 2019
TVDB does not provide runtime metadata for episodes. If this can not then be
filled by Kodi introspecting the file for the item (e.g. library item that is
a .STRM file) the info label will be `0`. Meaning the resume position set by
Trackt will be `0` as the calculation is `runtime * progress_pct`.

Episode runtime metadata exists in the metadata provided by Trakt for episodes
so this can be queried in these cases to calculate a resume time that is
reasonably accurate.

This depends on fuzeman/trakt.py#69 being merged and propagated to
Razzeee/script.module.trakt
@fuzeman fuzeman merged commit 943c3b8 into fuzeman:master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants