added EnableInternetProviders to BaseItemDto
This commit is contained in:
parent
66ce8b4aac
commit
4b0f055a16
|
@ -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))
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -67,9 +67,9 @@ namespace MediaBrowser.Model.Querying
|
|||
IndexOptions,
|
||||
|
||||
/// <summary>
|
||||
/// The locked fields
|
||||
/// The metadata settings
|
||||
/// </summary>
|
||||
LockedFields,
|
||||
MetadataSettings,
|
||||
|
||||
/// <summary>
|
||||
/// The item overview
|
||||
|
|
Loading…
Reference in New Issue
Block a user