pünktchen 1261 Posted October 25, 2021 Share Posted October 25, 2021 @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? Link to comment Share on other sites More sharing options...
Luke 37253 Posted October 26, 2021 Share Posted October 26, 2021 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. Link to comment Share on other sites More sharing options...
pünktchen 1261 Posted October 28, 2021 Author Share Posted October 28, 2021 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? Link to comment Share on other sites More sharing options...
Luke 37253 Posted October 30, 2021 Share Posted October 30, 2021 localizationManager.GetparentalRatingValue, but i can just add back GetInheritedParentalRatingValue if it would help Link to comment Share on other sites More sharing options...
pünktchen 1261 Posted October 30, 2021 Author Share Posted October 30, 2021 9 hours ago, Luke said: but i can just add back GetInheritedParentalRatingValue if it would help That would be great and help a lot. Link to comment Share on other sites More sharing options...
Luke 37253 Posted October 31, 2021 Share Posted October 31, 2021 OK Sounds good then. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now