{"action":"created","comment":{"url":"https://api.github.com/repos/musicbrainz/picard/pulls/comments/33888177","id":33888177,"diff_hunk":"@@ -17,23 +17,74 @@\n # along with this program; if not, write to the Free Software\n # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n \n+from picard import log, config\n from picard.plugin import ExtensionPoint\n+from picard.ui.options import OptionsPage, register_options_page\n \n \n _cover_art_providers = ExtensionPoint()\n \n \n+class ProviderOptions(OptionsPage):\n+\n+    \"\"\"\n+        Template class for provider's options","path":"picard/coverart/providers/__init__.py","position":null,"original_position":15,"commit_id":"53a864e6ade2750f73451a89babab3639a00bd7f","original_commit_id":"60558179af78cf6ce901050e88c4ed5997fd2f7b","user":{"login":"zas","id":151042,"avatar_url":"https://avatars.githubusercontent.com/u/151042?v=3","gravatar_id":"","url":"https://api.github.com/users/zas","html_url":"https://github.com/zas","followers_url":"https://api.github.com/users/zas/followers","following_url":"https://api.github.com/users/zas/following{/other_user}","gists_url":"https://api.github.com/users/zas/gists{/gist_id}","starred_url":"https://api.github.com/users/zas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zas/subscriptions","organizations_url":"https://api.github.com/users/zas/orgs","repos_url":"https://api.github.com/users/zas/repos","events_url":"https://api.github.com/users/zas/events{/privacy}","received_events_url":"https://api.github.com/users/zas/received_events","type":"User","site_admin":false},"body":"https://github.com/zas/picard/commit/94381dacee2ef8f1cd8ebe008d4d4cbbb1484fa1","created_at":"2015-07-04T15:18:59Z","updated_at":"2015-07-04T15:18:59Z","html_url":"https://github.com/musicbrainz/picard/pull/413#discussion_r33888177","pull_request_url":"https://api.github.com/repos/musicbrainz/picard/pulls/413","_links":{"self":{"href":"https://api.github.com/repos/musicbrainz/picard/pulls/comments/33888177"},"html":{"href":"https://github.com/musicbrainz/picard/pull/413#discussion_r33888177"},"pull_request":{"href":"https://api.github.com/repos/musicbrainz/picard/pulls/413"}}},"pull_request":{"url":"https://api.github.com/repos/musicbrainz/picard/pulls/413","id":39188008,"html_url":"https://github.com/musicbrainz/picard/pull/413","diff_url":"https://github.com/musicbrainz/picard/pull/413.diff","patch_url":"https://github.com/musicbrainz/picard/pull/413.patch","issue_url":"https://api.github.com/repos/musicbrainz/picard/issues/413","number":413,"state":"open","locked":false,"title":"Revamp cover art providers UI (new version)","user":{"login":"zas","id":151042,"avatar_url":"https://avatars.githubusercontent.com/u/151042?v=3","gravatar_id":"","url":"https://api.github.com/users/zas","html_url":"https://github.com/zas","followers_url":"https://api.github.com/users/zas/followers","following_url":"https://api.github.com/users/zas/following{/other_user}","gists_url":"https://api.github.com/users/zas/gists{/gist_id}","starred_url":"https://api.github.com/users/zas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zas/subscriptions","organizations_url":"https://api.github.com/users/zas/orgs","repos_url":"https://api.github.com/users/zas/repos","events_url":"https://api.github.com/users/zas/events{/privacy}","received_events_url":"https://api.github.com/users/zas/received_events","type":"User","site_admin":false},"body":"- make cover art providers more modular\r\n- providers can be re-ordered to change provider's excution order\r\n- support for provider-specific options, displayed as sub-pages of the main cover art options page\r\n- clean up the API\r\n\r\n![capture du 2015-07-03 18 47 21](https://cloud.githubusercontent.com/assets/151042/8502681/01af3026-21b4-11e5-9b1e-ba0a36486afe.png)\r\n![capture du 2015-07-03 18 47 29](https://cloud.githubusercontent.com/assets/151042/8502682/01b09ee8-21b4-11e5-9c37-9c7617c69465.png)\r\n\r\n\r\n","created_at":"2015-07-03T16:48:35Z","updated_at":"2015-07-04T15:18:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"262a018e3975756202ba1e6ae0f06cae7325c8c3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/musicbrainz/picard/pulls/413/commits","review_comments_url":"https://api.github.com/repos/musicbrainz/picard/pulls/413/comments","review_comment_url":"https://api.github.com/repos/musicbrainz/picard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/musicbrainz/picard/issues/413/comments","statuses_url":"https://api.github.com/repos/musicbrainz/picard/statuses/53a864e6ade2750f73451a89babab3639a00bd7f","head":{"label":"zas:revamp_cover_providers_2","ref":"revamp_cover_providers_2","sha":"53a864e6ade2750f73451a89babab3639a00bd7f","user":{"login":"zas","id":151042,"avatar_url":"https://avatars.githubusercontent.com/u/151042?v=3","gravatar_id":"","url":"https://api.github.com/users/zas","html_url":"https://github.com/zas","followers_url":"https://api.github.com/users/zas/followers","following_url":"https://api.github.com/users/zas/following{/other_user}","gists_url":"https://api.github.com/users/zas/gists{/gist_id}","starred_url":"https://api.github.com/users/zas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zas/subscriptions","organizations_url":"https://api.github.com/users/zas/orgs","repos_url":"https://api.github.com/users/zas/repos","events_url":"https://api.github.com/users/zas/events{/privacy}","received_events_url":"https://api.github.com/users/zas/received_events","type":"User","site_admin":false},"repo":{"id":7479305,"name":"picard","full_name":"zas/picard","owner":{"login":"zas","id":151042,"avatar_url":"https://avatars.githubusercontent.com/u/151042?v=3","gravatar_id":"","url":"https://api.github.com/users/zas","html_url":"https://github.com/zas","followers_url":"https://api.github.com/users/zas/followers","following_url":"https://api.github.com/users/zas/following{/other_user}","gists_url":"https://api.github.com/users/zas/gists{/gist_id}","starred_url":"https://api.github.com/users/zas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zas/subscriptions","organizations_url":"https://api.github.com/users/zas/orgs","repos_url":"https://api.github.com/users/zas/repos","events_url":"https://api.github.com/users/zas/events{/privacy}","received_events_url":"https://api.github.com/users/zas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zas/picard","description":"MusicBrainz Picard","fork":true,"url":"https://api.github.com/repos/zas/picard","forks_url":"https://api.github.com/repos/zas/picard/forks","keys_url":"https://api.github.com/repos/zas/picard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zas/picard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zas/picard/teams","hooks_url":"https://api.github.com/repos/zas/picard/hooks","issue_events_url":"https://api.github.com/repos/zas/picard/issues/events{/number}","events_url":"https://api.github.com/repos/zas/picard/events","assignees_url":"https://api.github.com/repos/zas/picard/assignees{/user}","branches_url":"https://api.github.com/repos/zas/picard/branches{/branch}","tags_url":"https://api.github.com/repos/zas/picard/tags","blobs_url":"https://api.github.com/repos/zas/picard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zas/picard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zas/picard/git/refs{/sha}","trees_url":"https://api.github.com/repos/zas/picard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zas/picard/statuses/{sha}","languages_url":"https://api.github.com/repos/zas/picard/languages","stargazers_url":"https://api.github.com/repos/zas/picard/stargazers","contributors_url":"https://api.github.com/repos/zas/picard/contributors","subscribers_url":"https://api.github.com/repos/zas/picard/subscribers","subscription_url":"https://api.github.com/repos/zas/picard/subscription","commits_url":"https://api.github.com/repos/zas/picard/commits{/sha}","git_commits_url":"https://api.github.com/repos/zas/picard/git/commits{/sha}","comments_url":"https://api.github.com/repos/zas/picard/comments{/number}","issue_comment_url":"https://api.github.com/repos/zas/picard/issues/comments{/number}","contents_url":"https://api.github.com/repos/zas/picard/contents/{+path}","compare_url":"https://api.github.com/repos/zas/picard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zas/picard/merges","archive_url":"https://api.github.com/repos/zas/picard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zas/picard/downloads","issues_url":"https://api.github.com/repos/zas/picard/issues{/number}","pulls_url":"https://api.github.com/repos/zas/picard/pulls{/number}","milestones_url":"https://api.github.com/repos/zas/picard/milestones{/number}","notifications_url":"https://api.github.com/repos/zas/picard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zas/picard/labels{/name}","releases_url":"https://api.github.com/repos/zas/picard/releases{/id}","created_at":"2013-01-07T08:45:26Z","updated_at":"2015-02-04T07:46:28Z","pushed_at":"2015-07-04T15:18:09Z","git_url":"git://github.com/zas/picard.git","ssh_url":"git@github.com:zas/picard.git","clone_url":"https://github.com/zas/picard.git","svn_url":"https://github.com/zas/picard","homepage":"http://musicbrainz.org/doc/MusicBrainz_Picard","size":22397,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"musicbrainz:master","ref":"master","sha":"50d3749a13a927a5d5fdc2cb4e595aa3e4d96728","user":{"login":"musicbrainz","id":412454,"avatar_url":"https://avatars.githubusercontent.com/u/412454?v=3","gravatar_id":"","url":"https://api.github.com/users/musicbrainz","html_url":"https://github.com/musicbrainz","followers_url":"https://api.github.com/users/musicbrainz/followers","following_url":"https://api.github.com/users/musicbrainz/following{/other_user}","gists_url":"https://api.github.com/users/musicbrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/musicbrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musicbrainz/subscriptions","organizations_url":"https://api.github.com/users/musicbrainz/orgs","repos_url":"https://api.github.com/users/musicbrainz/repos","events_url":"https://api.github.com/users/musicbrainz/events{/privacy}","received_events_url":"https://api.github.com/users/musicbrainz/received_events","type":"User","site_admin":false},"repo":{"id":2218679,"name":"picard","full_name":"musicbrainz/picard","owner":{"login":"musicbrainz","id":412454,"avatar_url":"https://avatars.githubusercontent.com/u/412454?v=3","gravatar_id":"","url":"https://api.github.com/users/musicbrainz","html_url":"https://github.com/musicbrainz","followers_url":"https://api.github.com/users/musicbrainz/followers","following_url":"https://api.github.com/users/musicbrainz/following{/other_user}","gists_url":"https://api.github.com/users/musicbrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/musicbrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musicbrainz/subscriptions","organizations_url":"https://api.github.com/users/musicbrainz/orgs","repos_url":"https://api.github.com/users/musicbrainz/repos","events_url":"https://api.github.com/users/musicbrainz/events{/privacy}","received_events_url":"https://api.github.com/users/musicbrainz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/musicbrainz/picard","description":"MusicBrainz Picard","fork":false,"url":"https://api.github.com/repos/musicbrainz/picard","forks_url":"https://api.github.com/repos/musicbrainz/picard/forks","keys_url":"https://api.github.com/repos/musicbrainz/picard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/musicbrainz/picard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/musicbrainz/picard/teams","hooks_url":"https://api.github.com/repos/musicbrainz/picard/hooks","issue_events_url":"https://api.github.com/repos/musicbrainz/picard/issues/events{/number}","events_url":"https://api.github.com/repos/musicbrainz/picard/events","assignees_url":"https://api.github.com/repos/musicbrainz/picard/assignees{/user}","branches_url":"https://api.github.com/repos/musicbrainz/picard/branches{/branch}","tags_url":"https://api.github.com/repos/musicbrainz/picard/tags","blobs_url":"https://api.github.com/repos/musicbrainz/picard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/musicbrainz/picard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/musicbrainz/picard/git/refs{/sha}","trees_url":"https://api.github.com/repos/musicbrainz/picard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/musicbrainz/picard/statuses/{sha}","languages_url":"https://api.github.com/repos/musicbrainz/picard/languages","stargazers_url":"https://api.github.com/repos/musicbrainz/picard/stargazers","contributors_url":"https://api.github.com/repos/musicbrainz/picard/contributors","subscribers_url":"https://api.github.com/repos/musicbrainz/picard/subscribers","subscription_url":"https://api.github.com/repos/musicbrainz/picard/subscription","commits_url":"https://api.github.com/repos/musicbrainz/picard/commits{/sha}","git_commits_url":"https://api.github.com/repos/musicbrainz/picard/git/commits{/sha}","comments_url":"https://api.github.com/repos/musicbrainz/picard/comments{/number}","issue_comment_url":"https://api.github.com/repos/musicbrainz/picard/issues/comments{/number}","contents_url":"https://api.github.com/repos/musicbrainz/picard/contents/{+path}","compare_url":"https://api.github.com/repos/musicbrainz/picard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/musicbrainz/picard/merges","archive_url":"https://api.github.com/repos/musicbrainz/picard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/musicbrainz/picard/downloads","issues_url":"https://api.github.com/repos/musicbrainz/picard/issues{/number}","pulls_url":"https://api.github.com/repos/musicbrainz/picard/pulls{/number}","milestones_url":"https://api.github.com/repos/musicbrainz/picard/milestones{/number}","notifications_url":"https://api.github.com/repos/musicbrainz/picard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/musicbrainz/picard/labels{/name}","releases_url":"https://api.github.com/repos/musicbrainz/picard/releases{/id}","created_at":"2011-08-16T22:30:23Z","updated_at":"2015-07-03T14:05:24Z","pushed_at":"2015-07-04T15:18:10Z","git_url":"git://github.com/musicbrainz/picard.git","ssh_url":"git@github.com:musicbrainz/picard.git","clone_url":"https://github.com/musicbrainz/picard.git","svn_url":"https://github.com/musicbrainz/picard","homepage":"http://musicbrainz.org/doc/MusicBrainz_Picard","size":40934,"stargazers_count":531,"watchers_count":531,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":21,"forks":118,"open_issues":21,"watchers":531,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/musicbrainz/picard/pulls/413"},"html":{"href":"https://github.com/musicbrainz/picard/pull/413"},"issue":{"href":"https://api.github.com/repos/musicbrainz/picard/issues/413"},"comments":{"href":"https://api.github.com/repos/musicbrainz/picard/issues/413/comments"},"review_comments":{"href":"https://api.github.com/repos/musicbrainz/picard/pulls/413/comments"},"review_comment":{"href":"https://api.github.com/repos/musicbrainz/picard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/musicbrainz/picard/pulls/413/commits"},"statuses":{"href":"https://api.github.com/repos/musicbrainz/picard/statuses/53a864e6ade2750f73451a89babab3639a00bd7f"}}}}