Skip to content

[bug] Stop mapping 0–10 TMDB scores into Jellyfin CriticRating #693

Closed

Description

@Quick104

What happened

Silo currently assigns rating_tmdb directly to Jellyfin's CriticRating field on both list and detail responses.

Silo stores TMDB ratings on a 0–10 scale. Jellyfin clients interpret CriticRating as a percentage and Jellyfin Web uses 60 as the fresh/rotten boundary. A normal TMDB score such as 8.5 is therefore exposed as an 8.5% critic score and rendered as rotten.

Relevant path:

  • internal/jellycompat/mapping.go

Jellyfin Web reference:

Expected behavior

CriticRating contains only a real 0–100 critic score. A 0–10 TMDB community score must not be placed in that field unchanged.

Until a compatible critic score is available, Silo should omit CriticRating. Any separate decision about CommunityRating should remain outside this fix.

Acceptance criteria

  • Jellycompat list responses no longer expose rating_tmdb as CriticRating.
  • Jellycompat detail responses no longer expose rating_tmdb as CriticRating.
  • A TMDB score of 8.5 is not serialized as an 8.5% critic score.
  • An absent critic score remains absent rather than being synthesized.
  • Focused mapping tests cover list and detail paths, requested-field filtering, nil values, and representative TMDB values.
  • Existing community/IMDb rating behavior remains unchanged.

Scope

This issue fixes the existing Jellyfin compatibility contract only. It does not fetch Rotten Tomatoes data or add on-view backfill.

Discovery context

Confirmed on current main while reviewing Silo Server PR #266. The PR attempted to restore the same TMDB fallback while also adding 0–100 RT values, which would have mixed incompatible units in a single field.

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: Compared Silo's stored rating scales with both Jellycompat mapping paths and the official Jellyfin Web fresh/rotten threshold.

Activity

  1. added
    bug
    triaged
    and removed
    triaged
    on Sep 20, 2026
  2. added theissue type on Sep 20, 2026
  3. removed
    bug
    on Sep 20, 2026
  4. blurbery commented on Nov 13, 2026

    @blurbery
    Contributor

    Fixed by #950, merged on 22 September 2026: Jellyfin-compatible list and detail responses no longer copy the 0-10 TMDB score into CriticRating, so it is left out rather than shown as a rotten percentage. Please reopen if you still see this on a build that includes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions