movie.py: accept uppercase extensions

This commit is contained in:
rolux 2012-08-16 02:57:46 +02:00
parent 92f53b2346
commit 7d9c389606

View file

@ -115,7 +115,7 @@ def parse_path(path):
data['language'], parts.pop(0)
)
# extension
data['extension'] = parts.pop()
data['extension'] = parts.pop().lower()
# type
data['type'] = parse_type(data['extension'])
if data['type'] == 'subtitle' and not data['language']: