mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 12:53:51 +02:00
Fix TV ratings (and NC-17) not working with PC
This commit is contained in:
parent
4c19b9382f
commit
092c245d9a
1 changed files with 0 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue