Skip to content

Feature/home trending context menu - #386

Merged
ahXN00 merged 4 commits into
ahXN00:mainfrom
Pax24fr:feature/home-trending-context-menu
Nov 21, 2026
Merged

ahXN00 merged 4 commits into
ahXN00:mainfrom
Pax24fr:feature/home-trending-context-menu

Conversation

@Pax24fr

@Pax24fr Pax24fr commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

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 quick context menu support (VodOptionsMenu) to posters in the Now Trending row on the Home screen (HomeScreen.kt) when using "Posters only" mode (HomeTrendingStyle.POSTERS).

Pressing the Menu key (☰) on the remote or long-pressing OK on a trending poster opens a quick options menu with the following actions:

  1. ℹ️ Details: Opens the full TMDB details overlay (MediaDetailsScreen).
  2. 🎬 Play trailer: Launches the trailer player when a trailer video key is available.
  3. ⭐ Add / Remove favorite: Toggles the movie/series in the user's favorites list.
  4. 📥 Download: Enqueues the movie or series for download.

Which issue / improvement does it address?

Improves VOD feature parity and action accessibility on the Home screen. In "Posters only" mode, clicking a trending poster previously only offered direct playback, with no quick way to inspect details, play trailers, toggle favorites, or queue downloads without leaving the Home screen.
This change brings the same quick context menu experience present in the Movies and Series sections to Home's trending poster row.

How was it tested?

  • Device(s) tested on: Chromecast with Google TV / TCL Android TV
  • What you exercised:
    • Exercised long-press OK and remote Menu key (☰) on Now Trending posters in "Posters only" mode.
    • Tested all 4 context menu actions: opening TMDB details, playing trailers, toggling favorites, and initiating downloads for both movies and series.
    • Verified clean focus restoration back to the poster tile upon closing the context menu or exiting child screens.

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)

@ahXN00 ahXN00 self-assigned this Nov 21, 2026
ahXN00 added a commit that referenced this pull request Nov 21, 2026
Changelog, User Guide and product brief for the Phase 2 work:
- Player buttons: D-pad Up/Down (Change channel / Controls and recently watched / Off), merged from PR #382.
- Home: hold OK or Menu on a trending poster opens its menu, merged from PR #386.
- Downloads opens on Recordings (#384).
- Search picked on the rail keeps focus on the rail; Keep watching focus follows what was just watched.

Tested on the TCL G10 (release build): every D-pad choice with CH+/CH- unchanged, the trending menu by held OK and Menu, Downloads, Search from the rail, the remote's Search key and Go to, Keep watching after watching a channel. Gates: assembleDebug, lintStandardDebug, literal check.

Merges #382
Merges #386
Closes #384
@ahXN00
ahXN00 merged commit 07e3b28 into ahXN00:main Nov 21, 2026
1 check passed
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.

2 participants