{"action":"created","comment":{"url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/comments/28446473","id":28446473,"diff_hunk":"@@ -44,21 +46,21 @@ def view_high_level(mbid):\n \n @data_bp.route(\"/<uuid:mbid>\", methods=[\"GET\"])\n def summary(mbid):\n-    lowlevel, highlevel, genres, moods, other = get_summary_data(mbid)\n-\n-    info = _get_track_info(mbid, lowlevel['metadata'])\n-\n+    summary = get_summary_data(mbid)\n+    \n+    info = _get_track_info(mbid, summary['lowlevel']['metadata'] if summary['lowlevel'] else None)\n     # Tomahawk player stuff\n-    if not ('artist' in lowlevel['metadata']['tags'] and 'title' in lowlevel['metadata']['tags']):\n+    if not ('artist' in info and 'title' in info):","path":"acousticbrainz/views/data.py","position":22,"original_position":22,"commit_id":"6afee4ec84b6be6e7b721c9f347ad143f29ac682","original_commit_id":"6afee4ec84b6be6e7b721c9f347ad143f29ac682","user":{"login":"swapnilgt","id":5019057,"avatar_url":"https://avatars.githubusercontent.com/u/5019057?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilgt","html_url":"https://github.com/swapnilgt","followers_url":"https://api.github.com/users/swapnilgt/followers","following_url":"https://api.github.com/users/swapnilgt/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgt/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgt/subscriptions","organizations_url":"https://api.github.com/users/swapnilgt/orgs","repos_url":"https://api.github.com/users/swapnilgt/repos","events_url":"https://api.github.com/users/swapnilgt/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgt/received_events","type":"User","site_admin":false},"body":"Yeah.. changing now itself seems reasonable.","created_at":"2015-04-15T18:12:19Z","updated_at":"2015-04-15T18:12:19Z","html_url":"https://github.com/metabrainz/acousticbrainz-server/pull/87#discussion_r28446473","pull_request_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/comments/28446473"},"html":{"href":"https://github.com/metabrainz/acousticbrainz-server/pull/87#discussion_r28446473"},"pull_request":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87","id":32410896,"html_url":"https://github.com/metabrainz/acousticbrainz-server/pull/87","diff_url":"https://github.com/metabrainz/acousticbrainz-server/pull/87.diff","patch_url":"https://github.com/metabrainz/acousticbrainz-server/pull/87.patch","issue_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/issues/87","number":87,"state":"open","locked":false,"title":"Changes related to http://tickets.musicbrainz.org/browse/AB-38","user":{"login":"swapnilgt","id":5019057,"avatar_url":"https://avatars.githubusercontent.com/u/5019057?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilgt","html_url":"https://github.com/swapnilgt","followers_url":"https://api.github.com/users/swapnilgt/followers","following_url":"https://api.github.com/users/swapnilgt/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgt/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgt/subscriptions","organizations_url":"https://api.github.com/users/swapnilgt/orgs","repos_url":"https://api.github.com/users/swapnilgt/repos","events_url":"https://api.github.com/users/swapnilgt/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgt/received_events","type":"User","site_admin":false},"body":"Currently we show basic 404 page when there's no data for recording. Since we have integration with MusicBrainz, we can load some basic info about recording.","created_at":"2015-04-01T11:41:28Z","updated_at":"2015-04-15T18:12:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec686be4cd3568baa4375e49ce4008165cfe96d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87/commits","review_comments_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87/comments","review_comment_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/issues/87/comments","statuses_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/statuses/6afee4ec84b6be6e7b721c9f347ad143f29ac682","head":{"label":"swapnilgt:master","ref":"master","sha":"6afee4ec84b6be6e7b721c9f347ad143f29ac682","user":{"login":"swapnilgt","id":5019057,"avatar_url":"https://avatars.githubusercontent.com/u/5019057?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilgt","html_url":"https://github.com/swapnilgt","followers_url":"https://api.github.com/users/swapnilgt/followers","following_url":"https://api.github.com/users/swapnilgt/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgt/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgt/subscriptions","organizations_url":"https://api.github.com/users/swapnilgt/orgs","repos_url":"https://api.github.com/users/swapnilgt/repos","events_url":"https://api.github.com/users/swapnilgt/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgt/received_events","type":"User","site_admin":false},"repo":{"id":31387314,"name":"acousticbrainz-server","full_name":"swapnilgt/acousticbrainz-server","owner":{"login":"swapnilgt","id":5019057,"avatar_url":"https://avatars.githubusercontent.com/u/5019057?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilgt","html_url":"https://github.com/swapnilgt","followers_url":"https://api.github.com/users/swapnilgt/followers","following_url":"https://api.github.com/users/swapnilgt/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgt/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgt/subscriptions","organizations_url":"https://api.github.com/users/swapnilgt/orgs","repos_url":"https://api.github.com/users/swapnilgt/repos","events_url":"https://api.github.com/users/swapnilgt/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swapnilgt/acousticbrainz-server","description":"The server components for the new AcousticBrainz project.","fork":true,"url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server","forks_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/forks","keys_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/teams","hooks_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/hooks","issue_events_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/issues/events{/number}","events_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/events","assignees_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/assignees{/user}","branches_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/branches{/branch}","tags_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/tags","blobs_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/statuses/{sha}","languages_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/languages","stargazers_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/stargazers","contributors_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/contributors","subscribers_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/subscribers","subscription_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/subscription","commits_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/contents/{+path}","compare_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/merges","archive_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/downloads","issues_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/issues{/number}","pulls_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/pulls{/number}","milestones_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/milestones{/number}","notifications_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/labels{/name}","releases_url":"https://api.github.com/repos/swapnilgt/acousticbrainz-server/releases{/id}","created_at":"2015-02-26T20:30:55Z","updated_at":"2015-04-03T17:51:49Z","pushed_at":"2015-04-03T17:51:49Z","git_url":"git://github.com/swapnilgt/acousticbrainz-server.git","ssh_url":"git@github.com:swapnilgt/acousticbrainz-server.git","clone_url":"https://github.com/swapnilgt/acousticbrainz-server.git","svn_url":"https://github.com/swapnilgt/acousticbrainz-server","homepage":"http://acousticbrainz.org/","size":1246,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"metabrainz:master","ref":"master","sha":"48a5874af8e5ce30e598179011f5f71b3bc9b7e0","user":{"login":"metabrainz","id":293421,"avatar_url":"https://avatars.githubusercontent.com/u/293421?v=3","gravatar_id":"","url":"https://api.github.com/users/metabrainz","html_url":"https://github.com/metabrainz","followers_url":"https://api.github.com/users/metabrainz/followers","following_url":"https://api.github.com/users/metabrainz/following{/other_user}","gists_url":"https://api.github.com/users/metabrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/metabrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metabrainz/subscriptions","organizations_url":"https://api.github.com/users/metabrainz/orgs","repos_url":"https://api.github.com/users/metabrainz/repos","events_url":"https://api.github.com/users/metabrainz/events{/privacy}","received_events_url":"https://api.github.com/users/metabrainz/received_events","type":"Organization","site_admin":false},"repo":{"id":24893738,"name":"acousticbrainz-server","full_name":"metabrainz/acousticbrainz-server","owner":{"login":"metabrainz","id":293421,"avatar_url":"https://avatars.githubusercontent.com/u/293421?v=3","gravatar_id":"","url":"https://api.github.com/users/metabrainz","html_url":"https://github.com/metabrainz","followers_url":"https://api.github.com/users/metabrainz/followers","following_url":"https://api.github.com/users/metabrainz/following{/other_user}","gists_url":"https://api.github.com/users/metabrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/metabrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metabrainz/subscriptions","organizations_url":"https://api.github.com/users/metabrainz/orgs","repos_url":"https://api.github.com/users/metabrainz/repos","events_url":"https://api.github.com/users/metabrainz/events{/privacy}","received_events_url":"https://api.github.com/users/metabrainz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metabrainz/acousticbrainz-server","description":"The server components for the new AcousticBrainz project.","fork":false,"url":"https://api.github.com/repos/metabrainz/acousticbrainz-server","forks_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/forks","keys_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/teams","hooks_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/hooks","issue_events_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/issues/events{/number}","events_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/events","assignees_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/assignees{/user}","branches_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/branches{/branch}","tags_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/tags","blobs_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/statuses/{sha}","languages_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/languages","stargazers_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/stargazers","contributors_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/contributors","subscribers_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/subscribers","subscription_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/subscription","commits_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/contents/{+path}","compare_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/merges","archive_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/downloads","issues_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/issues{/number}","pulls_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls{/number}","milestones_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/milestones{/number}","notifications_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/labels{/name}","releases_url":"https://api.github.com/repos/metabrainz/acousticbrainz-server/releases{/id}","created_at":"2014-10-07T14:22:44Z","updated_at":"2015-04-09T18:30:01Z","pushed_at":"2015-04-09T21:02:27Z","git_url":"git://github.com/metabrainz/acousticbrainz-server.git","ssh_url":"git@github.com:metabrainz/acousticbrainz-server.git","clone_url":"https://github.com/metabrainz/acousticbrainz-server.git","svn_url":"https://github.com/metabrainz/acousticbrainz-server","homepage":"http://acousticbrainz.org/","size":3100,"stargazers_count":18,"watchers_count":18,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":15,"forks":7,"open_issues":15,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87"},"html":{"href":"https://github.com/metabrainz/acousticbrainz-server/pull/87"},"issue":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/issues/87"},"comments":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/metabrainz/acousticbrainz-server/statuses/6afee4ec84b6be6e7b721c9f347ad143f29ac682"}}}}