[mythtv] MythTV parental rating in DB schema

Menny Even Danan mennyed at gmail.com
Mon Nov 9 08:58:22 UTC 2009

I'm trying to understand the parental level use in MythTV so my metadata
script (http://code.google.com/p/fill-mythvideo-metadata/) will also add the
required meta data for this too.

Does anyone know how MythTV stores this information?
In the 'videometadata' table there are three columns:
showlevel (int)
rating (string)
childid (int)

My guess is that showlevel is mapped to the rating:
1 == G
2 == PG
3 == R
4 == NR

If so, why do I need the "rating" column? and what is "childid"?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20091109/02a4631e/attachment.htm>

More information about the mythtv-dev mailing list