mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 17:16:26 +00:00
Fix: add tmdb_id and imdb_id to Xtream get_series response
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 <noreply@anthropic.com>
This commit is contained in:
parent
9007064166
commit
8999e832ff
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue