movie.py: accept uppercase extensions
This commit is contained in:
parent
92f53b2346
commit
7d9c389606
1 changed files with 1 additions and 1 deletions
|
@ -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']:
|
||||
|
|
Loading…
Reference in a new issue