Thread Rating:
  • 1 Vote(s) - 5 Average
Parental rating
#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.
Reply
#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.
Reply
#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.
Reply
#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.
Reply
#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) Huh
Regards,
Vanesa.
Reply
#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.
Reply
#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
Reply
#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 Huh
It makes no sense for me, but maybe you are rigth.
Regards,
Vanesa.
Reply
#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.
Reply
#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.
Reply



Parental rating51