read_search multi: music results unmapped (media unknown / provider_unknown) #9

Closed
opened 2026-09-19 08:20:40 +01:00 by gronod · 1 comment
Owner

Summary

read_search multi with include: ["music"] returns items with media: "unknown" and identifiers: [{namespace: "provider_unknown", ...}] — the upstream mediaType: "Artist" value is not mapped.

Environment

Reproduction

read_search {"action":"multi","query":"radiohead","include":["music"]}

Expected

Items projected as media: "artist" (or album) with a musicbrainz identifier.

Actual

Items come back media: "unknown", identifiers labelled provider_unknown — unusable for follow-up calls (artist_id needs a MusicBrainz string which is present upstream but mislabelled).

Cause

The multi-search projection maps mediaType values case-sensitively (or via a fixed enum list); upstream emits "Artist" (capitalised) which is unmapped → falls back to unknown.

Correlation ID

9ed7529c (multi music)

## Summary `read_search` `multi` with `include: ["music"]` returns items with `media: "unknown"` and `identifiers: [{namespace: "provider_unknown", ...}]` — the upstream `mediaType: "Artist"` value is not mapped. ## Environment - Binary: deployed darwin-amd64 build from `develop` @ `d047d76` - Ombi: 4.53.10 (https://ombi.i3omb.com), JWT auth ## Reproduction ```json read_search {"action":"multi","query":"radiohead","include":["music"]} ``` ## Expected Items projected as `media: "artist"` (or album) with a `musicbrainz` identifier. ## Actual Items come back `media: "unknown"`, `identifiers` labelled `provider_unknown` — unusable for follow-up calls (`artist_id` needs a MusicBrainz string which is present upstream but mislabelled). ## Cause The multi-search projection maps `mediaType` values case-sensitively (or via a fixed enum list); upstream emits `"Artist"` (capitalised) which is unmapped → falls back to unknown. ## Correlation ID `9ed7529c` (multi music)
gronod added this to the M3 — Identity projection (discover → media → request) milestone 2026-09-19 08:58:01 +01:00
Author
Owner

Fixed in #21 — multi-search mediaType is matched case-insensitively (Artist → artist + musicbrainz).

Fixed in https://git.i3omb.com/gronod/ombi-mcp/pulls/21 — multi-search `mediaType` is matched case-insensitively (`Artist` → `artist` + `musicbrainz`).
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#9