Merge pull request #9460 from Shadowghost/rating-overhaul

This commit is contained in:
Bond-009
2023-03-15 12:09:59 +01:00
committed by GitHub
3 changed files with 55 additions and 36 deletions

View File

@@ -30,8 +30,9 @@ namespace MediaBrowser.Model.Globalization
/// Gets the rating level.
/// </summary>
/// <param name="rating">The rating.</param>
/// <param name="countryCode">The optional two letter ISO language string.</param>
/// <returns><see cref="int" /> or <c>null</c>.</returns>
int? GetRatingLevel(string rating);
int? GetRatingLevel(string rating, string? countryCode = null);
/// <summary>
/// Gets the localized string.