|
@@ -469,7 +469,7 @@ namespace MediaBrowser.Controller.Entities
|
|
/// Gets or sets the official rating.
|
|
/// Gets or sets the official rating.
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <value>The official rating.</value>
|
|
/// <value>The official rating.</value>
|
|
- public virtual string OfficialRating { get; set; }
|
|
|
|
|
|
+ public string OfficialRating { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the official rating description.
|
|
/// Gets or sets the official rating description.
|
|
@@ -481,7 +481,7 @@ namespace MediaBrowser.Controller.Entities
|
|
/// Gets or sets the custom rating.
|
|
/// Gets or sets the custom rating.
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <value>The custom rating.</value>
|
|
/// <value>The custom rating.</value>
|
|
- public virtual string CustomRating { get; set; }
|
|
|
|
|
|
+ public string CustomRating { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the language.
|
|
/// Gets or sets the language.
|
|
@@ -521,6 +521,18 @@ namespace MediaBrowser.Controller.Entities
|
|
get { return People; }
|
|
get { return People; }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ [IgnoreDataMember]
|
|
|
|
+ public virtual IEnumerable<string> AllStudios
|
|
|
|
+ {
|
|
|
|
+ get { return Studios; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [IgnoreDataMember]
|
|
|
|
+ public virtual IEnumerable<string> AllGenres
|
|
|
|
+ {
|
|
|
|
+ get { return Genres; }
|
|
|
|
+ }
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the studios.
|
|
/// Gets or sets the studios.
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -620,6 +632,18 @@ namespace MediaBrowser.Controller.Entities
|
|
public List<Guid> ThemeVideoIds { get; set; }
|
|
public List<Guid> ThemeVideoIds { get; set; }
|
|
public List<Guid> LocalTrailerIds { get; set; }
|
|
public List<Guid> LocalTrailerIds { get; set; }
|
|
|
|
|
|
|
|
+ [IgnoreDataMember]
|
|
|
|
+ public virtual string OfficialRatingForComparison
|
|
|
|
+ {
|
|
|
|
+ get { return OfficialRating; }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [IgnoreDataMember]
|
|
|
|
+ public virtual string CustomRatingForComparison
|
|
|
|
+ {
|
|
|
|
+ get { return CustomRating; }
|
|
|
|
+ }
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Loads local trailers from the file system
|
|
/// Loads local trailers from the file system
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -992,11 +1016,11 @@ namespace MediaBrowser.Controller.Entities
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- var rating = CustomRating;
|
|
|
|
|
|
+ var rating = CustomRatingForComparison;
|
|
|
|
|
|
if (string.IsNullOrEmpty(rating))
|
|
if (string.IsNullOrEmpty(rating))
|
|
{
|
|
{
|
|
- rating = OfficialRating;
|
|
|
|
|
|
+ rating = OfficialRatingForComparison;
|
|
}
|
|
}
|
|
|
|
|
|
if (string.IsNullOrEmpty(rating))
|
|
if (string.IsNullOrEmpty(rating))
|