added original runtime ticks to the dto
This commit is contained in:
parent
73f1b34cce
commit
08eec872a5
|
@ -230,6 +230,11 @@ namespace MediaBrowser.Controller.Dto
|
|||
dto.DateCreated = item.DateCreated;
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.OriginalRunTimeTicks))
|
||||
{
|
||||
dto.OriginalRunTimeTicks = item.OriginalRunTimeTicks;
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.DisplayMediaType))
|
||||
{
|
||||
dto.DisplayMediaType = item.DisplayMediaType;
|
||||
|
|
|
@ -102,6 +102,12 @@ namespace MediaBrowser.Model.Dto
|
|||
/// <value>The community rating.</value>
|
||||
public float? CommunityRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the original run time ticks.
|
||||
/// </summary>
|
||||
/// <value>The original run time ticks.</value>
|
||||
public long? OriginalRunTimeTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the run time ticks.
|
||||
/// </summary>
|
||||
|
|
|
@ -71,6 +71,11 @@ namespace MediaBrowser.Model.Querying
|
|||
/// </summary>
|
||||
MetadataSettings,
|
||||
|
||||
/// <summary>
|
||||
/// The original run time ticks
|
||||
/// </summary>
|
||||
OriginalRunTimeTicks,
|
||||
|
||||
/// <summary>
|
||||
/// The item overview
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user