Skip to content

fix(jellycompat): preserve video color range metadata #446

Closed

Description

@Quick104

Problem

Silo discards ffprobe color_range metadata while preserving adjacent color fields. As a result, native video-track metadata and Jellyfin-compatible MediaStream responses cannot report whether a video uses limited (tv) or full (pc) range.

This is a confirmed Jellyfin contract gap and a plausible contributor to incorrect rendering in clients such as Infuse, although client-side causality still requires controlled testing.

Scope

  • Capture and persist ffprobe color_range on video tracks.
  • Expose ColorRange through Jellyfin-compatible item detail and PlaybackInfo media streams.
  • Preserve the field in catalog seed export/import and native API types.
  • Lazily reprobe existing video rows that predate the field, while converging to unknown when ffprobe provides no value.
  • Cover tv, pc, and unknown values with focused regression tests.

Compatibility

This is additive within /api/v1 and does not require a SQL migration because video tracks are stored as JSONB.

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions