mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
fix: error if tmdb poster is null
This commit is contained in:
@@ -347,7 +347,7 @@ class TheMovieDb extends ExternalAPI implements TvShowIndexer {
|
||||
);
|
||||
|
||||
data.episodes = data.episodes.map((episode) => {
|
||||
if (episode.still_path !== '') {
|
||||
if (episode.still_path != null && episode.still_path !== '') {
|
||||
episode.still_path = `https://image.tmdb.org/t/p/original/${episode.still_path}`;
|
||||
}
|
||||
return episode;
|
||||
|
||||
@@ -66,8 +66,6 @@ class Tvdb extends ExternalAPI implements TvShowIndexer {
|
||||
|
||||
for (const season of correctSeasons) {
|
||||
if (season.seasonNumber) {
|
||||
logger.info(`Fetching TV season ${season.seasonNumber}`);
|
||||
|
||||
try {
|
||||
const seasonData = {
|
||||
id: tvdbId,
|
||||
|
||||
Reference in New Issue
Block a user