mirror of
https://github.com/p-stream/providers.git
synced 2026-04-21 16:22:17 +00:00
add season title and episode count
This commit is contained in:
parent
9f22349271
commit
bebb680927
2 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ export async function getShowMediaDetails(id: string, seasonNumber: string, epis
|
||||||
season: {
|
season: {
|
||||||
number: season.season_number,
|
number: season.season_number,
|
||||||
tmdbId: season.id,
|
tmdbId: season.id,
|
||||||
|
title: season.name,
|
||||||
|
episodeCount: season.episodes.length,
|
||||||
},
|
},
|
||||||
imdbId: series.external_ids.imdb_id,
|
imdbId: series.external_ids.imdb_id,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@ export type ShowMedia = CommonMedia & {
|
||||||
season: {
|
season: {
|
||||||
number: number;
|
number: number;
|
||||||
tmdbId: string;
|
tmdbId: string;
|
||||||
|
title: string;
|
||||||
|
episodeCount?: number;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue