Merge pull request #7634 from neilsb/patch-1

Correct LocalTrailerCount in API
This commit is contained in:
Cody Robibero 2022-04-21 14:26:17 -06:00 committed by GitHub
commit fcb65ac38d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1094,7 +1094,7 @@ namespace Emby.Server.Implementations.Dto
{
if (item is IHasTrailers hasTrailers)
{
dto.LocalTrailerCount = hasTrailers.GetTrailerCount();
dto.LocalTrailerCount = hasTrailers.LocalTrailers.Count;
}
else
{