I have begun thinking of a good way to add parental ratings to MP. I see in the DVB EPG code where we can get the Parental Rating Descriptor (tag 0x55 in the EIT) but currently that information is not stored. But based on the DVB spec you can have numerous different ratings per program, one per country code. And for each country code there is a minimum age suggested for the program (range of 3 - 18 years old). I then looked at what XMLTV puts in their file and I see various 'rating system' entries including VCHIP and MPAA which seems to use similar 'PG' style ratings, and one called 'advisory' which uses descriptors such as 'Adult Situations' and 'Mild Violence' for example (these are probably in different languages based on locale?).
So my thoughts on this are:
1) Keep one rating per program. I like the age concept that DVB uses so I would keep that. In the EPG or parental ratings configuration set your country code of choice so the EPG parser would know which one to use. And map the VCHIP rating system categories in XMLTV to an age number (G = 3 and PG-13 = 13 for example) since VCHIP I'm guessing appears in the XMLTV files everywhere?
2) Put the onus on the client to enforce the parental ratings if they choose to. The client would store the pin code and check (by means of a call to the TV Server or maybe just checking the data for the program from the EPG - this new ratings data would need to be added to the EPG data) if this program is allowed. Allow PIN code override or however the client wishes to handle it (if at all).
Does this make sense? I guess I'm looking for input on any glaring high level design mistakes before I start trying to hack this into the server code.
Any comments, flames, suggestions welcome.
Thanks.
So my thoughts on this are:
1) Keep one rating per program. I like the age concept that DVB uses so I would keep that. In the EPG or parental ratings configuration set your country code of choice so the EPG parser would know which one to use. And map the VCHIP rating system categories in XMLTV to an age number (G = 3 and PG-13 = 13 for example) since VCHIP I'm guessing appears in the XMLTV files everywhere?
2) Put the onus on the client to enforce the parental ratings if they choose to. The client would store the pin code and check (by means of a call to the TV Server or maybe just checking the data for the program from the EPG - this new ratings data would need to be added to the EPG data) if this program is allowed. Allow PIN code override or however the client wishes to handle it (if at all).
Does this make sense? I guess I'm looking for input on any glaring high level design mistakes before I start trying to hack this into the server code.
Any comments, flames, suggestions welcome.
Thanks.