Skip to content

fix(tv): auto-track episode history on native TV players - #71

Open
NeighborhoodNerd wants to merge 1 commit into
mainfrom
fix/68-tv-auto-tracking
Open

fix(tv): auto-track episode history on native TV players#71
NeighborhoodNerd wants to merge 1 commit into
mainfrom
fix/68-tv-auto-tracking

Conversation

@NeighborhoodNerd

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes [TV] Auto tracking not working #68: native Android TV and Apple TV players persisted resume/history but never called TrackerHub, so AniList/MAL/Simkl auto-tracking was skipped during TV playback.
  • Adds shared TvPlaybackTracker and wires it through TvNativePlayer, TvAvNativePlayer, and TvExoPlayerScreen on saveProgress / episode resolve.
  • Native players pass completed: true on natural episode end (Android STATE_ENDED auto-advance, Apple TV Up Next accept) so end-of-episode scrobbles match phone behavior, including HLS edge cases.

Tested all three trackers (AniList, MyAnimeList, Simkl) on Android TV.

Native Android TV and Apple TV bridges saved resume/history but never
called TrackerHub, so auto-tracking did not update AniList/MAL/Simkl.
Add a shared TvPlaybackTracker and wire it through saveProgress, with a
completed flag on natural episode end for reliable end-of-episode scrobbles.

Closes #68
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.

[TV] Auto tracking not working

1 participant