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;
|
dto.DateCreated = item.DateCreated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fields.Contains(ItemFields.OriginalRunTimeTicks))
|
||||||
|
{
|
||||||
|
dto.OriginalRunTimeTicks = item.OriginalRunTimeTicks;
|
||||||
|
}
|
||||||
|
|
||||||
if (fields.Contains(ItemFields.DisplayMediaType))
|
if (fields.Contains(ItemFields.DisplayMediaType))
|
||||||
{
|
{
|
||||||
dto.DisplayMediaType = item.DisplayMediaType;
|
dto.DisplayMediaType = item.DisplayMediaType;
|
||||||
|
|
|
@ -102,6 +102,12 @@ namespace MediaBrowser.Model.Dto
|
||||||
/// <value>The community rating.</value>
|
/// <value>The community rating.</value>
|
||||||
public float? CommunityRating { get; set; }
|
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>
|
/// <summary>
|
||||||
/// Gets or sets the run time ticks.
|
/// Gets or sets the run time ticks.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -71,6 +71,11 @@ namespace MediaBrowser.Model.Querying
|
||||||
/// </summary>
|
/// </summary>
|
||||||
MetadataSettings,
|
MetadataSettings,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The original run time ticks
|
||||||
|
/// </summary>
|
||||||
|
OriginalRunTimeTicks,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The item overview
|
/// The item overview
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user