mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
Merge pull request #1651 from sl1288/master
Fix local trailers 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