mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 00:55:13 +01:00
added LockedFields to BaseItem
This commit is contained in:
@@ -233,6 +233,12 @@ namespace MediaBrowser.Controller.Dto
|
||||
dto.DisplayMediaType = item.DisplayMediaType;
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.LockedFields))
|
||||
{
|
||||
dto.LockedFields = item.LockedFields;
|
||||
dto.LockedImages = item.LockedImages;
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.Budget))
|
||||
{
|
||||
dto.Budget = item.Budget;
|
||||
|
||||
@@ -157,6 +157,18 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// <value><c>true</c> if [dont fetch meta]; otherwise, <c>false</c>.</value>
|
||||
public bool DontFetchMeta { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the locked fields.
|
||||
/// </summary>
|
||||
/// <value>The locked fields.</value>
|
||||
public List<MetadataFields> LockedFields { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the locked images.
|
||||
/// </summary>
|
||||
/// <value>The locked images.</value>
|
||||
public List<ImageType> LockedImages { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the item has a saved local image of the specified name (jpg or png).
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user