Parental rating

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #1
Hi,

where can I find information about the parental rating system in XBMC?

In struct PVR_PROGINFO I find it is an integer variable (int parental_rating)?

Regards,
Vanesa.
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,218
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #2
isn't documented afaik. you can find the values in the implementation of CEpgInfoTag::ConvertGenreIdToString()

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #3
I've found this:

Parental Management Information Unit Table.
Level 1 (US: G), ..., 7 (US: NC-17), 8

in xbmc/cores/dvdplayer/DVDInputStreams/dvdnav/ifo_types.h.

Does this mean that XBMC follows this: http://en.wikipedia.org/wiki/Motion_Pict...ing_system?

Regards,
Vanesa.
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,218
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #4
oh right, I mixed up parental rating with genre type.
yes, you are correct.

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #5
But then the levels are 5:

G- General Audiences
PG- Parental Guidance Suggested
PG-13- Parents Strongly Cautioned
R- Restricted
NC-17- No One 17 and under admitted

and I've found values from 1 to 8 in the code (Level 1 (US: G), ..., 7 (US: NC-17), 8) Confused

Regards,
Vanesa.
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,218
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #6
never done anything with that myself, so you'll have to look into the code for the exact usage.

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
steffen_b Offline
Member
Posts: 52
Joined: Dec 2009
Reputation: 0
Post: #7
If i need to guess i would think its just the age in years ? At least thats provided/has been added to VDR for VNSI EPG.

This is US only:
G- General Audiences
PG- Parental Guidance Suggested
PG-13- Parents Strongly Cautioned
R- Restricted
NC-17- No One 17 and under admitted
find quote
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #8
In cores/dvdplayer/DVDInputStreams/dvdnav/dvd_types.h:
typedef enum {
DVD_PARENTAL_LEVEL_1 = 1,
DVD_PARENTAL_LEVEL_2 = 2,
DVD_PARENTAL_LEVEL_3 = 3,
DVD_PARENTAL_LEVEL_4 = 4,
DVD_PARENTAL_LEVEL_5 = 5,
DVD_PARENTAL_LEVEL_6 = 6,
DVD_PARENTAL_LEVEL_7 = 7,
DVD_PARENTAL_LEVEL_8 = 8,
DVD_PARENTAL_LEVEL_None = 15
} DVDParentalLevel_t;

Do you mean ages from 1 to 8 years? And then 15 Confused
It makes no sense for me, but maybe you are rigth.

Regards,
Vanesa.
find quote
steffen_b Offline
Member
Posts: 52
Joined: Dec 2009
Reputation: 0
Post: #9
I'm not sure if the parental rating in PVR is the one from dvdplayer (i'm pretty much a noob regarding xbmc, coming from vdr user camp and followed development from there) - AFAICS the parental rating in VDR which is put to XBMC by VNSI is just the age.
find quote
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #10
steffen_b Wrote:I'm not sure if the parental rating in PVR is the one from dvdplayer
Neither me, it's the only code related with parental rating I've found by now.
Thanks.

Regards,
Vanesa.
find quote