Repository navigation
Description
Problem
Once native RT scores and a shared on-view backfill service exist, Jellyfin-protocol clients need the same behavior without adding a second implementation.
PR #266 carried RT critic data through list/detail mapping and triggered the shared backfiller from GET /Items/{id}. That is the correct ownership direction, but the compatibility contract needs focused implementation and validation.
Desired behavior
Jellycompat list and detail responses expose a real 0–100 Rotten Tomatoes critic score through CriticRating. Opening an eligible detail can invoke the same bounded backfill service used by the native API.
Acceptance criteria
- Carry the native RT critic field through direct list and detail source types.
- Map a present RT critic score to Jellyfin
CriticRatingon its 0–100 scale. - Do not use an unchanged 0–10 TMDB value as the fallback.
- Preserve nil honestly when no compatible critic score exists.
- Respect Jellyfin requested-field behavior on list endpoints.
GET /Items/{id}may request missing data through the existing shared backfill interface.- Do not create a second fetcher, queue, cache, limiter, or persistence implementation inside Jellycompat.
- Concurrent native and Jellycompat detail requests for the same item result in one coordinated lookup.
- The asynchronous rating transition is reflected in the response's cache/ETag semantics so clients can observe it.
- Focused tests cover:
- list mapping;
- detail mapping;
- requested and omitted
CriticRating; - RT present;
- RT absent;
- TMDB present without RT;
- concurrent native/Jellycompat triggering;
- backfill disabled;
- subsequent response after persistence.
- Behavioral parity is checked against a real Jellyfin server and at least one representative Jellyfin-protocol client using privacy-safe data.
- Update Jellycompat documentation and the feature changelog.
Scope
This issue owns the Jellyfin-protocol presentation and trigger only. Provider transport, native scheduling, persistence, and bulk enrichment remain outside it.
Discovery context
Extracted from Silo Server PR #266, reviewed at exact head 83623def9f8eebfd9f8a7dd3b9defd5ba9b1c1a1.
AI Disclosure
- Tool: Codex in T3 Code
- Model: gpt-5.6-sol
- Involvement: AI-assisted investigation and issue drafting, published with maintainer approval
- Adversarial review: Checked Jellyfin rating units, list/detail parity, requested-field behavior, shared-work ownership, concurrent triggers, and observable cache transitions.
Activity