From 8999e832ff2d95295f0c42682d23b89903e2ea72 Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 19 Feb 2026 23:26:44 +0100 Subject: [PATCH] Fix: add tmdb_id and imdb_id to Xtream get_series response MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The get_series endpoint was omitting tmdb_id and imdb_id fields that are already present on the Series model and already included in the get_vod_streams (movies) response. Xtream clients such as Chillio use these IDs to fetch proper metadata from TMDB, including sanitized series titles and poster images. Without them, clients fall back to the raw provider name (which may include provider prefixes like ┃NL┃) and the proxied cover URL instead of TMDB's poster. Co-Authored-By: Claude Sonnet 4.6 --- apps/output/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/output/views.py b/apps/output/views.py index 1d53237a..6604d49d 100644 --- a/apps/output/views.py +++ b/apps/output/views.py @@ -2523,6 +2523,8 @@ def xc_get_series(request, user, category_id=None): "episode_run_time": series.custom_properties.get('episode_run_time', '') if series.custom_properties else "", "category_id": str(relation.category.id) if relation.category else "0", "category_ids": [int(relation.category.id)] if relation.category else [], + "tmdb_id": series.tmdb_id or "", + "imdb_id": series.imdb_id or "", }) return series_list