Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow old "xN"-format star ratings to work. Reported by James Sutherl…

…and.
  • Loading branch information...
commit 94fd738d444f985d8fc31c17448021c8b91a6067 1 parent 0ab7e2e
@wmcbrine wmcbrine authored committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  metadata.py
View
3  metadata.py
@@ -32,7 +32,8 @@
'P2': 2, 'P3': 3, 'R4': 4, 'X5': 5, 'N6': 6, 'N8': 8}
STAR_RATINGS = {'1': 1, '1.5': 2, '2': 3, '2.5': 4, '3': 5, '3.5': 6,
- '4': 7, '*': 1, '**': 3, '***': 5, '****': 7}
+ '4': 7, '*': 1, '**': 3, '***': 5, '****': 7, 'X1': 1,
+ 'X2': 2, 'X3': 3, 'X4': 4, 'X5': 5, 'X6': 6, 'X7': 7}
HUMAN = {'mpaaRating': {1: 'G', 2: 'PG', 3: 'PG-13', 4: 'R', 5: 'X',
6: 'NC-17', 8: 'NR'},
Please sign in to comment.
Something went wrong with that request. Please try again.