Skip to content

Let a profile turn off watch history - #402

Draft
Zokii0 wants to merge 1 commit into
ahXN00:mainfrom
Zokii0:feature/save-watch-history
Draft

Zokii0 wants to merge 1 commit into
ahXN00:mainfrom
Zokii0:feature/save-watch-history

Conversation

@Zokii0

@Zokii0 Zokii0 commented Nov 29, 2026 •

Copy link
Copy Markdown

Before you open this PR (required)

  • I read the User Guide and checked the app's Settings and existing functions — this change isn't already possible in the app.
  • I searched existing issues/PRs and this isn't a duplicate.

What does this PR do?

Adds "Save watch history" to the profile editor (Settings › Profile › a profile), under "Allow downloads". On by default.

When it's off for a profile:

  • Live TV, Movies and Series (including external player and episode queue playback) don't write to watch_history.
  • Live TV also skips the launcher's refreshRecentLive, so the channel doesn't appear in the Android TV home recent row.
  • Resume positions (playback_progress) are untouched, so opening a film or episode still offers Resume. Since Continue watching rows are built from watch_history, newly started titles won't appear there while it's off.
  • Existing history stays until cleared; rows coming in through Local sync follow Local sync's own switches.

USER_GUIDE.md: new "Save watch history" section next to "Allow downloads", plus one line under History.

Which issue / improvement does it address?

Addresses the watch-history part of #401.

Depends on ahXN00/OwnTV_Core#100 (the setting, backup and strings live in core); libs.versions.toml needs the core version that includes it, so the build will fail until then.

How was it tested?

  • Device(s) tested on: not yet — I couldn't build locally, so this hasn't run on a device. I'll test it on my Android TV box once a build with the new core is available.
  • What you exercised: nothing on a device yet; the core i18n checks (check_hardcoded_strings.py, check_text_overflow.py) pass locally.

Checklist

  • Builds locally (./gradlew assembleDebug) and CI is green
  • Tested on a real Android TV / Fire TV device (not emulator only) — D-pad/remote navigation works
  • No user data is wiped (Room migrations stay additive)
  • Keeps OwnTV player-only (no bundled channels/content)
  • Commit messages are clear (they become the release notes)

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.

1 participant