Repository navigation
fix(trakt): don't count episode plays as show rewatches - #217
Open
couchcoder39 wants to merge 1 commit into
Open
couchcoder39 wants to merge 1 commit into
couchcoder39 wants to merge 1 commit into
Conversation
A show's plays on /users/me/watched/shows sum the plays of its episodes, so any unrated show with two episodes watched passed the watch_count >= 2 rewatch-as-loved proxy and weighed as loved. Simkl already leaves series at 1 for the same reason; do the same for Trakt. Fixes TimilsinaBimal#216
|
@couchcoder39 is attempting to deploy a commit to the Bimal Timilsina's projects Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #216.
What changed
Trakt shows get
watch_count=1instead of the episode-summedplays, so the unrated rewatch-as-loved proxy no longer fires after two episodes. Same approach as the Simkl source. Movies keep their realplays.Notes
PROFILE_SCORING_VERSIONbump: the change is in the fetched history, so it takes effect with the next history fetch from Trakt; a version bump alone would rebuild from the cached library with the old counts.Unreleased. If fix(profile): weigh external ratings below 7 by their rating #214 is merged first, that's a one-line conflict in the same section, I'll rebase.Tests
tests/test_trakt_show_plays.py: a Trakt show with 12 episode plays lands in watched, a movie with 2 plays stays loved. Fails onmain, passes here.