mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
added original runtime ticks to the dto
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user