aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-10 16:26:30 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-10 16:26:30 -0500
commit50ea8cd941a6da3f2b2870c8add08f64dc8055d9 (patch)
treea7d3eac9e111f0752e8bf95f03a0d6428c783b04 /MediaBrowser.Server.Implementations
parent90184470fa8f7c61be978e097326ebab3e413d10 (diff)
added series level settings to control display of specials
Diffstat (limited to 'MediaBrowser.Server.Implementations')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index 936239657..faa9b0e61 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -728,7 +728,7 @@ namespace MediaBrowser.Server.Implementations.Dto
dto.DisplayMediaType = item.DisplayMediaType;
- if (fields.Contains(ItemFields.MetadataSettings))
+ if (fields.Contains(ItemFields.Settings))
{
dto.LockedFields = item.LockedFields;
dto.EnableInternetProviders = !item.DontFetchMeta;
@@ -1093,6 +1093,11 @@ namespace MediaBrowser.Server.Implementations.Dto
dto.SpecialFeatureCount = series.SpecialFeatureIds.Count;
dto.SeasonCount = series.SeasonCount;
+
+ if (fields.Contains(ItemFields.Settings))
+ {
+ dto.DisplaySpecialsWithSeasons = series.DisplaySpecialsWithSeasons;
+ }
}
if (episode != null)