Project

General

Profile

Feature #6291

Parental rating labels

Added by Delta Mike Charlie over 1 year ago. Updated 11 months ago.

Status:
Fixed
Priority:
Normal
Category:
EPG - Grabbers
Target version:
-
Start date:
2023-08-03
Due date:
% Done:

0%

Estimated time:

Description

I have identified a number of issue with the current way that TVH handles parental ratings:

  1. DVB OTA parental ratings are not converted from the provided 'age rating' into usable labels like 'PG' or 'FSK 12'.
  2. DVB OTA does not correctly process events tagged as 0x00 (undefined) or greater than 0x0F (broadcaster defined).
  3. XMLTV <rating> tag has only been partially implemented recognising only MPAA ratings for conversion to age values.

Proposed solution:

I plan to implement a new 'ratingLabel' field and a new user-defined lookup table to populate the field. The table will probably consist of 6 columns:

  • OTA Country
  • OTA Age
  • Display Age
  • Display Rating
  • XMLTV Rating
  • XMLTV System

The OTA age field carries the '….recommended minimum age in years of the end user' as defined in the DVB specifications and as TVH currently interprets the field.

For the DVB OTA issue, the 'country' and 'OTA age' will be used to match the rating display label.

For the XMLTV issue, the 'system' and 'rating' will be used to determine the rating age.

A sample Australian record would look like this (CSV used for illustrative purposes only):

AUS,11,11,PG,PG,ACMA

(Where we get 11 in our adjusted DVB parental_rating_descriptor, display the label 'PG'.)

A US example would look like this:

USA,14,14,PG-13,PG-13,MPAA

(The PG-13 description reads: 'Some material may be inappropriate for children under 13'. I interpret this to mean that the 'minimum age' should be 14 in line with DVB.)

The 'display age' and 'display rating' can be used to remap ratings and/or translated between various ratings systems.

For example:

AUS,15,15,MA,MA,ACMA
AUS,15,15,MA,R,MPAA

This would remap 'R' obtained via an MPAA XMLTV feed to display 'MA' in Australia.

With the 0x00 tags, they should remain 0x00 and not be adjusted by adding 3 like 0x01 to 0x0F. Greater than 0x0F should be able to be manually remapped.

This is where I see stage 1 ending. Producing functional ratings labels.

Future features may include:

  • Handling multiple OTA DVB parental rating values.
  • Pre-loading the table via the setup wizard.
  • User/DVR permissions based on the rating age.

History

#1

Updated by Martin Schlatter over 1 year ago

After installing 4.3.2145, the content type was missing in the OTA EIT EPG.

#2

Updated by Delta Mike Charlie over 1 year ago

Martin Schlatter wrote:

After installing 4.3.2145, the content type was missing in the OTA EIT EPG.

This new 'Parental rating labels' feature has not even been released yet so it is not the cause of the problem.

This problem arose from this: https://tvheadend.org/issues/6283 new feature.

I have responded to your forum thread with a workaround.

https://tvheadend.org/boards/5/topics/50218

I have also identified the underlying cause and will work to fix it.

#3

Updated by Flole Systems about 1 year ago

  • Tracker changed from Feature to Bug
  • Status changed from New to Fixed
  • Found in version set to -
#4

Updated by Flole Systems about 1 year ago

  • Tracker changed from Bug to Feature
  • Found in version deleted (-)
#5

Updated by Delta Mike Charlie about 1 year ago

Flole Systems - This is a new feature and it is still a work-in-progress. Please reset the status to 'Open'.

#6

Updated by Flole Systems about 1 year ago

  • Status changed from Fixed to Accepted

Oops, don't know what happened there, it was not my intention to do all those changes to this ticket.

#7

Updated by Delta Mike Charlie 12 months ago

Pull Request #1570 submitted on GitHub.

[[https://github.com/tvheadend/tvheadend/pull/1570]]

#8

Updated by Delta Mike Charlie 11 months ago

This issue can be closed now. The PR has been merged.

#9

Updated by Flole Systems 11 months ago

  • Status changed from Accepted to Fixed

Also available in: Atom PDF