Correct LocalTrailerCount in API

Revert a change which resulted in the `LocalTrailerCount` including the count of Local and Remote trailers which had been introduced in 10.8.
pull/7634/head
Neil Burrows 2 years ago committed by GitHub
parent 1d5961126e
commit 7f52f77ef5
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)
{
dto.LocalTrailerCount = hasTrailers.GetTrailerCount();
dto.LocalTrailerCount = (item as IHasTrailers).LocalTrailers.Count;
}
else
{

Loading…
Cancel
Save