aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-21 00:57:06 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-21 00:57:06 -0500
commite5e39e8e56de7c4d6f0cadad579e9b20513f096d (patch)
tree8327d619f75bc19cb6f9cc72619221c3d998b57c /MediaBrowser.Server.Implementations
parent7b0306dce771abbe141e178330f2566bc0e21be6 (diff)
add metadata editor info endpoint
Diffstat (limited to 'MediaBrowser.Server.Implementations')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index bbf1d8e3ad..a14a8ad08f 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -71,8 +71,7 @@ namespace MediaBrowser.Server.Implementations.Dto
{
var options = new DtoOptions
{
- Fields = fields,
- EnableSettings = true
+ Fields = fields
};
// Get everything
@@ -677,7 +676,7 @@ namespace MediaBrowser.Server.Implementations.Dto
dto.IsUnidentified = item.IsUnidentified;
}
- if (options.EnableSettings)
+ if (fields.Contains(ItemFields.Settings))
{
dto.LockedFields = item.LockedFields;
dto.LockData = item.IsLocked;
@@ -1170,7 +1169,7 @@ namespace MediaBrowser.Server.Implementations.Dto
dto.SeasonCount = series.SeasonCount;
- if (options.EnableSettings)
+ if (fields.Contains(ItemFields.Settings))
{
dto.DisplaySpecialsWithSeasons = series.DisplaySpecialsWithSeasons;
}