{"action":"closed","number":1183,"pull_request":{"url":"https://api.github.com/repos/sampsyo/beets/pulls/1183","id":26629913,"html_url":"https://github.com/sampsyo/beets/pull/1183","diff_url":"https://github.com/sampsyo/beets/pull/1183.diff","patch_url":"https://github.com/sampsyo/beets/pull/1183.patch","issue_url":"https://api.github.com/repos/sampsyo/beets/issues/1183","number":1183,"state":"closed","locked":false,"title":"Refactor ftintitle","user":{"login":"marcaddeo","id":199649,"avatar_url":"https://avatars.githubusercontent.com/u/199649?v=3","gravatar_id":"","url":"https://api.github.com/users/marcaddeo","html_url":"https://github.com/marcaddeo","followers_url":"https://api.github.com/users/marcaddeo/followers","following_url":"https://api.github.com/users/marcaddeo/following{/other_user}","gists_url":"https://api.github.com/users/marcaddeo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcaddeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcaddeo/subscriptions","organizations_url":"https://api.github.com/users/marcaddeo/orgs","repos_url":"https://api.github.com/users/marcaddeo/repos","events_url":"https://api.github.com/users/marcaddeo/events{/privacy}","received_events_url":"https://api.github.com/users/marcaddeo/received_events","type":"User","site_admin":false},"body":"Refactor the `ftintitle` plugin to move the extraction of the featured artist from the artist string into it's own function so that it can be tested.\r\n\r\nThis also fixes a bug that was in the original code that extracted the featured artist that would cause it to fail if the album artist was on the right side and the featured artist on the left side in the artist field. Also adds test cases to avoid this bug resurfacing.","created_at":"2014-12-29T01:27:58Z","updated_at":"2015-01-31T20:53:17Z","closed_at":"2015-01-31T20:53:17Z","merged_at":"2015-01-31T20:53:17Z","merge_commit_sha":"a7782dd74327f52526e8a6e492163aecaa1482e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sampsyo/beets/pulls/1183/commits","review_comments_url":"https://api.github.com/repos/sampsyo/beets/pulls/1183/comments","review_comment_url":"https://api.github.com/repos/sampsyo/beets/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sampsyo/beets/issues/1183/comments","statuses_url":"https://api.github.com/repos/sampsyo/beets/statuses/8cd3d0059fe7fbe655c346cd801d9fe3acbd1612","head":{"label":"marcaddeo:refactor-ftintitle","ref":"refactor-ftintitle","sha":"8cd3d0059fe7fbe655c346cd801d9fe3acbd1612","user":{"login":"marcaddeo","id":199649,"avatar_url":"https://avatars.githubusercontent.com/u/199649?v=3","gravatar_id":"","url":"https://api.github.com/users/marcaddeo","html_url":"https://github.com/marcaddeo","followers_url":"https://api.github.com/users/marcaddeo/followers","following_url":"https://api.github.com/users/marcaddeo/following{/other_user}","gists_url":"https://api.github.com/users/marcaddeo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcaddeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcaddeo/subscriptions","organizations_url":"https://api.github.com/users/marcaddeo/orgs","repos_url":"https://api.github.com/users/marcaddeo/repos","events_url":"https://api.github.com/users/marcaddeo/events{/privacy}","received_events_url":"https://api.github.com/users/marcaddeo/received_events","type":"User","site_admin":false},"repo":{"id":28573375,"name":"beets","full_name":"marcaddeo/beets","owner":{"login":"marcaddeo","id":199649,"avatar_url":"https://avatars.githubusercontent.com/u/199649?v=3","gravatar_id":"","url":"https://api.github.com/users/marcaddeo","html_url":"https://github.com/marcaddeo","followers_url":"https://api.github.com/users/marcaddeo/followers","following_url":"https://api.github.com/users/marcaddeo/following{/other_user}","gists_url":"https://api.github.com/users/marcaddeo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcaddeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcaddeo/subscriptions","organizations_url":"https://api.github.com/users/marcaddeo/orgs","repos_url":"https://api.github.com/users/marcaddeo/repos","events_url":"https://api.github.com/users/marcaddeo/events{/privacy}","received_events_url":"https://api.github.com/users/marcaddeo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcaddeo/beets","description":"music library manager and MusicBrainz tagger","fork":true,"url":"https://api.github.com/repos/marcaddeo/beets","forks_url":"https://api.github.com/repos/marcaddeo/beets/forks","keys_url":"https://api.github.com/repos/marcaddeo/beets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcaddeo/beets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcaddeo/beets/teams","hooks_url":"https://api.github.com/repos/marcaddeo/beets/hooks","issue_events_url":"https://api.github.com/repos/marcaddeo/beets/issues/events{/number}","events_url":"https://api.github.com/repos/marcaddeo/beets/events","assignees_url":"https://api.github.com/repos/marcaddeo/beets/assignees{/user}","branches_url":"https://api.github.com/repos/marcaddeo/beets/branches{/branch}","tags_url":"https://api.github.com/repos/marcaddeo/beets/tags","blobs_url":"https://api.github.com/repos/marcaddeo/beets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcaddeo/beets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcaddeo/beets/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcaddeo/beets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcaddeo/beets/statuses/{sha}","languages_url":"https://api.github.com/repos/marcaddeo/beets/languages","stargazers_url":"https://api.github.com/repos/marcaddeo/beets/stargazers","contributors_url":"https://api.github.com/repos/marcaddeo/beets/contributors","subscribers_url":"https://api.github.com/repos/marcaddeo/beets/subscribers","subscription_url":"https://api.github.com/repos/marcaddeo/beets/subscription","commits_url":"https://api.github.com/repos/marcaddeo/beets/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcaddeo/beets/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcaddeo/beets/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcaddeo/beets/issues/comments/{number}","contents_url":"https://api.github.com/repos/marcaddeo/beets/contents/{+path}","compare_url":"https://api.github.com/repos/marcaddeo/beets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcaddeo/beets/merges","archive_url":"https://api.github.com/repos/marcaddeo/beets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcaddeo/beets/downloads","issues_url":"https://api.github.com/repos/marcaddeo/beets/issues{/number}","pulls_url":"https://api.github.com/repos/marcaddeo/beets/pulls{/number}","milestones_url":"https://api.github.com/repos/marcaddeo/beets/milestones{/number}","notifications_url":"https://api.github.com/repos/marcaddeo/beets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcaddeo/beets/labels{/name}","releases_url":"https://api.github.com/repos/marcaddeo/beets/releases{/id}","created_at":"2014-12-28T22:47:23Z","updated_at":"2014-12-28T22:47:24Z","pushed_at":"2014-12-29T16:10:51Z","git_url":"git://github.com/marcaddeo/beets.git","ssh_url":"git@github.com:marcaddeo/beets.git","clone_url":"https://github.com/marcaddeo/beets.git","svn_url":"https://github.com/marcaddeo/beets","homepage":"http://beets.radbox.org/","size":13817,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sampsyo:master","ref":"master","sha":"50a9c2c7d8bd088e193320603366dd33d57b6a44","user":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"repo":{"id":827590,"name":"beets","full_name":"sampsyo/beets","owner":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sampsyo/beets","description":"music library manager and MusicBrainz tagger","fork":false,"url":"https://api.github.com/repos/sampsyo/beets","forks_url":"https://api.github.com/repos/sampsyo/beets/forks","keys_url":"https://api.github.com/repos/sampsyo/beets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sampsyo/beets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sampsyo/beets/teams","hooks_url":"https://api.github.com/repos/sampsyo/beets/hooks","issue_events_url":"https://api.github.com/repos/sampsyo/beets/issues/events{/number}","events_url":"https://api.github.com/repos/sampsyo/beets/events","assignees_url":"https://api.github.com/repos/sampsyo/beets/assignees{/user}","branches_url":"https://api.github.com/repos/sampsyo/beets/branches{/branch}","tags_url":"https://api.github.com/repos/sampsyo/beets/tags","blobs_url":"https://api.github.com/repos/sampsyo/beets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sampsyo/beets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sampsyo/beets/git/refs{/sha}","trees_url":"https://api.github.com/repos/sampsyo/beets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sampsyo/beets/statuses/{sha}","languages_url":"https://api.github.com/repos/sampsyo/beets/languages","stargazers_url":"https://api.github.com/repos/sampsyo/beets/stargazers","contributors_url":"https://api.github.com/repos/sampsyo/beets/contributors","subscribers_url":"https://api.github.com/repos/sampsyo/beets/subscribers","subscription_url":"https://api.github.com/repos/sampsyo/beets/subscription","commits_url":"https://api.github.com/repos/sampsyo/beets/commits{/sha}","git_commits_url":"https://api.github.com/repos/sampsyo/beets/git/commits{/sha}","comments_url":"https://api.github.com/repos/sampsyo/beets/comments{/number}","issue_comment_url":"https://api.github.com/repos/sampsyo/beets/issues/comments/{number}","contents_url":"https://api.github.com/repos/sampsyo/beets/contents/{+path}","compare_url":"https://api.github.com/repos/sampsyo/beets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sampsyo/beets/merges","archive_url":"https://api.github.com/repos/sampsyo/beets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sampsyo/beets/downloads","issues_url":"https://api.github.com/repos/sampsyo/beets/issues{/number}","pulls_url":"https://api.github.com/repos/sampsyo/beets/pulls{/number}","milestones_url":"https://api.github.com/repos/sampsyo/beets/milestones{/number}","notifications_url":"https://api.github.com/repos/sampsyo/beets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sampsyo/beets/labels{/name}","releases_url":"https://api.github.com/repos/sampsyo/beets/releases{/id}","created_at":"2010-08-09T23:17:20Z","updated_at":"2015-01-31T20:53:15Z","pushed_at":"2015-01-31T20:53:15Z","git_url":"git://github.com/sampsyo/beets.git","ssh_url":"git@github.com:sampsyo/beets.git","clone_url":"https://github.com/sampsyo/beets.git","svn_url":"https://github.com/sampsyo/beets","homepage":"http://beets.radbox.org/","size":23298,"stargazers_count":3633,"watchers_count":3633,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":553,"mirror_url":null,"open_issues_count":279,"forks":553,"open_issues":279,"watchers":3633,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/1183"},"html":{"href":"https://github.com/sampsyo/beets/pull/1183"},"issue":{"href":"https://api.github.com/repos/sampsyo/beets/issues/1183"},"comments":{"href":"https://api.github.com/repos/sampsyo/beets/issues/1183/comments"},"review_comments":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/1183/comments"},"review_comment":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/1183/commits"},"statuses":{"href":"https://api.github.com/repos/sampsyo/beets/statuses/8cd3d0059fe7fbe655c346cd801d9fe3acbd1612"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":5,"additions":88,"deletions":19,"changed_files":2}}