mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
Add requested changes
This commit is contained in:
parent
eb12754fc5
commit
1f323683b3
1 changed files with 3 additions and 3 deletions
|
@ -59,14 +59,14 @@ namespace MediaBrowser.Providers.Tmdb.TV
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(seriesId))
|
if (string.IsNullOrEmpty(seriesId))
|
||||||
{
|
{
|
||||||
return list;
|
return Enumerable.Empty<RemoteImageInfo>();
|
||||||
}
|
}
|
||||||
|
|
||||||
var seasonNumber = season.IndexNumber;
|
var seasonNumber = season.IndexNumber;
|
||||||
|
|
||||||
if (!seasonNumber.HasValue)
|
if (!seasonNumber.HasValue)
|
||||||
{
|
{
|
||||||
return list;
|
return Enumerable.Empty<RemoteImageInfo>();
|
||||||
}
|
}
|
||||||
|
|
||||||
var language = item.GetPreferredMetadataLanguage();
|
var language = item.GetPreferredMetadataLanguage();
|
||||||
|
@ -88,7 +88,7 @@ namespace MediaBrowser.Providers.Tmdb.TV
|
||||||
ProviderName = Name,
|
ProviderName = Name,
|
||||||
Type = ImageType.Primary,
|
Type = ImageType.Primary,
|
||||||
RatingType = RatingType.Score
|
RatingType = RatingType.Score
|
||||||
}));
|
}).ToList());
|
||||||
|
|
||||||
|
|
||||||
var isLanguageEn = string.Equals(language, "en", StringComparison.OrdinalIgnoreCase);
|
var isLanguageEn = string.Equals(language, "en", StringComparison.OrdinalIgnoreCase);
|
||||||
|
|
Loading…
Reference in a new issue