MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-05-09, 19:36   #1 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default Parental Ratings

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.
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-05-09, 20:46   #2 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,202
Thanks: 20
Thanked 172 Times in 90 Posts

Country:

My System

Default

Also had a look at this.
Can be a bit complicated to map the different rating systems to one system but might be possible. Also found the special parental rating descriptor for DISH/BEV which uses MPAA rating system.
Will try to have a closer look next week
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Old 2007-05-09, 20:59   #3 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

So DISH/BEV do not use the standard DVB parental rating descriptor? Why am I not surprised. I was going to put some code in to dump out that descriptor but maybe now I won't have to How does DISH/BEV do it?
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-05-09, 23:56   #4 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,202
Thanks: 20
Thanked 172 Times in 90 Posts

Country:

My System

Default

They transmit the parental rating (MPAA style) and the star rating in one descriptor which is as always with DISH/BEV - a new descriptor tag which is only used by DISH/BEV
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Old 2007-05-30, 13:41   #5 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

You get anywhere with this yet gemx?
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-05-30, 16:27   #6 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,202
Thanks: 20
Thanked 172 Times in 90 Posts

Country:

My System

Default

Nearly completed a test version but i am very busy at the moment.
Was hardly a day at home the last days -> business trips
but having this on my todo list
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Old 2007-05-31, 09:26   #7 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

I know how that is. In fact, I'm on a business trip now in your country! I am in Erlangen
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-06-26, 16:14   #8 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

I was wandering around the Dish website yesterday and found their implementation of Parental Controls as well as the meanings of the ratings. Is this similar to your implementation? Also, any idea when you might be able to check in these changes?

Quote:
Restrict viewing of programs based on password protected locks:

1. Rating:
• Based on Motion Picture Association of America ratings
• Option to select additional protection based on expanded ratings such as violence, language,
nudity and sexual content

2. Specific Channels:
• Prevent anyone from viewing selected channels unless they enter the correct password
• Lock any channel, including movie channels, Pay-Per-View and local channels

Below are explanations for rating designations:

G - General Audience. All ages admitted. This signifies that the film rated contains nothing most parents
will consider offensive for even their youngest children to see or hear. Nudity, sex scenes and scenes
of drug use are absent; violence is minimal; snippets of dialogue may go beyond polite conversation but
do not go beyond common everyday expressions. All additional ratings are locked out: V, L, N and SC.

PG - Parental Guidance Suggested. Some material may not be suitable for children. This signifies that the film
rated may contain some material parents might not like to expose to their young children - material that
will clearly need to be examined or inquired about before children are allowed to view the film. Explicit
sex scenes and scenes of drug use are absent; nudity, if present, is seen only briefly, horror and violence
do not exceed moderate levels. V and L are allowed but N and SC are still locked out.

PG-13 - Parents Strongly Cautioned. Some material may be inappropriate for children under 13. This signifies that
the film rated may be inappropriate for pre-teens. Parents should be especially careful about letting
their younger children view the film. Rough or persistent violence is absent; sexually-oriented nudity
is generally absent; some scenes of drug use may be seen; use of harsher sexually derived words may be
heard. V, L and N are open, but SC is still locked out.

R – Restricted. Under 17 Requires Accompanying Parent Or Adult Guardian. In the opinion of the Rating Board,
this film definitely contains some adult material. Parents are strongly urged to find out more about this
film before they allow their children to accompany them.An R-rated film may include hard language, violence,
nudity within sensual scenes, drug abuse or other elements, or a combination of some of the above, so that
parents are counseled, in advance, to take this advisory rating very seriously. Parents must find out more
about an R-rated movie before they allow their teenagers to view it.

We also use additional ratings of:
V - For Violence, L - For Language, N - For Nudity, SC - For Sexual Content, NR/AO - For Not Rated and Adult Oriented.
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-07-14, 21:45   #9 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

I see changes are going in now. Any chance of your work on this topic getting in soon?

Thanks.
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-09-05, 12:57   #10 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,202
Thanks: 20
Thanked 172 Times in 90 Posts

Country:

My System

Default

Hi,
i just added grabbing/storing the parental rating from DVB-EPG to database.
At the moment this only works for "standard" parental rating descriptors as specified in the DVB standard.
e.g. Premiere World uses this descriptor in Germany.
I added grabbing the special Dish/BEV parental rating and star rating but as a test this functionality (grabbing parental/star rating for Dish/BEV) is currently only included in the attached TsWriter.
For those who want to try:
- Download the latest TVE3 snapshot. At least rev. 15761 !!!
- Replace the TsWriter.ax (no need to re-register the filter) and start grabbing the epg
Currently there are only additional log entries in TsWriter.log like
"epg: star rating: *+ parental rating: NC-17

@CodeMonkey:
Perhaps you want to give it a try?
BTW Thanks for the DISH 9-day guide patch. I got it from ASiDiE
Attached Files
File Type: zip TsWriter.zip (175.2 KB, 1 views)
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600

Last edited by gemx; 2007-09-05 at 13:09.
gemx is online now   Reply With Quote
This User Say Thank You:
Reply

Bookmarks

Tags
parental, ratings

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parental control VdR Improvement Suggestions 0 2006-11-13 17:40
Movie DB ratings and parental control. kpugsley Improvement Suggestions 0 2006-07-04 19:24
Parental control dpopovic General Support 0 2005-10-30 09:24
Song ratings, and having them influence random play? staverton General Development (no feature request here!) 2 2005-02-01 10:29


All times are GMT +1. The time now is 10:54.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress