{"action":"closed","issue":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/896","repository_url":"https://api.github.com/repos/Diaoul/subliminal","labels_url":"https://api.github.com/repos/Diaoul/subliminal/issues/896/labels{/name}","comments_url":"https://api.github.com/repos/Diaoul/subliminal/issues/896/comments","events_url":"https://api.github.com/repos/Diaoul/subliminal/issues/896/events","html_url":"https://github.com/Diaoul/subliminal/issues/896","id":306157766,"number":896,"title":"Error with file extensions in capital characters","user":{"login":"tigre-bleu","id":1867719,"avatar_url":"https://avatars2.githubusercontent.com/u/1867719?v=4","gravatar_id":"","url":"https://api.github.com/users/tigre-bleu","html_url":"https://github.com/tigre-bleu","followers_url":"https://api.github.com/users/tigre-bleu/followers","following_url":"https://api.github.com/users/tigre-bleu/following{/other_user}","gists_url":"https://api.github.com/users/tigre-bleu/gists{/gist_id}","starred_url":"https://api.github.com/users/tigre-bleu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigre-bleu/subscriptions","organizations_url":"https://api.github.com/users/tigre-bleu/orgs","repos_url":"https://api.github.com/users/tigre-bleu/repos","events_url":"https://api.github.com/users/tigre-bleu/events{/privacy}","received_events_url":"https://api.github.com/users/tigre-bleu/received_events","type":"User","site_admin":false},"labels":[{"id":64041189,"url":"https://api.github.com/repos/Diaoul/subliminal/labels/status/duplicate","name":"status/duplicate","color":"aaaaaa","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-17T13:46:56Z","updated_at":"2018-03-17T13:48:21Z","closed_at":"2018-03-17T13:48:21Z","author_association":"NONE","body":"I use subliminal as part of [Bazaar](https://github.com/morpheus65535/bazarr)\r\n\r\nUnfortunately, it does not work with files that have a capital extension. For instance it works for test.mkv but not for test.MKV\r\n\r\n```\r\n# subliminal --debug download -l en /tmp/Test.MKV \r\nCollecting videos  [####################################]  100%  /tmp/Test.MKVDEBUG:subliminal.cli:Collecting path /tmp/Test.MKV\r\nERROR:subliminal.cli:Unexpected error while collecting path /tmp/Test.MKV\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/subliminal/cli.py\", line 352, in download\r\n    video = scan_video(p)\r\n  File \"/usr/local/lib/python2.7/dist-packages/subliminal/core.py\", line 374, in scan_video\r\n    raise ValueError('%r is not a valid video extension' % os.path.splitext(path)[1])\r\nValueError: '.MKV' is not a valid video extension\r\nCollecting videos  [####################################]  100%               \r\n0 video collected / 0 video ignored / 1 error\r\n```\r\n"}}
{"actor":{"display_login":"fernandog"}}