1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Merge pull request #365 from castdrian/poster-hotfix

fix(metadata): hotfix lonely poster path
This commit is contained in:
mrjvs 2023-06-23 21:30:04 +02:00 committed by GitHub
commit e5e45c4fa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ export function formatTMDBMetaResult(
season_number: v.season_number,
title: v.name,
})),
poster: (details as TMDBMovieData).poster_path ?? undefined,
poster: getMediaPoster(show.poster_path) ?? undefined,
original_release_year: new Date(show.first_air_date).getFullYear(),
};
}