Merge pull request #7634 from neilsb/patch-1

Correct LocalTrailerCount in API
pull/7638/head
Cody Robibero 3 years ago committed by GitHub
commit fcb65ac38d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save