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

Add support for TVH Parental Rating fields (Piers). #675

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

DeltaMikeCharlie
Copy link
Contributor

Piers replacement for #633
Process the existing ‘ageRating’ and the new ‘ratingLabel’ and ‘ratingIcon’ HTSP fields and pass them to the Kodi PVR module.

These fields will be accessible to skins as follows:

ageRating => $INFO[ListItem.ParentalRating]
ratingLabel => $INFO[ListItem.ParentalRatingCode]
ratingIcon => $INFO[ListItem.ParentalRatingIcon]

If ratingAuthority exists => $INFO[ListItem.ParentalRatingSource], otherwise, if ratingCountry exists => $INFO[ListItem.ParentalRatingSource].

Note: The change requires acceptance of the Kodi core PR xbmc/xbmc#24096 containing the modifications to the PVR client API.

Copy link
Member

@ksooo ksooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just cosmetics.

@ksooo
Copy link
Member

ksooo commented Aug 21, 2024

I will merge although this PR contains no addon version bump and changelog, because I have other smaller stuff in the pipeline which we then can release together with this PR.

@ksooo ksooo merged commit c0c097a into kodi-pvr:Piers Aug 21, 2024
8 checks passed
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