Skip to content

feat(people): add a Creator credit so series can show their creators - #2018

Merged
Quick104 merged 7 commits into
Silo-Server:mainfrom
blurbery:feat/series-creator-credits
Oct 8, 2026
Merged

Quick104 merged 7 commits into
Silo-Server:mainfrom
blurbery:feat/series-creator-credits

Conversation

@blurbery

@blurbery blurbery commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

Series pages almost never say who created the show. The "Created by" line on a series page only reads Director credits, and Silo has no credit type for a series' creators. TMDB lists a show's creators on the show itself (created_by), not in its credits, and if a metadata plugin sent them as "Creator" today, Silo would store them as Producers, because any job it doesn't recognise falls back to Producer.

This adds a Creator credit type and has the series "Created by" line use it.

Approach

  • models.PersonKindCreator (9) comes back as "Creator" in the detail response's crew. jellycompat passes the job through as the person type, and Jellyfin has its own Creator type. item_people.kind is a plain smallint with no constraint, so there's no migration, and catalog export and import copy the value through.
  • Plugins can send kind: "Creator": personKindFromString and models.PersonKindFromJob both map it.
  • On series pages, HeroCrewLine now takes the lead credit from the first job in ["Creator", "Director"] that has credits, so a series without Creator credits still shows its directors as it does today. Movies, episodes and request pages keep the Director-only default. Episode pages reuse their series' credits, so this keeps a series' creators from showing up as "Directed by" on every episode.
  • The series page's Crew section lists every Creator credit first. CrewList takes an optional jobs list, and only SeriesContent passes one (Creator, Director, Writer, Producer), so the hero line can stay at two names without hiding the rest. Season, episode and movie crew lists keep the default Directors, Writers and Producers, so creators stay off them.

Silo-Server/silo-plugin-metadata-tmdb#25 (merged, released in TMDB plugin 1.2.24) sends each show's created_by people as Creator credits.

Validation

  • go build ./internal/... and go vet ./internal/models/ ./internal/metadata/ are clean, and go test ./internal/models/ ./internal/metadata/ passes. New tests cover PersonKindCreator.String(), PersonKindFromJob("Creator") and personKindFromString("Creator"); before this change that string was stored as Producer.
  • New HeroCrewLine tests cover a series leading with its creators over its directors, the fallback to directors, and the default "Directed by" line ignoring Creator credits. SeriesContent.test.tsx covers a series with three creators: all three are listed and linked, ahead of Directors. It fails without the jobs prop. SeasonContent.test.tsx checks a season with a Creator credit doesn't list Creators.
  • Locally: pnpm exec vitest run on the SeriesContent, SeasonContent, MovieContent, HeroCrewLine and textSizeScaling tests (34 passed), pnpm exec tsc -p tsconfig.app.json --noEmit, and ESLint and Prettier on the changed files.
  • The branch merges main at a05c7c8, which has the compile fix from fix(ci): fix catalog return values and flaky jellycompat stop test #2025, so the duplicate fix in c948bae no longer shows in the diff. CI on that merge failed only TestUpdateProfile_PINChangeClearsLockout, which failed the same way on main at the time, so 23f8abe merges main again at 07dd4de, where it passes.

Evidence

Every creator (local test server)

Lost has three creators on TMDB (J.J. Abrams, Damon Lindelof and Jeffrey Lieber), so it covers the case raised in review. Before, the hero has no "Created by" line and the Crew section has Producers only. After, the hero shows the first two creators and the Crew section starts with all three.

Before After
Before: Lost series page on desktop, Crew lists Producers only After: Lost series page on desktop, Created by J.J. Abrams and Damon Lindelof, Crew starts with Creators: J.J. Abrams, Damon Lindelof, Jeffrey Lieber
Before: Lost series page at phone width After: Lost series page at phone width with Created by and the Creators row

With #1834 merged on top, the series' Cast & Crew row leads with all three creators:

Cast & Crew row leading with J.J. Abrams, Damon Lindelof and Jeffrey Lieber captioned Creator

Surface and build: Silo web app, series detail page, desktop (1440 px wide) and phone width (390 px), captured with headless Chrome against a local test server with a generated test library and TMDB plugin 1.2.24. Before: main at a05c7c8. After: this PR's head abdc753, which merges that same main, then a full metadata refresh of the series. The Cast & Crew row: abdc753 with #1834's 87d59a0 merged locally, only for that capture.

Earlier capture on my own server

Live refresh on my own server: Breaking Bad, which TMDB credits to Vince Gilligan under created_by. I installed both changes, ran a Quick Refresh on the series, and captured the same page and the same item's detail response before and after.

Before After
Series page before: genres only, no Created by line Series page after: Created by Vince Gilligan
Cast & Crew row before: cast only Cast & Crew row after: Vince Gilligan captioned Creator, then the cast

Item detail crew for the same series, trimmed to Vince Gilligan's entries and fields:

Before:

[{"name":"Vince Gilligan","job":"Producer","tmdb_id":"66633"}]

After:

[{"name":"Vince Gilligan","job":"Producer","tmdb_id":"66633"},{"name":"Vince Gilligan","job":"Creator","tmdb_id":"66633"}]

Surface and build: Silo web app, series detail page at phone width. Before: my fork's main at f89a2a1 with TMDB plugin 1.2.23. After: the same fork with this PR's commits at 6ce7fb5, and TMDB plugin 1.2.23 with Silo-Server/silo-plugin-metadata-tmdb#25's commit on top (installed as 1.2.23.1), then a Quick Refresh of the series. The "Created by" line is this PR. The Cast & Crew row's Creator card comes from #1834, which reads these credits; that build includes #1834's later web commits too. Vince Gilligan keeps his Producer credit from TMDB's production crew; the Creator credit is added alongside it.

Earlier fixture checks

Item detail crew for a series whose metadata plugin sends a "Creator" person:

Before (main, 4bed990):

{"crew":[{"name":"Vince Gilligan","job":"Producer","person_id":"101","tmdb_id":"66633"}]}

After (this branch, fed0540):

{"crew":[{"name":"Vince Gilligan","job":"Creator","person_id":"101","tmdb_id":"66633"}]}

People the TMDB plugin sends Silo for a series with one created_by entry and one cast member:

Before (silo-plugin-metadata-tmdb main, 4a89777):

{"people":[{"name":"Bryan Cranston","kind":"Actor","tmdb_id":"17419"}]}

After (Silo-Server/silo-plugin-metadata-tmdb#25, edd8d04):

{"people":[{"name":"Bryan Cranston","kind":"Actor","tmdb_id":"17419"},{"name":"Vince Gilligan","kind":"Creator","tmdb_id":"66633"}]}

Both pairs come from focused Go tests run on each commit with fixture data.

Risks

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (desktop app)
  • Tool(s): Claude Code, with a read-only subagent that traced how series credits are imported and stored
  • Model(s): claude-opus-5-5
  • Involvement: AI-assisted
  • Adversarial review: n/a

AI-assisted with Claude Opus. I directed the task and designed the work.

Note

Add Creator person kind and show series creators in detail pages

  • Adds a PersonKindCreator value to models.PersonKind, with string serialization and job-label mapping in media.go and plugin_provider.go
  • CrewList and HeroCrewLine now accept an ordered job list, so callers choose which crew categories appear and in what order; defaults stay directors, writers, and producers
  • Series pages prefer creators over directors: the hero line shows "Created by" when creator credits exist, and the Crew section lists creators before directors, writers, and producers
  • Season pages and the default hero line keep excluding creators, with regression tests added in SeriesContent, SeasonContent, and HeroCrewLine test suites
  • Behavioral Change: HeroCrewLine picks the first lead job with credits from the caller's order instead of always filtering for directors; check DEFAULT_LEAD_JOBS in HeroCrewLine.tsx and the new hero job order in SeriesContent.tsx

Macroscope summarized 692b39f.

…mpty

main doesn't compile at ca4f71b: Silo-Server#1953 added a two-value return to
loadCollectionSource after Silo-Server#1984 gave the function a third result, the
collection title. Return the title with no items, the same as the other
paths in the function, so the Go jobs can build.

This is the one-line fix main needs. It isn't part of the Cast & Crew
change and can be dropped once main has its own fix.

(cherry picked from commit f9cb264)
Silo had no credit type for a series' creators, so a plugin sending
"Creator" had it stored as Producer. Add PersonKindCreator, map
"Creator" from plugins and crew jobs, and have the series "Created by"
line prefer Creator credits, falling back to Director credits. Movies
and episodes keep leading with directors, so a series' creators don't
appear as "Directed by" on its episodes.
@silo-kody

silo-kody Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

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 settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 790e17ed-1e13-457d-be66-8bf4be9b9651
📥 Commits

Reviewing files that changed from the base of the PR and between 23f8abe and 692b39f.

📒 Files selected for processing (1)
  • web/src/components/CrewList.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • web/src/components/CrewList.tsx

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.


📝 Walkthrough

Walkthrough

The person-kind model and metadata provider recognize creator credits. Series detail pages can show creators before directors in the hero crew line and Crew section. The default hero crew line remains director-only.

Changes

Creator role and series credits

Layer / File(s) Summary
Creator person-kind mapping
internal/models/media.go, internal/metadata/plugin_provider.go, internal/models/media_test.go, internal/metadata/plugin_provider_test.go
The model adds PersonKindCreator, returns "Creator" from its String method, and maps creator job names to the role. The metadata provider also recognizes "creator". Tests cover case and whitespace variants.
Series crew selection and display
web/src/components/CrewList.tsx, web/src/pages/ItemDetail/components/HeroCrewLine.tsx, web/src/pages/ItemDetail/SeriesContent.tsx, web/src/pages/ItemDetail/ExternalTitleContent.tsx, web/src/pages/ItemDetail/components/HeroCrewLine.test.tsx, web/src/pages/ItemDetail/SeriesContent.test.tsx, web/src/pages/ItemDetail/SeasonContent.test.tsx
CrewList and HeroCrewLine accept ordered job lists. Series pages pass creators before directors for both displays. Tests cover creator-first selection, director fallback, and season crew output. The ExternalTitleContent comment describes TMDB credits and labeling.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Suggested reviewers: quick104

Merge Risk: ⚪ Minimal · up to 692b3

The Creator-credit changes are mergeable after normal checks; no specific user-facing failure remains identified.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 12 functions across 12 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding Creator credits so series pages can display their creators.
Description check ✅ Passed The description directly explains the Creator credit type, series-page behavior, tests, validation, evidence, and known risks.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

blurbery added a commit to blurbery/silo-server that referenced this pull request Oct 6, 2026
Prefer Creator credits for the series lead slot and fall back to
Director credits when a series has none, so the row picks up creators
once the server stores them (Silo-Server#2018) without changing series that only
have directors.
Changed-line lint (goconst) counted the literal three times across the
models package.
@silo-kody

silo-kody Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

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 settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@macroscopeapp

macroscopeapp Bot commented Oct 6, 2026

Copy link
Copy Markdown

Evidence is incomplete: this change has user-visible effects when an item has Creator credits.

  • web/src/pages/ItemDetail/SeriesContent.tsx and HeroCrewLine.tsx: series details now prefer creators in the “Created by” line, with directors as fallback. Add before-and-after screenshots of the same series detail screen with Creator credits, and identify the surface and build or commit.
  • internal/models/media.go and internal/metadata/plugin_provider.go: item crew responses can now expose Creator instead of the generic Producer mapping. Add before-and-after excerpts from the same item response to show the changed crew job. The note that current built-in sources do not send Creator credits does not show this behavior; a test item or fixture could provide the example.

Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness.

Posted via Macroscope — Visible change evidence

@blurbery

blurbery commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

There's nothing to capture yet. No metadata source sends Creator credits today (the TMDB and TVDB plugins and NFO import never do), so every item's crew response and every series page stays the same until Silo-Server/silo-plugin-metadata-tmdb#25 ships.

The mapping is covered by TestPersonKindFromStringMapsCreator (before this change a plugin's "Creator" was stored as Producer) and the HeroCrewLine tests for the Creator-then-Director lead. I'm happy for the reviewer to decide whether screenshots are needed once the plugin change is in.

Quick104 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Evidence needs a rethink here.

Evidence: none is not enough while silo-plugin-metadata-tmdb#25 is the change that actually sends Creator credits. Please install that plugin build against this branch, refresh a series that has TMDB created_by, and add before/after Evidence on both PRs:

  • Server: series detail showing the new "Created by" line (and/or before/after crew API for the same item), with surface and build.
  • Plugin: matching evidence that Creator people are emitted (fixture or live refresh is fine).

Mocks or a test-library series are OK if live TMDB is awkward.

Grok commenting on Quick's behalf.

@blurbery

blurbery commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Thanks. The Evidence section now has before-and-after excerpts for both halves: the item detail crew for a plugin "Creator" person (Producer on main, Creator on this branch) and the people the TMDB plugin sends for a fixture series (no creator on main, a Creator person with Silo-Server/silo-plugin-metadata-tmdb#25). I used fixtures rather than a live library, as you said that was fine, so there's no series page capture. The same plugin excerpt is in #25's Validation section.

blurbery added a commit to blurbery/silo-server that referenced this pull request Oct 7, 2026
Prefer Creator credits for the series lead slot and fall back to
Director credits when a series has none, so the row picks up creators
once the server stores them (Silo-Server#2018) without changing series that only
have directors.

(cherry picked from commit 16414d4)
@blurbery

blurbery commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Done properly this time. I installed this branch (on my fork) and the #25 plugin commit (on top of TMDB v1.2.23) on my own server, ran a Quick Refresh on Breaking Bad, and captured the same page and the same item's crew before and after. Before: no "Created by" line, and Vince Gilligan only as Producer. After: "Created by Vince Gilligan", a Creator credit alongside the Producer one, and the Cast & Crew row leading with him. The screenshots and excerpts are in the Evidence section; my earlier fixture-only excerpts are kept underneath in a collapsed block. Silo-Server/silo-plugin-metadata-tmdb#25 links to the same evidence.

@Quick104 Quick104 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I found no defects in this change. One display gap is below, and it needs your call. The summary comment has the rest of the review.

const leadJob = leadJobs.find((job) => crew.some((c) => c.job === job));
const directors = crew
.filter((c) => c.job === "Director")
.filter((c) => c.job === leadJob)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Low, needs your call: a series' third and later creators don't appear anywhere on its page.

The hero line keeps two names (.slice(0, 2) below), and CrewList's DISPLAY_JOBS (web/src/components/CrewList.tsx:15) lists only Director, Writer and Producer. #1834's Cast & Crew row would show creators, but it's still open. On main with this PR, a series with three or more Creator credits (TMDB lists several for many shows) shows the first two in "Created by". The others have no credit or person link on the page, unless they also hold a Producer or Director credit. A component render with three creators confirmed this: two names in the hero line and an empty crew list.

Nothing showed creators before, so nothing regresses. But the PR's goal of saying who created the show is only partly met for those series. Options:

  1. Add "Creator" to DISPLAY_JOBS, first, so it renders "Creators". Episode detail reuses the series' credits (internal/catalog/detail.go:1705), so every episode's crew list would show the series' creators too. Jellyfin shows them the same way, but the PR description deliberately keeps them off episode pages.
  2. Pass a jobs prop to CrewList from SeriesContent only, so the series page lists Creators and season and episode pages stay as they are.
  3. Leave it to Show a combined Cast & Crew row with sharper headshots #1834, and say in this PR's Risks section that series pages only show the first two creators until it merges.

I'm not changing this myself, because which pages should list creators is a product decision.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I went with option 2 in abdc753. CrewList takes an optional jobs list and only SeriesContent passes one, so the series Crew section starts with every creator while the hero line keeps two. Season, episode and movie pages keep the default jobs. SeriesContent.test.tsx checks three creators are listed, linked and ahead of Directors (it fails without the prop), and SeasonContent.test.tsx checks a season doesn't list them. The Evidence section now has Lost, which has three creators on TMDB, before and after at desktop and phone width.

#1834 replaces this section with its Cast & Crew row, so I lifted that row's two-card cap for creators in 87d59a0. With both merged, all three still show. Risks says what the second merge needs in SeriesContent.tsx.

Also:

@Quick104

Quick104 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Review summary

Reviewed head: fed05407f

Fit: 8/10 · Readiness: 8/10 — conditional

Findings

  • Needs your call (low): a series with three or more creators shows only the first two, in the hero line. CrewList skips Creator, and the Cast & Crew row that would show them (Show a combined Cast & Crew row with sharper headshots #1834) is still open. The inline comment lists three options. No defects found, so no commits were pushed.

Checked and ruled out

  • Existing data: no backfill is needed, and nothing already stored changes. Before feat(tv): credit a series' creators from TMDB's created_by silo-plugin-metadata-tmdb#25, no plugin or NFO source sent creators, so no rows hold creators as Director or Producer. Smart-collection rules, recommendations and the top-directors section therefore keep the same inputs.
  • Storage: the item_people unique key includes kind, so a person can hold both Producer and Creator on one series. Person-page browse dedupes the join, as it already does for a director who also wrote the title.
  • Contract: job is a free string that mirrors Jellyfin person types, and response enums are additive under docs/architecture/api-contract.md. /api/v1 and /api/v2 both return the new value through the shared detail service. That's a data value, not a new field or operation. jellycompat sends Creator as the person type, which is a valid Jellyfin PersonKind.
  • External title page: the reworded comment in ExternalTitleContent.tsx is accurate. That page passes jobLabel="Created by" with the default Director lead.
  • Catalog commit: c948bae6b is identical to the fix already on main from fix(ci): fix catalog return values and flaky jellycompat stop test #2025, so it adds nothing once merged. Merging main into the branch removes it from the diff.

Follow-up, not this PR

When the merge combines a later provider's people into existing ones, findPersonMatch (internal/metadata/merge.go) matches on provider IDs before name and kind. So a second role for the same person from that provider is folded into the first. This predates the PR and already affects Director plus Writer. It can drop a Creator credit only when a provider ahead of TMDB in the chain sends people that carry TMDB IDs. With TMDB as the primary provider, its people are taken whole and Creator survives. Matching on provider ID plus kind would fix it. That belongs in a separate issue.

Validated features

The validation board couldn't be read from this review. The token lacks the read:project scope, so the passed-case list is unavailable. Searching Validation-labelled issues for crew and cast found Person / cast & crew browsing (#1143 Server, #1144 Web). Their C1 cases list a person's in-library credits. Those queries filter by person and ignore credit kind, so a creator's series gets listed on their person page, and each title appears once. I expect no change to the passed cases, but I couldn't confirm that against the board. Validation tasks: none looks right; please recheck it once the board is readable.

Clients and docs

  • Apple and Android: both pick crew by job name, so they ignore Creator until updated. The PR's Risks section says so. No follow-up issue is linked yet. I recommend one in each of silo-apple and silo-android so their series pages show "Created by" from Creator credits, with the same fallback to Director.
  • User manual: unaffected. siloserver.org doesn't describe crew roles or the "Created by" line.

Scores

  • Fit 8: series detail pages have labelled directors "Created by". This fixes that in core metadata with a small change and no migration. It adds a new crew job value to the API, which is client-visible surface that the Apple and Android apps still need to adopt.
  • Readiness 8: CI is green, and the live before-and-after evidence matches this head. Two conditions remain: the open call on series with more than two creators, and the validation check against the board.

Review method

  • Code review: three finders, one validation check, then source verification of each candidate.
  • Cross-provider: one Codex round (gpt-6.1-sol, xhigh). It raised the merge issue (pre-existing, listed above) and the third-creator gap (the inline comment).

AI-assisted review with Claude Code (claude-opus-5-5), its code-review subagents, and one OpenAI Codex round (gpt-6.1-sol) through T3 Code.

The hero line names a series' first two creators, and the Crew section
only listed Directors, Writers and Producers, so a third creator didn't
appear anywhere on the series page. CrewList now takes the jobs to list,
and the series page passes Creator ahead of the usual three, linking each
creator to their person page like the rest of the crew.

Season, episode and movie pages keep the default list, so a series'
creators don't show up on them.
@Quick104
Quick104 merged commit 876b2b8 into Silo-Server:main Oct 8, 2026
20 checks passed
blurbery added a commit to blurbery/silo-server that referenced this pull request Oct 10, 2026
Main's Creator credit work (Silo-Server#2018) gave the series page its own Crew section
with every creator. This branch replaces that section with the combined Cast
& Crew row, which already lists every creator, so the CrewList jobs constant
and its SeriesContent test go; CastCarousel's tests cover the creators.
catalog_resolver.go takes main's rewritten loadCollectionSource, which makes
this branch's earlier compile fix unnecessary.
Quick104 pushed a commit that referenced this pull request Oct 14, 2026
* feat: show a combined Cast & Crew row with sharper headshots

Movie and series detail pages now show one "Cast & Crew" row instead of a
Cast carousel plus a separate Crew list. The director (or series creator)
comes first, then up to three writers, then the top 12 billed cast, each
group split by a thin divider with a small vertical label. Every card is
the same size, and a writer-director only appears once. Season and
episode pages are unchanged.

Person photos requested without an explicit image size now ask plugins
for the large variant instead of featured. The TMDB plugin maps featured
to w185, which is soft on a cast card on a high-density screen; large
maps to h632. Stored keys are still presigned untouched, and explicit
image_size requests keep their existing mapping.

* fix(catalog): return the collection title when its library scope is empty

main doesn't compile at ca4f71b: #1953 added a two-value return to
loadCollectionSource after #1984 gave the function a third result, the
collection title. Return the title with no items, the same as the other
paths in the function, so the Go jobs can build.

This is the one-line fix main needs. It isn't part of the Cast & Crew
change and can be dropped once main has its own fix.

* feat(web): lead a series' Cast & Crew row with its Creator credits

Prefer Creator credits for the series lead slot and fall back to
Director credits when a series has none, so the row picks up creators
once the server stores them (#2018) without changing series that only
have directors.

* perf(web): build the Cast & Crew groups once per render

The movie and series pages called buildCrewGroups twice per render, once
for the visibility check and once for the row, and the second call's new
array made CastCarousel rebuild its sections every render. Memoise the
groups on the item's crew and reuse them for both.

* fix(web): caption series directors as directors and keep uncapped writers

When a series has no Creator credits its Director credits fill the lead
slot, but they were still captioned "Creator". Take the caption from the
credits used. The writer group also skipped every lead credit, so a third
director who also wrote showed nowhere; it now skips only the lead cards
the row shows.

* fix(web): show every series creator in the Cast & Crew row

A series with three or more creators lost the third one to the two-card
lead cap that is meant for directors. Creator credits now all get a card,
still once per person, while a movie's directors and a series' fallback
directors stay capped at two. The writer de-duplication follows the lead
cards actually shown, so a creator who also wrote is never repeated.
@blurbery
blurbery deleted the feat/series-creator-credits branch November 6, 2026 00:01
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