Skip to content

The Free Software Media System - Server Backend & API

Merge pull request #7634 from neilsb/patch-1

Cody Robibero8568913df0d5
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index efcfccafe3..09ba368514 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -1094,7 +1094,7 @@ namespace Emby.Server.Implementations.Dto
{
if (item is IHasTrailers hasTrailers)
{
- dto.LocalTrailerCount = hasTrailers.GetTrailerCount();
+ dto.LocalTrailerCount = hasTrailers.LocalTrailers.Count;
}
else
{