Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support content rating #265

Draft
wants to merge 2 commits into
base: Piers
Choose a base branch
from
Draft

Conversation

emveepee
Copy link
Collaborator

@emveepee emveepee commented Jun 29, 2024

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"

@emveepee
Copy link
Collaborator Author

@ksooo @phunkyfish is there are way to tag an add-on to not build? It was uploaded as a draft but that doesn't do it.

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.
@phunkyfish
Copy link
Member

@ksooo @phunkyfish is there are way to tag an add-on to not build? It was uploaded as a draft but that doesn't do it.

I don’t believe so. But then again, I’ve never tried before 😉

@emveepee emveepee force-pushed the contentrating branch 5 times, most recently from e2c7fdd to 5109b7c Compare August 16, 2024 12:26
@emveepee emveepee changed the base branch from Omega to Piers August 16, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants