From 2a2c049275776b36c57285cba36a6a4ee6b6a069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Miguel=20Alm=C3=A1nzar?= Date: Sat, 15 Jun 2013 01:30:48 -0400 Subject: [PATCH] display metadata fields locks --- MediaBrowser.Api/LibraryService.cs | 4 +++- MediaBrowser.Model/Entities/MetadataFields.cs | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.cs index 8f4d147d7..40a5fd693 100644 --- a/MediaBrowser.Api/LibraryService.cs +++ b/MediaBrowser.Api/LibraryService.cs @@ -265,7 +265,9 @@ namespace MediaBrowser.Api item.Language = request.Language; item.OfficialRating = request.OfficialRating; item.CustomRating = request.CustomRating; - + item.DontFetchMeta = !(request.EnableInternetProviders ?? true); + item.LockedFields = request.LockedFields; + item.LockedImages = request.LockedImages; foreach (var pair in request.ProviderIds.ToList()) { diff --git a/MediaBrowser.Model/Entities/MetadataFields.cs b/MediaBrowser.Model/Entities/MetadataFields.cs index 90b3b9467..7110d9d46 100644 --- a/MediaBrowser.Model/Entities/MetadataFields.cs +++ b/MediaBrowser.Model/Entities/MetadataFields.cs @@ -25,6 +25,14 @@ namespace MediaBrowser.Model.Entities /// /// The tags /// - Tags + Tags, + /// + /// The name + /// + Name, + /// + /// The overview + /// + Overview } }