added EnableInternetProviders to BaseItemDto

This commit is contained in:
Luke Pulverenti 2013-06-09 11:49:32 -04:00
parent 66ce8b4aac
commit 4b0f055a16
3 changed files with 11 additions and 4 deletions

View File

@ -233,10 +233,11 @@ namespace MediaBrowser.Controller.Dto
dto.DisplayMediaType = item.DisplayMediaType;
}
if (fields.Contains(ItemFields.LockedFields))
if (fields.Contains(ItemFields.MetadataSettings))
{
dto.LockedFields = item.LockedFields;
dto.LockedImages = item.LockedImages;
dto.EnableInternetProviders = !item.DontFetchMeta;
}
if (fields.Contains(ItemFields.Budget))

View File

@ -469,7 +469,13 @@ namespace MediaBrowser.Model.Dto
/// </summary>
/// <value>The locked images.</value>
public List<ImageType> LockedImages { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [enable internet providers].
/// </summary>
/// <value><c>true</c> if [enable internet providers]; otherwise, <c>false</c>.</value>
public bool? EnableInternetProviders { get; set; }
/// <summary>
/// Gets a value indicating whether this instance can resume.
/// </summary>

View File

@ -67,9 +67,9 @@ namespace MediaBrowser.Model.Querying
IndexOptions,
/// <summary>
/// The locked fields
/// The metadata settings
/// </summary>
LockedFields,
MetadataSettings,
/// <summary>
/// The item overview