mirror of
https://github.com/sct/overseerr.git
synced 2025-09-29 21:51:46 +02:00
feat(tv): show cast for the entire show instead of only the last season (#778)
This uses TMDb's `aggregate_credits` instead of `credits` to get the show's cast for all seasons. Fixes #775
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
ProductionCompany,
|
||||
Cast,
|
||||
Crew,
|
||||
mapCast,
|
||||
mapAggregateCast,
|
||||
mapCrew,
|
||||
ExternalIds,
|
||||
mapExternalIds,
|
||||
@@ -193,7 +193,7 @@ export const mapTvDetails = (
|
||||
: undefined,
|
||||
posterPath: show.poster_path,
|
||||
credits: {
|
||||
cast: show.credits.cast.map(mapCast),
|
||||
cast: show.aggregate_credits.cast.map(mapAggregateCast),
|
||||
crew: show.credits.crew.map(mapCrew),
|
||||
},
|
||||
externalIds: mapExternalIds(show.external_ids),
|
||||
|
Reference in New Issue
Block a user