Skip to content

Decade and 4K filters, and sort and filters for local grids - #39

Merged
XDanfr merged 1 commit into
feat/jellyfinfrom
feat/library-filters
Nov 16, 2026
Merged

XDanfr merged 1 commit into
feat/jellyfinfrom
feat/library-filters

Conversation

@XDanfr

@XDanfr XDanfr commented Nov 16, 2026

Copy link
Copy Markdown
Owner

What's new

  • Decade picker on every library grid. 4K filter on film and video libraries; shows have no single file to measure.
  • Local Movies and Shows get the same sort and filter row as Jellyfin libraries. They offer every sort except Rating, plus Unwatched, Favourites and Decade, all remembered per profile. Genre and Rating are left out because local files don't carry them. Shows sort by their newest episode and count as unwatched while any episode is. The A–Z rail works on both.
  • The sort/filter row, pickers, A–Z rail and letter jump are now shared components (LibraryControlsRow, LetterRail, rememberGridJump). Saved queries move to LibraryQueryStore, and older saved queries still decode.
  • Video info names HDR formats readably ("Dolby Vision · HDR10", "HDR10+") instead of showing the raw enum.

Fixes

  • Filters are TV filter chips, so focus stays on the chip when toggled. Before, swapping an outlined button for a filled one dropped focus into the grid.
  • Changing the sort or a filter scrolls the grid back to the top instead of staying anchored to a title.

Not included

  • An HDR filter: the index doesn't store each file's video range yet. That comes with the player step, which reads streams anyway.

Testing

On a phone in landscape with the D-pad:

  • Jellyfin Movies library (admin account on a real Jellyfin 12 server): turned the 4K filter on and off and checked the count and that a result was a 2160p file. Opened the Decade picker.
  • Local Movies ("This device only"): the controls show without Genre and 4K, and the A–Z rail appears.
  • New LocalLibraryQueryTest covers title order ignoring "The", missing values sorting last, decade/favourite/watched filters, the options offered, and decoding saved queries from before this change. The shared JVM tests pass.

Library grids gain a Decade picker and, for film and video libraries, a 4K
filter. The sort and filter row, pickers and A-Z rail move into a shared
component, and local Movies and Shows use it too: every sort except rating,
plus Unwatched, Favourites and Decade, remembered per profile. Shows sort
by their newest episode and count as unwatched while any episode is.

Filters are chips, so focus stays on them when toggled, and a new sort or
filter starts the grid from the top. Video info names HDR formats the way
people know them (Dolby Vision, HDR10+).
Copilot AI balanced review requested due to automatic review settings November 16, 2026 05:26
@XDanfr
XDanfr merged commit f104f1e into feat/jellyfin Nov 16, 2026
5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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