{"action":"opened","issue":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/678","repository_url":"https://api.github.com/repos/Diaoul/subliminal","labels_url":"https://api.github.com/repos/Diaoul/subliminal/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/Diaoul/subliminal/issues/678/comments","events_url":"https://api.github.com/repos/Diaoul/subliminal/issues/678/events","html_url":"https://github.com/Diaoul/subliminal/issues/678","id":167796366,"number":678,"title":"Season match inconsistency","user":{"login":"ratoaq2","id":9292886,"avatar_url":"https://avatars.githubusercontent.com/u/9292886?v=3","gravatar_id":"","url":"https://api.github.com/users/ratoaq2","html_url":"https://github.com/ratoaq2","followers_url":"https://api.github.com/users/ratoaq2/followers","following_url":"https://api.github.com/users/ratoaq2/following{/other_user}","gists_url":"https://api.github.com/users/ratoaq2/gists{/gist_id}","starred_url":"https://api.github.com/users/ratoaq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratoaq2/subscriptions","organizations_url":"https://api.github.com/users/ratoaq2/orgs","repos_url":"https://api.github.com/users/ratoaq2/repos","events_url":"https://api.github.com/users/ratoaq2/events{/privacy}","received_events_url":"https://api.github.com/users/ratoaq2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T08:13:55Z","updated_at":"2016-07-27T08:13:55Z","closed_at":null,"body":"For the latest version: 2.0.3\r\n\r\nThere's a season match inconsistency when release names have no season (I'll provide real examples later today). \r\n\r\nGiven a video file as bellow:\r\n`Show.Name.E05.720p.x264.mkv`\r\n\r\nThe created video object will have season 1, since guessit will not return season, but this [code](https://github.com/Diaoul/subliminal/blob/master/subliminal/video.py#L168) will default it to 1.\r\n\r\nThen when the subtitles (e.g.: `Show.Name.E05.720p.x264,srt`) are found (by any provider), some/most of them will use guessit to retrieve all the release information and this [code](https://github.com/Diaoul/subliminal/blob/master/subliminal/subtitle.py#L207) will prevent a season match, since `video.season == 1` but `'season' is not in guess`\r\n\r\nEither the season shouldn't be defaulted to 1 in the video or the compute score should follow the same logic.\r\n\r\n"}}
{"actor":{"display_login":"ratoaq2"}}