mirror of
https://github.com/p-stream/providers.git
synced 2026-03-11 17:55:36 +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: {
|
||||
number: season.season_number,
|
||||
tmdbId: season.id,
|
||||
title: season.name,
|
||||
episodeCount: season.episodes.length,
|
||||
},
|
||||
imdbId: series.external_ids.imdb_id,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ export type ShowMedia = CommonMedia & {
|
|||
season: {
|
||||
number: number;
|
||||
tmdbId: string;
|
||||
title: string;
|
||||
episodeCount?: number;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue