diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-08 16:58:52 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-08 16:58:52 -0400 |
| commit | fbd052abfc2724fcb151582746c9783d7ab8a97a (patch) | |
| tree | 4b3e126d72aa53e6aa4e74c74380bdcb80bc412c /MediaBrowser.Controller/Dto | |
| parent | a0dfbdfd70fe85fca64b341b6fe30708e9a9ebe9 (diff) | |
removed local trailers and special features from memory
Diffstat (limited to 'MediaBrowser.Controller/Dto')
| -rw-r--r-- | MediaBrowser.Controller/Dto/DtoBuilder.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Dto/DtoBuilder.cs b/MediaBrowser.Controller/Dto/DtoBuilder.cs index e16fb6d94c..d84227059e 100644 --- a/MediaBrowser.Controller/Dto/DtoBuilder.cs +++ b/MediaBrowser.Controller/Dto/DtoBuilder.cs @@ -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) { |
