Skip to content

feat(discover): show series art for unwatched Continue Watching episodes#1527

Open
8bitgentleman wants to merge 1 commit into
edde746:mainfrom
8bitgentleman:worktree-fresh-work
Open

feat(discover): show series art for unwatched Continue Watching episodes#1527
8bitgentleman wants to merge 1 commit into
edde746:mainfrom
8bitgentleman:worktree-fresh-work

Conversation

@8bitgentleman

Copy link
Copy Markdown
Contributor

What

Adds an optional setting so unwatched episodes in the Continue Watching row show the series artwork instead of a blurred thumbnail.

Why

With Hide Spoilers on, unwatched episodes get their thumbnails blurred so you don't spoil yourself. It works, but a row full of blur boxes looks bad on the home screen. The Plex app sidesteps this by just showing show-level art for those items, so there's no thumbnail to spoil and nothing to blur. This does the same thing.

The setting is off by default, so nothing changes unless you turn it on.

How it works

When the toggle is on and Hide Spoilers is also on, an unwatched Continue Watching episode renders the show's landscape artwork (unblurred) in place of the blurred thumbnail. Everything else stays put: watched and in-progress episodes, movies, other hubs, and the episode list on the show page are untouched. If the show happens to have no artwork, it falls back to the old blurred thumbnail.

A note on why it's landscape art and not the portrait poster: the Continue Watching row is a fixed 16:9 row, so a portrait poster would get center-cropped into a useless strip. The rest of the codebase already handles spoiler-safe episode art the same way (mixed hubs, the Android TV shelf, the home hero), so this matches. If you specifically want portrait posters, that already exists under Episode Poster Mode → Series Poster.

The whole thing hangs off one existing chokepoint (_buildPosterImage in media_card.dart), so mobile, desktop, and TV all pick it up from a single change with no layout code moved.

If the show art itself fails to load, the card reverts to the old blurred thumbnail rather than showing a broken image — a broken image is a worse spoiler outcome than the blur it was replacing.

Testing

New widget test covers five cases: toggle off keeps the blur, toggle on swaps to show art, toggle on with no art falls back to blur, toggle on but the art fails to load reverts to blur, and toggle on but not in Continue Watching keeps the blur. flutter analyze is clean on the touched files and the existing media card tests still pass.

Blurred episode thumbnails make the Continue Watching row look off. When
Hide Spoilers is on, this optional setting swaps the blur for the show's
unblurred landscape artwork instead, matching how the Plex app avoids the
spoiler while keeping the row clean. Defaults off to preserve current
behavior.
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