Difference between revisions of "Programrating table"

From MythTV Official Wiki
Jump to: navigation, search
m (title)
Line 2: Line 2:
 
The '''programrating table''' contains rating classifications and the classifying body for rated shows (usually movies) listed in the [[program table]]. Eg. in the UK, the rating body is the British Board of Film Classification ([http://www.bbfc.co.uk/ BBFC]) and the ratings that may be used are U, PG, 12, 12A, 15, 18 and R18.
 
The '''programrating table''' contains rating classifications and the classifying body for rated shows (usually movies) listed in the [[program table]]. Eg. in the UK, the rating body is the British Board of Film Classification ([http://www.bbfc.co.uk/ BBFC]) and the ratings that may be used are U, PG, 12, 12A, 15, 18 and R18.
  
== 0.20-fixes Version ==
+
== Table Description ==
 
+
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
{| cellpadding="4"
+
|- style="background: lightsteelblue"
|- bgcolor="#9999ff"
+
! Field name !! Type                 !! Null !! Key !! Default            !! Extras
!Field         !! Type             !! Null !! Key !! Default            !! Extra
+
|-
|- bgcolor="#cccccc"
 
 
|| chanid      || int(10) unsigned ||      || PRI || 0                  ||
 
|| chanid      || int(10) unsigned ||      || PRI || 0                  ||
|- bgcolor="#cccccc"
+
|-
 
|| starttime  || datetime        ||      || PRI || 0000-00-00 00:00:00 ||
 
|| starttime  || datetime        ||      || PRI || 0000-00-00 00:00:00 ||
|- bgcolor="#cccccc"
+
|-
 
|| system      || char(8)          ||      || PRI ||                    ||
 
|| system      || char(8)          ||      || PRI ||                    ||
|- bgcolor="#cccccc"
+
|-
 
|| rating      || char(8)          ||      || PRI ||                    ||
 
|| rating      || char(8)          ||      || PRI ||                    ||
 
|-
 
|-
 
|}
 
|}
 +
 +
== Fields ==
 +
*'''chanid''' along with '''starttime''' relate to unique entries in the [[program table]].
 +
*'''system''' is the rating system.
 +
**''MPAA'', ''VCHIP'', ''BBFC'', etc.
 +
*'''rating''' is the rating of the program.
 +
**''G'', ''NR'', ''PG'', ''PG-13'', ''R'', ''TV-14'', ''TV-G'', ''TV-MA'', ''TV-PG'', ''TV-Y'', ''TV-Y7'', ''U'', ''12'', ''12A'', ''15'', ''18'', etc.
  
 
[[Category:DB Table]]
 
[[Category:DB Table]]

Revision as of 02:45, 15 March 2007

Important.png Note: The correct title of this article is programrating table. It appears incorrectly here due to technical restrictions.

The programrating table contains rating classifications and the classifying body for rated shows (usually movies) listed in the program table. Eg. in the UK, the rating body is the British Board of Film Classification (BBFC) and the ratings that may be used are U, PG, 12, 12A, 15, 18 and R18.

Table Description

Field name Type Null Key Default Extras
chanid int(10) unsigned PRI 0
starttime datetime PRI 0000-00-00 00:00:00
system char(8) PRI
rating char(8) PRI

Fields

  • chanid along with starttime relate to unique entries in the program table.
  • system is the rating system.
    • MPAA, VCHIP, BBFC, etc.
  • rating is the rating of the program.
    • G, NR, PG, PG-13, R, TV-14, TV-G, TV-MA, TV-PG, TV-Y, TV-Y7, U, 12, 12A, 15, 18, etc.