diff options
| author | Cody Robibero <cody@robibe.ro> | 2022-04-21 14:26:17 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2022-04-28 09:26:45 -0400 |
| commit | 8568913df0d515ed37d531703b21584e5a6e719b (patch) | |
| tree | 1e68a4c6a3c71f8a2792bb780da62fd125896565 /Emby.Server.Implementations/Dto | |
| parent | 2e3c5ed3465c412893a80fe23f11a5496a2c6425 (diff) | |
Merge pull request #7634 from neilsb/patch-1
Correct LocalTrailerCount in API
(cherry picked from commit fcb65ac38df99d85c48f3918b420172c737d9b0e)
Signed-off-by: crobibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/Dto')
| -rw-r--r-- | Emby.Server.Implementations/Dto/DtoService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs index efcfccafe..09ba36851 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 { |
