mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-21 14:47:41 +01:00
undo duplicate path
This commit is contained in:
parent
c08a6c7e54
commit
4d51de3bd1
1 changed files with 2 additions and 6 deletions
|
@ -53,9 +53,7 @@ export function fromatTMDBMetaResult(
|
||||||
id: details.id,
|
id: details.id,
|
||||||
title: (details as TMDBMovieData).title,
|
title: (details as TMDBMovieData).title,
|
||||||
object_type: mediaTypeToTMDB(type),
|
object_type: mediaTypeToTMDB(type),
|
||||||
poster:
|
poster: (details as TMDBMovieData).poster_path ?? undefined,
|
||||||
Tmdb.getMediaPoster((details as TMDBMovieData).poster_path) ??
|
|
||||||
undefined,
|
|
||||||
original_release_year: Number(
|
original_release_year: Number(
|
||||||
(details as TMDBMovieData).release_date?.split("-")[0]
|
(details as TMDBMovieData).release_date?.split("-")[0]
|
||||||
),
|
),
|
||||||
|
@ -71,9 +69,7 @@ export function fromatTMDBMetaResult(
|
||||||
season_number: v.season_number,
|
season_number: v.season_number,
|
||||||
title: v.name,
|
title: v.name,
|
||||||
})),
|
})),
|
||||||
poster:
|
poster: (details as TMDBMovieData).poster_path ?? undefined,
|
||||||
Tmdb.getMediaPoster((details as TMDBMovieData).poster_path) ??
|
|
||||||
undefined,
|
|
||||||
original_release_year: Number(
|
original_release_year: Number(
|
||||||
(details as TMDBShowData).first_air_date?.split("-")[0]
|
(details as TMDBShowData).first_air_date?.split("-")[0]
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue