mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-30 15:01:54 +01:00
add LocalFileInfo.Id
This commit is contained in:
@@ -429,6 +429,12 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
public virtual BaseItem DisplayParent
|
||||
{
|
||||
get { return Parent; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// When the item first debuted. For movies this could be premiere date, episodes would be first aired
|
||||
/// </summary>
|
||||
@@ -548,7 +554,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
return CustomRating;
|
||||
}
|
||||
|
||||
var parent = Parent;
|
||||
var parent = DisplayParent;
|
||||
if (parent != null)
|
||||
{
|
||||
return parent.CustomRatingForComparison;
|
||||
|
||||
Reference in New Issue
Block a user