Merge pull request #4204 from cvium/add_aspect_ratio_seriesprimary

Add series image aspect ratio when ep/season is missing an image
This commit is contained in:
dkanada 2020-09-27 19:07:57 +09:00 committed by GitHub
commit 63b49ff4d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1139,6 +1139,7 @@ namespace Emby.Server.Implementations.Dto
if (episodeSeries != null)
{
dto.SeriesPrimaryImageTag = GetTagAndFillBlurhash(dto, episodeSeries, ImageType.Primary);
AttachPrimaryImageAspectRatio(dto, episodeSeries);
}
}
@ -1185,6 +1186,7 @@ namespace Emby.Server.Implementations.Dto
if (series != null)
{
dto.SeriesPrimaryImageTag = GetTagAndFillBlurhash(dto, series, ImageType.Primary);
AttachPrimaryImageAspectRatio(dto, series);
}
}
}