read_discover credits: credit names always empty, tv items missing title #4

Closed
opened 2026-09-19 08:19:50 +01:00 by gronod · 0 comments
Owner

Summary

read_discover credits returns items where the embedded credits[] entries always have an empty name, and tv credit items have no title.

Environment

Reproduction

read_discover {"action":"credits","media":"movie","person_id":10205}
read_discover {"action":"credits","media":"tv","person_id":10205}

(person_id 10205 = Sigourney Weaver)

Expected

credits[].name holds the person's name; each credit item has its work's title.

Actual

  • credits[].name is "" on every item (role/department populated correctly).
  • tv credits items emit no title.

Cause

In discoverCredits (internal/tools/discover.go), the constructed Credit gets PersonID, Role, Department — Name is never assigned. For tv, the upstream cast/crew record likely uses a different title field than title|original_title|name (or the title is nested), so Title stays empty.

Correlation IDs

8350d313ad974f0aec15d3f2 (movie), deb0a269cf7d14a294085e69 (tv)

## Summary `read_discover` `credits` returns items where the embedded `credits[]` entries always have an empty `name`, and tv credit items have no `title`. ## Environment - Binary: deployed darwin-amd64 build from `develop` @ `d047d76` - Ombi: 4.53.10 (https://ombi.i3omb.com), JWT auth ## Reproduction ```json read_discover {"action":"credits","media":"movie","person_id":10205} read_discover {"action":"credits","media":"tv","person_id":10205} ``` (person_id 10205 = Sigourney Weaver) ## Expected `credits[].name` holds the person's name; each credit item has its work's `title`. ## Actual - `credits[].name` is `""` on every item (role/department populated correctly). - tv credits items emit no `title`. ## Cause In `discoverCredits` (`internal/tools/discover.go`), the constructed `Credit` gets `PersonID`, `Role`, `Department` — `Name` is never assigned. For tv, the upstream cast/crew record likely uses a different title field than `title|original_title|name` (or the title is nested), so `Title` stays empty. ## Correlation IDs `8350d313ad974f0aec15d3f2` (movie), `deb0a269cf7d14a294085e69` (tv)
gronod added this to the M4 — Discover browse, credits, advanced search milestone 2026-09-19 08:57:53 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/ombi-mcp#4