Skip to content

Add optional sort information below movie library posters - #1129

Merged
GLinnik21 merged 8 commits into
plxnative:mainfrom
isaymon:codex/library-sort-information
Oct 29, 2026
Merged

GLinnik21 merged 8 commits into
plxnative:mainfrom
isaymon:codex/library-sort-information

Conversation

@isaymon

@isaymon isaymon commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds an optional setting to display sort information below posters in movie libraries, similar to the original Plex app.

The setting is available under Settings → Libraries → Under posters → Show sort information and is disabled by default.

When enabled, movie library grids display:

  • Movie title
  • Release year
  • Information matching the currently selected sort order

The setting is saved per Plex profile.

Details

  • Supports existing sort options, including dates, ratings, duration, play count, progress, resolution, and bitrate.
  • Uses metadata already available from Plex without additional per-item requests.
  • Shares the typed poster codec across store adapters to avoid duplicating generated code; the serialized format and strict field validation are unchanged.
  • Displays critic, audience, and user ratings separately, using main's original neutral rating glyphs.
  • Formats dates using the interface language and local time zone where applicable.
  • Preserves poster sizes and the six-column grid layout.
  • Keeps existing caption behavior in other sections, including Home, Search, Watchlist, Collections, and TV libraries.
  • Adds setting translations for all 10 supported languages.

No new sort options or dependencies are introduced.

Testing

  • make check — 21,110 passed, 0 failed, 186 ignored
  • Python tests — 544 tests, 1 skipped
  • make check-nodef — passed
  • Debug IPK build — passed
  • ARMv7 binary size budget — 15,136,392 bytes, below the unchanged 15,180,000-byte limit
  • ELF assertions and firmware compatibility checks for supported releases (4.4.2–11.2.0) — passed
  • Simulator: long captions, dates, critic/audience marks, enabled/disabled grids, and identical Detail ratings with the setting on/off verified
  • Original feature manually tested on LG OLED C2 by @isaymon (Russian UI); the review fixes await a separate TV verification.

@isaymon
isaymon force-pushed the codex/library-sort-information branch from 3745d58 to b5d17d8 Compare October 29, 2026 14:19

@GLinnik21 GLinnik21 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It merges clean onto main, and with the setting off the Library is unchanged. Two things block it: the redrawn Rotten Tomatoes marks and the per-frame text work in the grid. The rest are small. Everything is inline.

Comment thread rust-modules/screens/src/detail/mod.rs Resolved
Comment thread rust-modules/ui/src/icons.rs Resolved
Comment thread rust-modules/ui/src/card_row.rs Resolved
Comment thread rust-modules/data/src/pms.rs Resolved
Comment thread locales/ru/sort_facts.json Resolved
Comment thread locales/be/under_posters.json Resolved
Comment thread rust-modules/ui/src/cards/grid.rs Resolved
@GLinnik21

Copy link
Copy Markdown
Collaborator

I’ve revisited the icon requirements and licensing terms, and my conclusion remains the same: the Rotten Tomatoes-inspired icons need to be removed. Redrawing the marks doesn’t make them acceptable, and the research gives us no reason to make an exception to the existing decision.

Please remove the splat and Popcornmeter icons rather than replacing them with close imitations. We should use neutral, original glyphs instead.

GLinnik21 added a commit that referenced this pull request Oct 29, 2026
…cites its sources

- theme.rs and widgets.rs comments no longer say "no licensing route"
- the §11 paragraph links Plezy's assets at a pinned commit
- it cites Tabari only for the logo point
- it says #1129's redraw was withdrawn in review

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
With Show sort information on, draw_preview wore the sort captions whatever the
focus, so the Details picker's preview ignored the focused choice and the Title
switch no longer moved the main page's preview. The picker now previews without
sort captions, and the main page previews them only while the Sort row has focus.
Also: the module doc lists the rows in the form's order, and grid.rs's
with_caption / draw_caption each carry their own doc.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

@GLinnik21 GLinnik21 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that covers everything. I pushed two small things on top: the Details picker's preview follows the focused choice again with sort info on, and the page shows the sort caption only while the Sort row has focus. Plus two doc comments.

@GLinnik21
GLinnik21 merged commit 64e7bf4 into plxnative:main Oct 29, 2026
13 checks passed
@GLinnik21

Copy link
Copy Markdown
Collaborator

Merged, thank you!

GLinnik21 added a commit that referenced this pull request Oct 31, 2026
…hat carries the sort (#1169)

Implements the approved Library design for sorting and the Under posters setting.

Sort value replaces "Show sort information" (#1129) and is On by default. While a Movies or TV Shows
library grid is sorted by something other than Title or Random, each poster shows the value it is
sorted by on one line under it: rating with its provider mark, duration, resolution, bitrate,
plays ("14 plays"), content rating, year, and dates as Today, Yesterday, "27 Oct" or "Oct 2024";
TV shows show Unplayed episodes and the year. An empty value says what it means ("Never" for
Date viewed and Plays, nothing for Unplayed 0, a dash only for data the server lacks). Rows are
60 px apart in this mode and the focused value turns bold under the lifted poster.

The Library header has one sort control at the right (sort icon, criterion, chevron) after a
hairline divider; Collections and Recommended carry place chevrons and "Sort & Filter" is no longer
visible text. Changing the criterion cross-fades the label and slides the places and divider on the
header spring while the control keeps its right edge; the filter read-out glides with them and
holds its count through the re-sort reload. The scroll capsule carries the sort
("Films 1,284 · Date viewed"). The Under posters page has new copy, per-row samples and a preview
that follows focus. The sort icon is the Design System's sort.svg byte for byte.

The date the value line words dates by is a frame input (AppViews.today, published once per loop
iteration), not a clock a screen reads. Every shipped language carries the new strings, with
stand-alone month names for Russian and Belarusian month-and-year labels.

The A-Z rail showing the sort's bands is not part of this change. Simulator evidence only; no TV
verification. An fps scene for the header slide and a refresh of the two library screenshots under
docs/screenshots are still owed.
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