[pbs] Add support for video ratings

This commit is contained in:
Philipp Hagemeister 2014-03-21 00:59:51 +01:00
parent cb9722cb3f
commit a1a530b067
3 changed files with 20 additions and 8 deletions

View file

@ -1289,3 +1289,12 @@ if sys.version_info < (3, 0) and sys.platform == 'win32':
return getpass.getpass(prompt, *args, **kwargs)
else:
compat_getpass = getpass.getpass
US_RATINGS = {
'G': 0,
'PG': 10,
'PG-13': 13,
'R': 16,
'NC': 18,
}