mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
Fix LocalTrailers playback.
This commit is contained in:
@@ -1079,7 +1079,7 @@ namespace Emby.Server.Implementations.Dto
|
||||
allExtras = item.GetExtras().ToArray();
|
||||
}
|
||||
|
||||
dto.LocalTrailerCount = allExtras.Count(i => i.ExtraType.HasValue && i.ExtraType.Value == ExtraType.Trailer);
|
||||
dto.LocalTrailerCount = allExtras.Count(i => i.ExtraType.HasValue && i.ExtraType.Value == ExtraType.Trailer) + item.GetTrailers().Count();
|
||||
}
|
||||
|
||||
// Add EpisodeInfo
|
||||
|
||||
Reference in New Issue
Block a user