SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Batch Metadata Tools
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-14-2011, 03:30 AM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
MPAA Rating Issue

Hi,

Just trying out BMT for the first time (previously just used IMDB plugin).

Some of my files were missing parental ratings so I used the web interace to re-scan my videos and asked it to update all files but unfortunately this seems to have set nearly all my parental ratings to "NR"

How can I get it to set them correctly? If I choose a single film I can click Find Metadata.. I then choose IMDB as the source (note I have to keep choosing this it doesn't seem to remember the setting), hit search, choose the one I want and I can see the correct parental rating has been pulled back, eg 12A. I then hit save but it resets the parenal rating to NR ?! Can you explain how this should work?

Thanks!


edit: looking at the properties file created it seems to have 2 "Rated=" entries, is that the issue?, eg:-

Director=

Director=Michael Bay

Genre=Sci-Fi/Thriller

Genre=Thriller

Genre=

Genre=Action

Genre=Action/Sci-Fi

Genre=Action/Sci-Fi/Thriller

OriginalAirDate=1123801200000

Rated=12A

RunningTime=8160000

Writer=Alex Kurtzman

Writer=

Writer=Caspian Tredwell-Owen

Writer=Caspian Tredwell-Owen;Alex Kurtzman

Year=2005

Rated=NR

ScrapedBy=Phoenix

ScrapedDate=1310640277703
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners

Last edited by starfire; 07-14-2011 at 04:47 AM.
Reply With Quote
  #2  
Old 07-14-2011, 05:50 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
BMT is configured to know about the ratings that is familiar with SageTV. 12A (as far as I know is not one of those ratings). When bmt encounters a rating that it does not know about, then it discards it and uses a default rating.
Reply With Quote
  #3  
Old 07-14-2011, 07:01 AM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
I am in the UK, the film above was "The Island".

12A is valid BBFC rating in the UK, see http://www.bbfc.co.uk/, so I guess this is what it gets when BMT queries IMDB ?

How can I force BMT to fill in the MPAA rating (I see on imdb.com it's PG-13) instead of BBFC then?

Thanks.
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners
Reply With Quote
  #4  
Old 07-14-2011, 01:00 PM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
Using this URL it gets the MPAA rating (PG-13):

http://www.imdbapi.com/?i=&t=the+island

So I think the issue is down to me being based in the UK and the BMT call to IMDB resulting in BBFC ratings being returned as IMDB detected I'm in the UK?

Any way around this please?
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners
Reply With Quote
  #5  
Old 07-14-2011, 05:25 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
BMT/Phoenix uses a ratings.properties file to map the ratings to a common set of ratings that SageTV knows about.

The current file looks like this..
Code:
# SageTV MPAA Ratings
G=G
PG=PG
PG-13=PG-13
R=R
NC-17=NC-17
AO=AO
NR=NR

# Custom MPAA Ratings
# Custom Rating = SageTV Rating
PG13=PG-13
PG\ 13=PG-13
NC17=NC-17
NC\ 17=NC-17

# default MPAA Rating
default/Movie=NR

# SageTV Parental Ratings
TVY=TVY
TVY7=TVY7
TVG=TVG
TVPG=TVPG
TV14=TV14
TVM=TVM

# Custom TV Ratings
# Custom Rating = SageTV Rating
TV-Y=TVY
TV\ Y=TVY
TV-Y7=TV7
TV\ Y7=TV7
TV-G=TVG
TV\ G=TVG
TV-PG=TVPG
TV\ PG=TVPG
TV-14=TV14
TV\ 14=TV14
TV-M=TVM
TV\ M=TVM
TVMA=TVM
TV-MA=TVM
TV\ MA=TVM

# default TV Rating
default/TV=TVM
If you created a file in SAGE_HOME/userdata/Phoenix/metadata/ratings.properties then you could map 12A to PG-13 (close enough) by adding this line

Code:
12A=PG-13
Or, if you'd rather, you can add 12A a valid rating to the file by adding a line like..
Code:
12A=12A
Note, you don't need to copy the existing property entries, just create a new file and add your custom entries to it.

For these changes to be picked up, you might need to restart the sagetv server process
Reply With Quote
  #6  
Old 07-15-2011, 02:37 AM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
Brilliant, thanks very much for your help!
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password protect folders, or MPAA rating? CANightHawk SageTV v7 Customizations 8 06-09-2010 12:27 PM
MPAA DVR Blocking Initiative SprDtyF350 General Discussion 21 11-30-2008 08:41 PM
Videos Organized by MPAA Rating, Then Genre osburnfamily SageMC Custom Interface 0 08-31-2008 01:26 PM
MPAA taps FCC to change rules TBacker General Discussion 9 06-17-2008 03:47 PM
MPAA Ratings on EPG scoful SageTV Customizations 0 07-31-2007 06:34 AM


All times are GMT -6. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.