Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The pvr.nextpvr addon has never populated the RarentalRatingCode supplied with the API. Using XML from https://movielabs.com/md/ratings/ as a standard for parental rating icons, rating systems and parental rating age value. The add-on actually uses a parsed version of the for easier processing using a netcore binary that runs on all NextPVR platforms available on request.
The XML file can also use Kodi resource:// link one example provided for the best available parental icon resource source for Kodi https://github.com/wyrm65/resource.images.classificationicons.colour
Users or skins can also create their own resources addons and use a custom XML file in the userdata folder.
In addition to loading icons this XML file is used for populating the ParentalRating numeric field which are not available by API Although Kodi doesn't use this field to prevent viewing with Parental Controls enabled, a future expansion would make this potentially more important then showing the icon.
Dependent on PR 24096 a new PVR API and move to "P"