{"action":"created","comment":{"url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments/167707934","pull_request_review_id":95966557,"id":167707934,"diff_hunk":"@@ -0,0 +1,145 @@\n+﻿using NLog;\n+using NzbDrone.Core.MediaFiles.MediaInfo;\n+using NzbDrone.Core.Parser.Model;\n+using NzbDrone.Core.Qualities;\n+using NzbDrone.Core.Tv;\n+\n+namespace NzbDrone.Core.MediaFiles.EpisodeImport.Augmenting.Augmenters\n+{\n+    public class AugmentQuality : IAugmentLocalEpisode","path":"src/NzbDrone.Core/MediaFiles/EpisodeImport/Augmenting/Augmenters/AugmentQuality.cs","position":null,"original_position":9,"commit_id":"92be786cb01c223598634220c267b062d176ae5a","original_commit_id":"7018c5981b0afba51fa41c4f9e849d9c69bc2a0e","user":{"login":"markus101","id":413544,"avatar_url":"https://avatars0.githubusercontent.com/u/413544?v=4","gravatar_id":"","url":"https://api.github.com/users/markus101","html_url":"https://github.com/markus101","followers_url":"https://api.github.com/users/markus101/followers","following_url":"https://api.github.com/users/markus101/following{/other_user}","gists_url":"https://api.github.com/users/markus101/gists{/gist_id}","starred_url":"https://api.github.com/users/markus101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus101/subscriptions","organizations_url":"https://api.github.com/users/markus101/orgs","repos_url":"https://api.github.com/users/markus101/repos","events_url":"https://api.github.com/users/markus101/events{/privacy}","received_events_url":"https://api.github.com/users/markus101/received_events","type":"User","site_admin":false},"body":"I thought `Analyze` was a bit out of place, I went with `IAggregateLocalEpisode` and split the augmentation \"gathers\" for quality out to their own classes. There is some `Confidence` added to the augmentation results to allow overriding of lower confidence results.","created_at":"2018-02-12T22:31:37Z","updated_at":"2018-02-12T22:31:37Z","html_url":"https://github.com/Sonarr/Sonarr/pull/2146#discussion_r167707934","pull_request_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments/167707934"},"html":{"href":"https://github.com/Sonarr/Sonarr/pull/2146#discussion_r167707934"},"pull_request":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146"}},"in_reply_to_id":160057706},"pull_request":{"url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146","id":137821444,"html_url":"https://github.com/Sonarr/Sonarr/pull/2146","diff_url":"https://github.com/Sonarr/Sonarr/pull/2146.diff","patch_url":"https://github.com/Sonarr/Sonarr/pull/2146.patch","issue_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/2146","number":2146,"state":"open","locked":false,"title":"Improve import process and quality detection","user":{"login":"markus101","id":413544,"avatar_url":"https://avatars0.githubusercontent.com/u/413544?v=4","gravatar_id":"","url":"https://api.github.com/users/markus101","html_url":"https://github.com/markus101","followers_url":"https://api.github.com/users/markus101/followers","following_url":"https://api.github.com/users/markus101/following{/other_user}","gists_url":"https://api.github.com/users/markus101/gists{/gist_id}","starred_url":"https://api.github.com/users/markus101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus101/subscriptions","organizations_url":"https://api.github.com/users/markus101/orgs","repos_url":"https://api.github.com/users/markus101/repos","events_url":"https://api.github.com/users/markus101/events{/privacy}","received_events_url":"https://api.github.com/users/markus101/received_events","type":"User","site_admin":false},"body":"#### Database Migration\r\nNO\r\n\r\n#### Description\r\nRemoves some of the growth that was added to `ImportDecisionMaker` over the years and allows the quality to use the width from MediaInfo to manipulate the detected quality. `ParsingService` could still use some cleanup, but I wanted to keep this smaller, I left it intact.\r\n\r\n#### Todos\r\n- [x] Tests\r\n\r\n\r\n#### Issues Fixed or Closed by this PR\r\n\r\n* #448\r\n* #1105","created_at":"2017-08-27T05:01:57Z","updated_at":"2018-02-12T22:31:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2763c01ca620775e1ff232e125baaada2f3f0b09","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Taloth","id":6383890,"avatar_url":"https://avatars3.githubusercontent.com/u/6383890?v=4","gravatar_id":"","url":"https://api.github.com/users/Taloth","html_url":"https://github.com/Taloth","followers_url":"https://api.github.com/users/Taloth/followers","following_url":"https://api.github.com/users/Taloth/following{/other_user}","gists_url":"https://api.github.com/users/Taloth/gists{/gist_id}","starred_url":"https://api.github.com/users/Taloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taloth/subscriptions","organizations_url":"https://api.github.com/users/Taloth/orgs","repos_url":"https://api.github.com/users/Taloth/repos","events_url":"https://api.github.com/users/Taloth/events{/privacy}","received_events_url":"https://api.github.com/users/Taloth/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146/commits","review_comments_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146/comments","review_comment_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/2146/comments","statuses_url":"https://api.github.com/repos/Sonarr/Sonarr/statuses/92be786cb01c223598634220c267b062d176ae5a","head":{"label":"Sonarr:quality-from-media-info-resolution","ref":"quality-from-media-info-resolution","sha":"92be786cb01c223598634220c267b062d176ae5a","user":{"login":"Sonarr","id":1082903,"avatar_url":"https://avatars1.githubusercontent.com/u/1082903?v=4","gravatar_id":"","url":"https://api.github.com/users/Sonarr","html_url":"https://github.com/Sonarr","followers_url":"https://api.github.com/users/Sonarr/followers","following_url":"https://api.github.com/users/Sonarr/following{/other_user}","gists_url":"https://api.github.com/users/Sonarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonarr/subscriptions","organizations_url":"https://api.github.com/users/Sonarr/orgs","repos_url":"https://api.github.com/users/Sonarr/repos","events_url":"https://api.github.com/users/Sonarr/events{/privacy}","received_events_url":"https://api.github.com/users/Sonarr/received_events","type":"Organization","site_admin":false},"repo":{"id":2465723,"name":"Sonarr","full_name":"Sonarr/Sonarr","owner":{"login":"Sonarr","id":1082903,"avatar_url":"https://avatars1.githubusercontent.com/u/1082903?v=4","gravatar_id":"","url":"https://api.github.com/users/Sonarr","html_url":"https://github.com/Sonarr","followers_url":"https://api.github.com/users/Sonarr/followers","following_url":"https://api.github.com/users/Sonarr/following{/other_user}","gists_url":"https://api.github.com/users/Sonarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonarr/subscriptions","organizations_url":"https://api.github.com/users/Sonarr/orgs","repos_url":"https://api.github.com/users/Sonarr/repos","events_url":"https://api.github.com/users/Sonarr/events{/privacy}","received_events_url":"https://api.github.com/users/Sonarr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sonarr/Sonarr","description":"Smart PVR for newsgroup and bittorrent users.","fork":false,"url":"https://api.github.com/repos/Sonarr/Sonarr","forks_url":"https://api.github.com/repos/Sonarr/Sonarr/forks","keys_url":"https://api.github.com/repos/Sonarr/Sonarr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sonarr/Sonarr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sonarr/Sonarr/teams","hooks_url":"https://api.github.com/repos/Sonarr/Sonarr/hooks","issue_events_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/events{/number}","events_url":"https://api.github.com/repos/Sonarr/Sonarr/events","assignees_url":"https://api.github.com/repos/Sonarr/Sonarr/assignees{/user}","branches_url":"https://api.github.com/repos/Sonarr/Sonarr/branches{/branch}","tags_url":"https://api.github.com/repos/Sonarr/Sonarr/tags","blobs_url":"https://api.github.com/repos/Sonarr/Sonarr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sonarr/Sonarr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sonarr/Sonarr/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sonarr/Sonarr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sonarr/Sonarr/statuses/{sha}","languages_url":"https://api.github.com/repos/Sonarr/Sonarr/languages","stargazers_url":"https://api.github.com/repos/Sonarr/Sonarr/stargazers","contributors_url":"https://api.github.com/repos/Sonarr/Sonarr/contributors","subscribers_url":"https://api.github.com/repos/Sonarr/Sonarr/subscribers","subscription_url":"https://api.github.com/repos/Sonarr/Sonarr/subscription","commits_url":"https://api.github.com/repos/Sonarr/Sonarr/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sonarr/Sonarr/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sonarr/Sonarr/contents/{+path}","compare_url":"https://api.github.com/repos/Sonarr/Sonarr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sonarr/Sonarr/merges","archive_url":"https://api.github.com/repos/Sonarr/Sonarr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sonarr/Sonarr/downloads","issues_url":"https://api.github.com/repos/Sonarr/Sonarr/issues{/number}","pulls_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls{/number}","milestones_url":"https://api.github.com/repos/Sonarr/Sonarr/milestones{/number}","notifications_url":"https://api.github.com/repos/Sonarr/Sonarr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sonarr/Sonarr/labels{/name}","releases_url":"https://api.github.com/repos/Sonarr/Sonarr/releases{/id}","deployments_url":"https://api.github.com/repos/Sonarr/Sonarr/deployments","created_at":"2011-09-27T05:57:16Z","updated_at":"2018-02-12T01:01:32Z","pushed_at":"2018-02-12T22:29:01Z","git_url":"git://github.com/Sonarr/Sonarr.git","ssh_url":"git@github.com:Sonarr/Sonarr.git","clone_url":"https://github.com/Sonarr/Sonarr.git","svn_url":"https://github.com/Sonarr/Sonarr","homepage":"https://sonarr.tv","size":244953,"stargazers_count":3093,"watchers_count":3093,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":560,"mirror_url":null,"archived":false,"open_issues_count":312,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":560,"open_issues":312,"watchers":3093,"default_branch":"develop"}},"base":{"label":"Sonarr:develop","ref":"develop","sha":"9e7f0c859f91332e9377a0ea279d4385cc6d0a53","user":{"login":"Sonarr","id":1082903,"avatar_url":"https://avatars1.githubusercontent.com/u/1082903?v=4","gravatar_id":"","url":"https://api.github.com/users/Sonarr","html_url":"https://github.com/Sonarr","followers_url":"https://api.github.com/users/Sonarr/followers","following_url":"https://api.github.com/users/Sonarr/following{/other_user}","gists_url":"https://api.github.com/users/Sonarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonarr/subscriptions","organizations_url":"https://api.github.com/users/Sonarr/orgs","repos_url":"https://api.github.com/users/Sonarr/repos","events_url":"https://api.github.com/users/Sonarr/events{/privacy}","received_events_url":"https://api.github.com/users/Sonarr/received_events","type":"Organization","site_admin":false},"repo":{"id":2465723,"name":"Sonarr","full_name":"Sonarr/Sonarr","owner":{"login":"Sonarr","id":1082903,"avatar_url":"https://avatars1.githubusercontent.com/u/1082903?v=4","gravatar_id":"","url":"https://api.github.com/users/Sonarr","html_url":"https://github.com/Sonarr","followers_url":"https://api.github.com/users/Sonarr/followers","following_url":"https://api.github.com/users/Sonarr/following{/other_user}","gists_url":"https://api.github.com/users/Sonarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonarr/subscriptions","organizations_url":"https://api.github.com/users/Sonarr/orgs","repos_url":"https://api.github.com/users/Sonarr/repos","events_url":"https://api.github.com/users/Sonarr/events{/privacy}","received_events_url":"https://api.github.com/users/Sonarr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sonarr/Sonarr","description":"Smart PVR for newsgroup and bittorrent users.","fork":false,"url":"https://api.github.com/repos/Sonarr/Sonarr","forks_url":"https://api.github.com/repos/Sonarr/Sonarr/forks","keys_url":"https://api.github.com/repos/Sonarr/Sonarr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sonarr/Sonarr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sonarr/Sonarr/teams","hooks_url":"https://api.github.com/repos/Sonarr/Sonarr/hooks","issue_events_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/events{/number}","events_url":"https://api.github.com/repos/Sonarr/Sonarr/events","assignees_url":"https://api.github.com/repos/Sonarr/Sonarr/assignees{/user}","branches_url":"https://api.github.com/repos/Sonarr/Sonarr/branches{/branch}","tags_url":"https://api.github.com/repos/Sonarr/Sonarr/tags","blobs_url":"https://api.github.com/repos/Sonarr/Sonarr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sonarr/Sonarr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sonarr/Sonarr/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sonarr/Sonarr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sonarr/Sonarr/statuses/{sha}","languages_url":"https://api.github.com/repos/Sonarr/Sonarr/languages","stargazers_url":"https://api.github.com/repos/Sonarr/Sonarr/stargazers","contributors_url":"https://api.github.com/repos/Sonarr/Sonarr/contributors","subscribers_url":"https://api.github.com/repos/Sonarr/Sonarr/subscribers","subscription_url":"https://api.github.com/repos/Sonarr/Sonarr/subscription","commits_url":"https://api.github.com/repos/Sonarr/Sonarr/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sonarr/Sonarr/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sonarr/Sonarr/contents/{+path}","compare_url":"https://api.github.com/repos/Sonarr/Sonarr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sonarr/Sonarr/merges","archive_url":"https://api.github.com/repos/Sonarr/Sonarr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sonarr/Sonarr/downloads","issues_url":"https://api.github.com/repos/Sonarr/Sonarr/issues{/number}","pulls_url":"https://api.github.com/repos/Sonarr/Sonarr/pulls{/number}","milestones_url":"https://api.github.com/repos/Sonarr/Sonarr/milestones{/number}","notifications_url":"https://api.github.com/repos/Sonarr/Sonarr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sonarr/Sonarr/labels{/name}","releases_url":"https://api.github.com/repos/Sonarr/Sonarr/releases{/id}","deployments_url":"https://api.github.com/repos/Sonarr/Sonarr/deployments","created_at":"2011-09-27T05:57:16Z","updated_at":"2018-02-12T01:01:32Z","pushed_at":"2018-02-12T22:29:01Z","git_url":"git://github.com/Sonarr/Sonarr.git","ssh_url":"git@github.com:Sonarr/Sonarr.git","clone_url":"https://github.com/Sonarr/Sonarr.git","svn_url":"https://github.com/Sonarr/Sonarr","homepage":"https://sonarr.tv","size":244953,"stargazers_count":3093,"watchers_count":3093,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":560,"mirror_url":null,"archived":false,"open_issues_count":312,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":560,"open_issues":312,"watchers":3093,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146"},"html":{"href":"https://github.com/Sonarr/Sonarr/pull/2146"},"issue":{"href":"https://api.github.com/repos/Sonarr/Sonarr/issues/2146"},"comments":{"href":"https://api.github.com/repos/Sonarr/Sonarr/issues/2146/comments"},"review_comments":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146/comments"},"review_comment":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sonarr/Sonarr/pulls/2146/commits"},"statuses":{"href":"https://api.github.com/repos/Sonarr/Sonarr/statuses/92be786cb01c223598634220c267b062d176ae5a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"markus101"}}