Project

General

Profile

Bug #6284

OTA Parental Rating (Age restriction) Not Recognised

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

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
EPG - Grabbers
Target version:
-
Start date:
2023-07-11
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.8-36 (LibreELEC) and also in the most recent GitHub source
Affected Versions:

Description

I have noticed that none of my EPG events have a parental rating associated with them. Other receivers in my house do show this information.

The OTA EIT 'parental_rating_descriptor', if present, normally consists of 1 or more 4 byte records. The first 3 bytes holds the ISO 3166 [34] alpha-3 country code and the 4th byte contains the parental rating value minus 3.

Looking at the source code for the '_eit_desc_parental' function within the 'eit.c' module, I can see that it is processing 4 bytes at a time as expected.

https://github.com/tvheadend/tvheadend/blob/14298acb6a8e3a83ed1091fab1f3a924077ddfea/src/epggrab/module/eit.c#L407

However, it is taking the 1st byte (i = 0) as the parental rating value, not the 4th byte (i = 3).

Please assign this item to me. I have already patched and tested the issue on a test system, however, I want to track the issue properly, make a GitHub fork and update it correctly.

History

#1

Updated by Delta Mike Charlie over 1 year ago

Code amended (1 character).
Pull request created.

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

#2

Updated by Delta Mike Charlie over 1 year ago

The PR has been merged. This issue can be marked as complete/closed.

#3

Updated by Flole Systems over 1 year ago

  • Status changed from New to Fixed

Also available in: Atom PDF