|
|
@ -308,15 +308,15 @@ namespace MediaBrowser.Api.UserLibrary
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Min official rating
|
|
|
|
// Min official rating
|
|
|
|
if (!string.IsNullOrEmpty(request.MinOfficialRating))
|
|
|
|
if (!string.IsNullOrWhiteSpace(request.MinOfficialRating))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
query.MinParentalRating = _localization.GetRatingLevel(request.MinOfficialRating);
|
|
|
|
query.MinParentalRating = _localization.GetRatingLevel(request.MinOfficialRating);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Max official rating
|
|
|
|
// Max official rating
|
|
|
|
if (!string.IsNullOrEmpty(request.MaxOfficialRating))
|
|
|
|
if (!string.IsNullOrWhiteSpace(request.MaxOfficialRating))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
query.MaxParentalRating = _localization.GetRatingLevel(request.MinOfficialRating);
|
|
|
|
query.MaxParentalRating = _localization.GetRatingLevel(request.MaxOfficialRating);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Artists
|
|
|
|
// Artists
|
|
|
|