feat(discover): show series art for unwatched Continue Watching episodes#1527
Open
8bitgentleman wants to merge 1 commit into
Open
feat(discover): show series art for unwatched Continue Watching episodes#15278bitgentleman wants to merge 1 commit into
8bitgentleman wants to merge 1 commit into
Conversation
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.
1ca0535 to
d693956
Compare
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.
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 (
_buildPosterImageinmedia_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 analyzeis clean on the touched files and the existing media card tests still pass.