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;
|
dto.DisplayMediaType = item.DisplayMediaType;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fields.Contains(ItemFields.LockedFields))
|
if (fields.Contains(ItemFields.MetadataSettings))
|
||||||
{
|
{
|
||||||
dto.LockedFields = item.LockedFields;
|
dto.LockedFields = item.LockedFields;
|
||||||
dto.LockedImages = item.LockedImages;
|
dto.LockedImages = item.LockedImages;
|
||||||
|
dto.EnableInternetProviders = !item.DontFetchMeta;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fields.Contains(ItemFields.Budget))
|
if (fields.Contains(ItemFields.Budget))
|
||||||
|
|
|
@ -469,7 +469,13 @@ namespace MediaBrowser.Model.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The locked images.</value>
|
/// <value>The locked images.</value>
|
||||||
public List<ImageType> LockedImages { get; set; }
|
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>
|
/// <summary>
|
||||||
/// Gets a value indicating whether this instance can resume.
|
/// Gets a value indicating whether this instance can resume.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -67,9 +67,9 @@ namespace MediaBrowser.Model.Querying
|
||||||
IndexOptions,
|
IndexOptions,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The locked fields
|
/// The metadata settings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
LockedFields,
|
MetadataSettings,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The item overview
|
/// The item overview
|
||||||
|
|
Loading…
Reference in New Issue
Block a user