mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-12 21:32:08 +01:00
Added critic rating as a sort order
This commit is contained in:
@@ -42,6 +42,18 @@ namespace MediaBrowser.Model.Dto
|
||||
/// <value>The premiere date.</value>
|
||||
public DateTime? PremiereDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the critic rating.
|
||||
/// </summary>
|
||||
/// <value>The critic rating.</value>
|
||||
public float? CriticRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the critic rating summary.
|
||||
/// </summary>
|
||||
/// <value>The critic rating summary.</value>
|
||||
public string CriticRatingSummary { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the path.
|
||||
/// </summary>
|
||||
|
||||
@@ -29,7 +29,13 @@ namespace MediaBrowser.Model.Entities
|
||||
/// Gets or sets the score.
|
||||
/// </summary>
|
||||
/// <value>The score.</value>
|
||||
public float Score { get; set; }
|
||||
public float? Score { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="ItemReview"/> is likes.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [likes] contains no value, <c>true</c> if [likes]; otherwise, <c>false</c>.</value>
|
||||
public bool? Likes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the URL.
|
||||
|
||||
@@ -21,6 +21,11 @@ namespace MediaBrowser.Model.Querying
|
||||
/// </summary>
|
||||
Chapters,
|
||||
|
||||
/// <summary>
|
||||
/// The critic rating summary
|
||||
/// </summary>
|
||||
CriticRatingSummary,
|
||||
|
||||
/// <summary>
|
||||
/// The date created of the item
|
||||
/// </summary>
|
||||
|
||||
@@ -62,5 +62,10 @@ namespace MediaBrowser.Model.Querying
|
||||
/// The play count
|
||||
/// </summary>
|
||||
public const string PlayCount = "PlayCount";
|
||||
/// <summary>
|
||||
/// The critic rating
|
||||
/// </summary>
|
||||
public const string CriticRating = "CriticRating";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user