In summary, Greece OTA EPG contains parental_rating_descriptors for both gbr
and gre
and because gbr
appears first, TVH is (by current design) ignoring the gre
rating codes.
As a quick fix, in a private branch, I have changed TVH so that it saves all rating labels, but still uses the first. This was done due to upcoming travel commitments. In order to use subsequent rating labels, the rating labels for the first country need to be disabled and the EPG grabber rerun.
This can only be a short term hack because applying this at a system-wide level will mean that systems that genuinely receive rating labels from multiple countries will be forced into selecting one.
A long term solution requires much more thought and analysis.
I have analysed some Greek and Cypriot mux dumps provided with the following findings:
Country Raw_Age Display_Age Display_Label Raw_Label Authority Icon
Greece
GRE 0 0 K K NCRTV ncrtv-k.png
GRE 5 8 8 8 NCRTV ncrtv-8.png
GRE 9 12 12 12 NCRTV ncrtv-12.png
GRE 13 16 16 16 NCRTV ncrtv-16.png
GRE 15 18 18 18 NCRTV ncrtv-18.png
Cyprus
CYP 1 4 4 4 CRTA crta-4.png
CYP 9 12 12 12 CRTA crta-12.png
CYP 12 14 15 15 CRTA crta-15.png
CYP 15 18 18 18 CRTA crta-18.png
Cypriot data also contained country code '902' which is a DVB country group designating 'All Countries'.
For a more complete solution, my first thought was to add a user-defined 'priority' field to the existing rating labels, when multiple labels are broadcast, TVH will use the one which the user has allocated the highest priority. However, this would be system wide and not allow a user to select the rating label of their preferred country when receiving multiple services from multiple countries. It would also not accommodate parental ratings sourced from XMLTV.
I am now favouring adding a 'parental rating priority list' to each service as well as the 'EPG grabber channel'. It will contain a comma separated list of countries/authorities. The first item will have the highest priority and so on.
As previously stated, I have upcoming travel commitments. Consequently, I will not be able to work on this until October 2025.