The Free Software Media System - Server Backend & API
Fix TV ratings (and NC-17) not working with PC
Eric Reed092c245d9ae7
diff --git a/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs b/MediaBrowser.Server.Implementations/Localization/LocalizationManager.csindex 817994c042..41f18b9a00 100644--- a/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs+++ b/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs@@ -237,14 +237,6 @@ namespace MediaBrowser.Server.Implementations.Localization}}- // Try and support ratings that are incorrectly prefixed with localization values (GB-PG, which is really just PG)- var index = rating.IndexOf('-');-- if (index != -1)- {- return GetRatingLevel(rating.Substring(index + 1));- }-return value == null ? (int?)null : value.Value;}}