Added critic rating as a sort order

This commit is contained in:
Luke Pulverenti
2013-05-05 22:23:19 -04:00
parent 378beb7bad
commit e49848b8bf
10 changed files with 76 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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