{"action":"created","issue":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/458","labels_url":"https://api.github.com/repos/Diaoul/subliminal/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/Diaoul/subliminal/issues/458/comments","events_url":"https://api.github.com/repos/Diaoul/subliminal/issues/458/events","html_url":"https://github.com/Diaoul/subliminal/issues/458","id":93272094,"number":458,"title":"Use click for CLI","user":{"login":"Diaoul","id":319220,"avatar_url":"https://avatars.githubusercontent.com/u/319220?v=3","gravatar_id":"","url":"https://api.github.com/users/Diaoul","html_url":"https://github.com/Diaoul","followers_url":"https://api.github.com/users/Diaoul/followers","following_url":"https://api.github.com/users/Diaoul/following{/other_user}","gists_url":"https://api.github.com/users/Diaoul/gists{/gist_id}","starred_url":"https://api.github.com/users/Diaoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diaoul/subscriptions","organizations_url":"https://api.github.com/users/Diaoul/orgs","repos_url":"https://api.github.com/users/Diaoul/repos","events_url":"https://api.github.com/users/Diaoul/events{/privacy}","received_events_url":"https://api.github.com/users/Diaoul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Diaoul/subliminal/labels/enhancement","name":"enhancement","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Diaoul/subliminal/milestones/2","html_url":"https://github.com/Diaoul/subliminal/milestones/1.0","labels_url":"https://api.github.com/repos/Diaoul/subliminal/milestones/2/labels","id":1194737,"number":2,"title":"1.0","description":"","creator":{"login":"Diaoul","id":319220,"avatar_url":"https://avatars.githubusercontent.com/u/319220?v=3","gravatar_id":"","url":"https://api.github.com/users/Diaoul","html_url":"https://github.com/Diaoul","followers_url":"https://api.github.com/users/Diaoul/followers","following_url":"https://api.github.com/users/Diaoul/following{/other_user}","gists_url":"https://api.github.com/users/Diaoul/gists{/gist_id}","starred_url":"https://api.github.com/users/Diaoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diaoul/subscriptions","organizations_url":"https://api.github.com/users/Diaoul/orgs","repos_url":"https://api.github.com/users/Diaoul/repos","events_url":"https://api.github.com/users/Diaoul/events{/privacy}","received_events_url":"https://api.github.com/users/Diaoul/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-07-06T12:54:51Z","updated_at":"2015-07-13T13:15:28Z","due_on":"2015-07-11T22:00:00Z","closed_at":null},"comments":22,"created_at":"2015-07-06T12:54:30Z","updated_at":"2015-07-13T15:42:32Z","closed_at":null,"body":"http://click.pocoo.org/4/"},"comment":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/comments/120972754","html_url":"https://github.com/Diaoul/subliminal/issues/458#issuecomment-120972754","issue_url":"https://api.github.com/repos/Diaoul/subliminal/issues/458","id":120972754,"user":{"login":"Diaoul","id":319220,"avatar_url":"https://avatars.githubusercontent.com/u/319220?v=3","gravatar_id":"","url":"https://api.github.com/users/Diaoul","html_url":"https://github.com/Diaoul","followers_url":"https://api.github.com/users/Diaoul/followers","following_url":"https://api.github.com/users/Diaoul/following{/other_user}","gists_url":"https://api.github.com/users/Diaoul/gists{/gist_id}","starred_url":"https://api.github.com/users/Diaoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diaoul/subscriptions","organizations_url":"https://api.github.com/users/Diaoul/orgs","repos_url":"https://api.github.com/users/Diaoul/repos","events_url":"https://api.github.com/users/Diaoul/events{/privacy}","received_events_url":"https://api.github.com/users/Diaoul/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T15:42:32Z","updated_at":"2015-07-13T15:42:32Z","body":"I'll push my branch hopefully this evening (CEST) and you will see the changes I made and if that fits your need.\r\nI implemented the last 3, the first 2 can be implemented easily by adjusting the scores.\r\n\r\nThe idea of the scores is to provide powerful sorting of all sort of things including preferences. This is to avoid another sorting downstream. For example you might want `hearing_impaired` first but how bad? Would you prefer a subtitle with `release_group` but not `hearing_imaired` or a `hearing_impaired` subtitle? That's what scoring solves.\r\n\r\nScoring is not always just an ordering matter (hearing impaired > audio codec > video codec > release group > ... > hash), for example all other matches are equivalent to hash so providers that don't use hash can still get a reasonably high score."}}