Parental rating - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: Parental rating (/showthread.php?tid=97391) |
Parental rating - vane.xbmc - 2011-03-21 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)? - opdenkamp - 2011-03-21 isn't documented afaik. you can find the values in the implementation of CEpgInfoTag::ConvertGenreIdToString() - vane.xbmc - 2011-03-22 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_Picture_Association_of_America_film_rating_system? - opdenkamp - 2011-03-22 oh right, I mixed up parental rating with genre type. yes, you are correct. - vane.xbmc - 2011-03-22 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) - opdenkamp - 2011-03-22 never done anything with that myself, so you'll have to look into the code for the exact usage. - steffen_b - 2011-03-23 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 - vane.xbmc - 2011-03-23 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 It makes no sense for me, but maybe you are rigth. - steffen_b - 2011-03-23 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. - vane.xbmc - 2011-03-23 steffen_b Wrote:I'm not sure if the parental rating in PVR is the one from dvdplayerNeither me, it's the only code related with parental rating I've found by now. Thanks. |