added original runtime ticks to the dto

This commit is contained in:
Luke Pulverenti 2013-06-24 11:18:32 -04:00
parent 73f1b34cce
commit 08eec872a5
3 changed files with 16 additions and 0 deletions

View File

@ -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;

View File

@ -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>

View File

@ -71,6 +71,11 @@ namespace MediaBrowser.Model.Querying
/// </summary>
MetadataSettings,
/// <summary>
/// The original run time ticks
/// </summary>
OriginalRunTimeTicks,
/// <summary>
/// The item overview
/// </summary>