mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-06 07:48:50 +01:00
removed local trailers and special features from memory
This commit is contained in:
@@ -331,7 +331,7 @@ namespace MediaBrowser.Controller.Dto
|
||||
dto.CriticRatingSummary = item.CriticRatingSummary;
|
||||
}
|
||||
|
||||
var localTrailerCount = item.LocalTrailers == null ? 0 : item.LocalTrailers.Count;
|
||||
var localTrailerCount = item.LocalTrailerIds.Count;
|
||||
|
||||
if (localTrailerCount > 0)
|
||||
{
|
||||
@@ -492,7 +492,7 @@ namespace MediaBrowser.Controller.Dto
|
||||
|
||||
if (movie != null)
|
||||
{
|
||||
var specialFeatureCount = movie.SpecialFeatures == null ? 0 : movie.SpecialFeatures.Count;
|
||||
var specialFeatureCount = movie.SpecialFeatureIds.Count;
|
||||
|
||||
if (specialFeatureCount > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user