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.
This commit is contained in:
parent
1d5961126e
commit
7f52f77ef5
|
@ -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…
Reference in New Issue
Block a user