Jump to content

GetInheritedParentalRatingValue() is missing in beta server 4.7.x.x


Recommended Posts

pünktchen
Posted

@Luke where is BaseItem.GetInheritedParentalRatingValue() in 4.7.x.x?
Do BaseItems now by default inherit the parent parental rating or why is it removed?

Posted

The database used to save this as a column but now it's been normalized and is just calculated on the fly. What you can use as a replacement is OfficialRatingForComparison and CustomRatingForComparison. Those two go up the parent tree in the same way.

pünktchen
Posted
On 10/26/2021 at 2:10 AM, Luke said:

What you can use as a replacement is OfficialRatingForComparison and CustomRatingForComparison.

Okay, but then where do i get the integer that corresponds to those string values?

Posted

localizationManager.GetparentalRatingValue, but i can just add back GetInheritedParentalRatingValue if it would help

pünktchen
Posted
9 hours ago, Luke said:

but i can just add back GetInheritedParentalRatingValue if it would help

That would be great and help a lot.

Posted

OK Sounds good then. 

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...