From f28f7d8594e1ec59859a68059dcae3c93a45ac16 Mon Sep 17 00:00:00 2001 From: Worph Date: Sun, 30 Aug 2026 19:48:53 +0200 Subject: [PATCH] align to metadata keys doc --- src/plugin.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugin.ts b/src/plugin.ts index 0a87167..4e845d5 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -632,6 +632,10 @@ async function applyTmdbData( data.original_name !== undefined; metadata.videoType = isTv ? 'tvshow' : 'movie'; metadata.contentKind = isTv ? 'episode' : 'movie'; + // `domain` is written in the same breath as `contentKind` + // (METADATA_KEYS.md §1) — it is the key meta-watch filters its wall on, + // and TMDB is precisely the identity graph that decides film vs tv here. + metadata.domain = isTv ? 'tv' : 'film'; // Title - store both original and localized const originalTitle = data.original_title || data.original_name;