Skip to content

jellycompat: Continue Watching empty in Infuse and SenPlayer (Resume/NextUp serve stub MediaSources) #67

Closed

Description

@d3v1l1989

Continue Watching renders empty in Infuse and SenPlayer, while the same rows work in jellyfin-web and Streamyfin. Library browsing, item pages, and playback all work — only the Resume/NextUp home rows are blank.

Root cause

Since the Resume-hydrator perf fix (error-report-2026-05-08 §6), /UserItems/Resume and /Shows/NextUp serve list-level items and stub the four detail-only fields via stubDetailListFields when the client requests Fields=MediaSources,.... The stub assumed "clients refetch MediaSources via PlaybackInfo on play, so the stub is never load-bearing".

That assumption doesn't hold for Infuse and SenPlayer: both build their Continue Watching rows from the listing's MediaSources and discard the response when it carries only the stub.

Evidence (production server, ~182k-item catalog)

  • Infuse calls GET /UserItems/Resume?...&fields=...,MediaSources,... → HTTP 200 with 15 valid items, then fetches poster images for 0 of the 15 — the whole response is discarded. The same client renders /Items/Latest (which serves the real detail path) and fetched images for those items normally.
  • SenPlayer (/emby/Users/{id}/Items/Resume) shows the identical symptom.
  • Three stub properties are hostile to these clients:
    1. "Id": "0" with SupportsDirectPlay/SupportsDirectStream/SupportsTranscoding all false — the entry advertises itself as unplayable;
    2. Formats, RequiredHttpHeaders, MediaAttachments serialize as JSON null (real Jellyfin/Emby always emit []/{} — strict decoders fail on null arrays);
    3. no RunTimeTicks/Container/Path at all.

Fix incoming as a PR: keep the scan loop list-level (the 38s-timeout fix stays intact), but re-map only the returned page (bounded by the request limit) through the existing per-item detail path — the same pattern HandleLatest already uses — and make the stub fallback honest (playable flags, empty-not-null collections).

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