You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(sections): send collection backdrops on rows of collections - #4415
The cards on a row of collections (#4410) carry a poster but no backdrop, so a client can't show a collection's backdrop as the hero backdrop while its card is focused, as it does for a title.
Each server collection card now also carries backdrop_url and backdrop_thumbhash.
Approach
SectionCollectionCard gains two optional fields. backdrop_url is presigned at the 1280px variant the collection page already uses, so it is sized for a hero. A backdrop set to other artwork, such as the poster, has no wide variant and comes at card thumbnail size, as on the collection page. Both fields are absent when the collection has no backdrop, and always absent on a personal collection, which can't have one. They appear on every read that answers a Section and in previewAdminSection. The change is additive; clients that don't read the fields are unaffected.
Validation
Go: build of the changed packages, gofmt, vet, make lint-changed (golangci-lint v2.15.0) pass. internal/apiv2, internal/sections and internal/api/handlers unit tests pass.
Contracts: verify-apiv2-openapi, verify-apiv2-fixtures, verify-apiv2-web-types and verify-apiv2-contract (additive only) pass.
Not run locally: the Postgres-backed row card tests (no Postgres where this was built); CI runs them. No new test: the /api/v2 fixture pins the new fields, and the backdrop is signed by the same function the collection page uses.
Evidence
No client shows this yet. getHomeSectionItems for a row of collections, from the regenerated contract fixture, server card only:
Add backdrop_url and backdrop_thumbhash to section collection cards
Server collection cards in home section items now include a presigned backdrop_url and its backdrop_thumbhash.
The fields flow from the new sections.CollectionCard.BackdropURL/BackdropThumbhash fields, through the mapper in library_views.go, with presigning done in the handler collection_row_cards.go.
Both fields are optional in the API contract and generated schema; they are absent for personal collections or when no backdrop exists.
Updates OpenAPI spec, fixtures, tests, and docs in catalog-api.md.
A row of collections' server collection cards now carry backdrop_url
(presigned at the page-width variant a collection page uses) and
backdrop_thumbhash, so a client can draw the focused card's backdrop as
the hero backdrop. Personal collections have no backdrop and omit both.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
No actionable comments were generated in the recent review.
Walkthrough
Collection cards now include backdrop URLs and thumbhashes. The API response maps these values and describes their availability for server and personal collections.
This adds optional backdrop URL and thumbhash fields to collection cards in API responses. The fields are omitted when unavailable, so existing clients are unaffected. No merge-blocking risk is identified.
Security architecture risk: Minimal · up to b2ae2
The new optional fields reuse existing collection selection and artwork handling. The inspected change does not establish a new authorization bypass, broader asset authority, or persistent-state risk.
Retained concerns
No architecture-level concerns identified.
Security review details
Security Blast Radius
inferred — The incremental exposure is backdrop metadata for server collections selected for an existing row response, rather than arbitrary storage keys or a new asset-selection interface. Existing library collection responses already return backdrop metadata using the same collection filtering and artwork helper.
Trust Boundaries and Controls
observed — Administrator preview obtains its access filter and acting user/profile from request context. Those values feed the collection-card scope; AdminRow restricts personal-card participation rather than replacing the server-card library and viewer filters.
observed — The reused artwork helper returns empty for an empty path or unavailable resolver. Stored HTTP, HTTPS, and root-relative paths follow its existing ImageURLOrEmpty branch; other paths use the artwork resolver. Thus the new card field inherits existing URL-handling behavior rather than establishing that every possible stored value is newly presigned.
Resilience and Maintainability Implications
observed — The viewer-count filter's nil-count fallback predates this PR and is also used by the existing collection response path. It is not a newly introduced fail-closed guarantee or a demonstrated PR-specific bypass.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the change: collection backdrops (backdrop_url and backdrop_thumbhash) are added to section collection cards on rows of collections. The changeset adds these fields to SectionCollectio…
Description check
The description states the problem (row-of-collections cards carry a poster but no backdrop), the approach (two optional fields, 1280px variant, absent when no backdrop or for personal collections), v…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the change: collection backdrops (backdrop_url and backdrop_thumbhash) are added to section collection cards on rows of collections. The changeset adds these fields to SectionCollectionCard, the handler, the mapper, the OpenAPI schema, fixtures, web types, and docs. The title is concise, specific, and follows the conventional commit style.
Full details: Description check
Explanation
The description states the problem (row-of-collections cards carry a poster but no backdrop), the approach (two optional fields, 1280px variant, absent when no backdrop or for personal collections), validation steps, a before/after JSON example, and risks. All of this matches the changed files in the summary.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 785bacb8-df42-4287-9cfd-7bf5da32dd7e
Commits
Reviewing files that changed from the base of the PR and between 6642d89 and b2ae280.
Files selected for processing: 4
contracts/api/v2/openapi.json
docs/catalog-api.md
internal/apiv2/library_views.go
web/src/api/v2/schema.ts
Files skipped from review as they are similar to previous changes: 3
docs/catalog-api.md
internal/apiv2/library_views.go
web/src/api/v2/schema.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.
Reviewing changes in Silo
Include the related issue, expected behavior, and validation steps in the PR description.
For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
Follow this repository's AGENTS.md and CONTRIBUTING.md.
Request another review with @kody start-review in a PR comment.
React with 👍 or 👎 to give feedback on individual suggestions.
Review settingsReview Options
The following review options are enabled or disabled:
Options
Enabled
Bug
✅
Performance
✅
Security
✅
Business Logic
❌
⚠️ 4 Kody Rule(s) were not evaluated
These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:
Preserve optional store capabilities through production wrappers
Detach mandatory cleanup from request cancellation and bound its lifetime
Preserve durable media identity and share identity-evidence precedence
Bound decoder throughput trades and share direct-play eligibility
Quick104
added a commit
to Silo-Server/silo-android
that referenced
this pull request
Nov 17, 2026
Silo-Server/silo-server#4415 sends backdrop_url and backdrop_thumbhash on
server collection cards of a row of collections. Read both as optional.
On Android TV a focused collection card now drives the Home hero with its
backdrop, the thumbhash as its placeholder, and warms its neighbours'
backdrops as title cards do. Without a backdrop (older servers, personal
collections, a collection with none) the hero keeps using the poster.
The TV caption goes back to "by Name" for another profile's shared
collection and the count otherwise: both did not fit one poster-wide line.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo-Server/silo-server#4415 sends backdrop_url and backdrop_thumbhash
on server collection cards in a row of collections. Decode both as
optional, so older servers and personal collections (which never have
one) keep today's behavior, and a malformed value leaves the card
without a backdrop rather than dropping it.
On Apple TV, a focused collection's backdrop now fills the Skyline hero
the way a title's does, with its thumbhash while it loads, and the
backdrops of the collections beside it are warmed. A collection without
one still frames its poster there. iPhone, iPad and Mac have no hero
that follows the focused card, so nothing changes on screen there.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(home): show rows of collections on Home and library pages
A Home or library row with section_type collection_posters now shows its
collections (Silo-Server/silo-server#4410). Before, the row arrived with no
titles and every page dropped it.
- Decode `collections` on a Section: each card's source, title, poster,
thumbhash and count, the library a server collection opens in (sent as a
string), and the owner of a personal collection. A card that can't be
opened is left out and the rest of the row stays.
- iPhone, iPad and Mac draw the row with the Collections tab's poster card
at Home's poster width, on Home and on library pages. Apple TV uses the
collection poster card in a Skyline row with the same focus handling as
title rows, and the marquee previews the focused collection.
- A server collection opens in its library, keeping a library page's
Movies or Shows filter; a personal collection opens its own page, now
titled with its name. Another profile's shared collection reads
"by Name" (new catalog key collections.card.byOwner).
- The row has no See all or Explore all card, is never the hero, and is
kept by the empty-row filters, the row limit, Home's card removal and
library page filtering.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(tvos): show a focused collection's backdrop in the Home hero
Silo-Server/silo-server#4415 sends backdrop_url and backdrop_thumbhash
on server collection cards in a row of collections. Decode both as
optional, so older servers and personal collections (which never have
one) keep today's behavior, and a malformed value leaves the card
without a backdrop rather than dropping it.
On Apple TV, a focused collection's backdrop now fills the Skyline hero
the way a title's does, with its thumbhash while it loads, and the
backdrops of the collections beside it are warmed. A collection without
one still frames its poster there. iPhone, iPad and Mac have no hero
that follows the focused card, so nothing changes on screen there.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix(tvos): name a shared collection's owner once profiles load
The Skyline marquee reads the "by Name" line from the cached profile
list. When the first preview is another profile's collection and Home
paints before that list arrives, the preview had no owner until focus
moved. Load the list when a row needs it and rebuild the shown
collection preview, as the iOS row already does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* chore(i18n): sync translations from release 2026.11.17-7bcceee
The release carries collections.card.byOwner from
Silo-Server/silo-translations#72, with the Ukrainian line reworded so it
doesn't need the owner's name inflected.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Quick104
added a commit
to Silo-Server/silo-roku
that referenced
this pull request
Nov 17, 2026
Silo-Server/silo-server#4415 adds backdrop_url and backdrop_thumbhash to
server collection cards on a row of collections. A card with a backdrop
now takes the Home or library page hero while focused: the backdrop
with its wash, the collection's title, and its item count as the meta
line. A card without one (personal collections, collections without a
backdrop, older servers) leaves the hero as before. Options (*) still
opens no menu on collection cards, and Home's launch waits for the hero
only when the first card has a backdrop. docs/spec.md records the
behavior, including the thumbnail-size backdrop the server sends for a
backdrop set to other artwork.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Quick104
added a commit
to Silo-Server/silo-android
that referenced
this pull request
Nov 17, 2026
* chore(i18n): sync translations from the Android collection rows catalog branch
Generated from Silo-Server/silo-translations feat/android-collection-rows
(cbbffb9) with scripts/sync-translations --local. It adds the "by {owner}"
line for a shared personal collection and the Home Sections editor's
collection count, and brings in the catalog changes since 2026.11.16-a0142c1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(home): show rows of collections on Home and library pages
A Home or library row of type collection_posters carries its cards in
collections, not items. The client read only items, so it dropped these
rows, and the Home hydrator refetched each one and then marked Home partial,
which also skipped the Home cache write.
Decode the cards, keep the rows through the hydrator, the dismissal filter,
library media scoping, the device-local Home row editors and TV's ebook
filter, and draw them on phone and Android TV with the existing collection
poster cards. A server collection opens in its library; a personal one opens
as the Collections screen opens it, and one another profile shared reads
"by Name". TV rows join the Skyline feed's focus, return and marquee
handling. The rows have no Explore all and are never the hero.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix(home): address review findings on rows of collections
- TV Home holds server collection cards back until it knows which
libraries TV shows the profile, so an ebook library's collection never
shows while the library list loads or after it fails.
- Each collection card decodes on its own: a card with a wrongly typed
field is left out instead of failing the whole Home or library read.
- A personal collection on a Movies- or Series-scoped library page opens
in that library and scope, as on TV and in the Collections tab.
- The TV marquee follows a focused collection card's new title and poster
after a refresh.
- A row of collections flagged featured stays on TV library pages; it is
never a hero.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix(home): show a collection's count beside its owner
A personal collection another profile shared now keeps its item count
next to "by Name", as on the web: the phone card's poster badge shows the
exact count, 0 included, and the TV caption reads "3 items · by Name".
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(home): show a collection's backdrop as the TV hero
Silo-Server/silo-server#4415 sends backdrop_url and backdrop_thumbhash on
server collection cards of a row of collections. Read both as optional.
On Android TV a focused collection card now drives the Home hero with its
backdrop, the thumbhash as its placeholder, and warms its neighbours'
backdrops as title cards do. Without a backdrop (older servers, personal
collections, a collection with none) the hero keeps using the poster.
The TV caption goes back to "by Name" for another profile's shared
collection and the count otherwise: both did not fit one poster-wide line.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* chore(i18n): sync translations from release 2026.11.17-fe23d4e
The release carries Silo-Server/silo-translations#73, the catalog change
this branch was synced from with --local; the strings are unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
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
enhancementNew feature or requestpriority: P2Limited scope, workaround exists, or polishsize/M50–199 added + deleted lines (all files); change volume, not priority.
1 participant
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.
Problem
Related issue: N/A
Validation tasks: none
Other clients: Apple Silo-Server/silo-apple#1210; Android Silo-Server/silo-android#978; Roku Silo-Server/silo-roku#92
The cards on a row of collections (#4410) carry a poster but no backdrop, so a client can't show a collection's backdrop as the hero backdrop while its card is focused, as it does for a title.
Each server collection card now also carries
backdrop_urlandbackdrop_thumbhash.Approach
SectionCollectionCardgains two optional fields.backdrop_urlis presigned at the 1280px variant the collection page already uses, so it is sized for a hero. A backdrop set to other artwork, such as the poster, has no wide variant and comes at card thumbnail size, as on the collection page. Both fields are absent when the collection has no backdrop, and always absent on a personal collection, which can't have one. They appear on every read that answers aSectionand inpreviewAdminSection. The change is additive; clients that don't read the fields are unaffected.Validation
make lint-changed(golangci-lint v2.15.0) pass.internal/apiv2,internal/sectionsandinternal/api/handlersunit tests pass.verify-apiv2-openapi,verify-apiv2-fixtures,verify-apiv2-web-typesandverify-apiv2-contract(additive only) pass./api/v2fixture pins the new fields, and the backdrop is signed by the same function the collection page uses.Evidence
No client shows this yet.
getHomeSectionItemsfor a row of collections, from the regenerated contract fixture, server card only:Before:
{ "id": "01J9Z8C3W4R5T6Y7U8I9O0P1Q2", "source": "library", "title": "Marvel", "poster_url": "https://s3.example.test/marvel.jpg", "poster_is_collage": false, "item_count": 12, "library_id": "1" }After:
{ "id": "01J9Z8C3W4R5T6Y7U8I9O0P1Q2", "source": "library", "title": "Marvel", "poster_url": "https://s3.example.test/marvel.jpg", "poster_is_collage": false, "backdrop_url": "https://s3.example.test/marvel-backdrop.jpg", "backdrop_thumbhash": "3OcRJYB4d3h/iIeHeEh3eIhw+j2w", "item_count": 12, "library_id": "1" }Surface and build:
/api/v2contract fixture at6642d89d92.Risks
None identified. A hero-size backdrop per card makes the response slightly larger, by at most 30 URLs per row.
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Add
backdrop_urlandbackdrop_thumbhashto section collection cardsbackdrop_urland itsbackdrop_thumbhash.sections.CollectionCard.BackdropURL/BackdropThumbhashfields, through the mapper in library_views.go, with presigning done in the handler collection_row_cards.go.Macroscope summarized b2ae280.