{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/Kore/pulls/comments/52121817","id":52121817,"diff_hunk":"@@ -88,7 +88,14 @@\n                 ALBUM_GENRES + \".\" + MediaContract.AlbumGenres.HOST_ID + \"=\" + AUDIO_GENRES + \".\" + MediaContract.AudioGenres.HOST_ID +\n                 \" AND \" +\n                 ALBUM_GENRES + \".\" + MediaContract.AlbumGenres.GENREID + \"=\" + AUDIO_GENRES + \".\" + MediaContract.AudioGenres.GENREID;\n-\t}\n+\n+        /**\n+         * Join to get Songs for an Artist\n+         */\n+        String SONGS_FOR_ARTIST_JOIN =\n+                SONGS + \" JOIN \" + ALBUM_ARTISTS + \" ON \" +\n+                SONGS + \".\" + MediaContract.Songs.ALBUMID + \"=\" + ALBUM_ARTISTS + \".\" + MediaContract.AlbumArtists.ALBUMID;","path":"app/src/main/java/org/xbmc/kore/provider/MediaDatabase.java","position":11,"original_position":11,"commit_id":"4bee5dc9c228e4a91aa8d91e5ff2b4c3f4686ac8","original_commit_id":"4bee5dc9c228e4a91aa8d91e5ff2b4c3f4686ac8","user":{"login":"SyncedSynapse","id":6040384,"avatar_url":"https://avatars.githubusercontent.com/u/6040384?v=3","gravatar_id":"","url":"https://api.github.com/users/SyncedSynapse","html_url":"https://github.com/SyncedSynapse","followers_url":"https://api.github.com/users/SyncedSynapse/followers","following_url":"https://api.github.com/users/SyncedSynapse/following{/other_user}","gists_url":"https://api.github.com/users/SyncedSynapse/gists{/gist_id}","starred_url":"https://api.github.com/users/SyncedSynapse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SyncedSynapse/subscriptions","organizations_url":"https://api.github.com/users/SyncedSynapse/orgs","repos_url":"https://api.github.com/users/SyncedSynapse/repos","events_url":"https://api.github.com/users/SyncedSynapse/events{/privacy}","received_events_url":"https://api.github.com/users/SyncedSynapse/received_events","type":"User","site_admin":false},"body":"Add HOST_ID to the join to be unique.","created_at":"2016-02-07T18:30:32Z","updated_at":"2016-02-07T18:30:32Z","html_url":"https://github.com/xbmc/Kore/pull/194#discussion_r52121817","pull_request_url":"https://api.github.com/repos/xbmc/Kore/pulls/194","_links":{"self":{"href":"https://api.github.com/repos/xbmc/Kore/pulls/comments/52121817"},"html":{"href":"https://github.com/xbmc/Kore/pull/194#discussion_r52121817"},"pull_request":{"href":"https://api.github.com/repos/xbmc/Kore/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/Kore/pulls/194","id":57891958,"html_url":"https://github.com/xbmc/Kore/pull/194","diff_url":"https://github.com/xbmc/Kore/pull/194.diff","patch_url":"https://github.com/xbmc/Kore/pull/194.patch","issue_url":"https://api.github.com/repos/xbmc/Kore/issues/194","number":194,"state":"open","locked":false,"title":"Implemented showing artist details","user":{"login":"poisdeux","id":4527626,"avatar_url":"https://avatars.githubusercontent.com/u/4527626?v=3","gravatar_id":"","url":"https://api.github.com/users/poisdeux","html_url":"https://github.com/poisdeux","followers_url":"https://api.github.com/users/poisdeux/followers","following_url":"https://api.github.com/users/poisdeux/following{/other_user}","gists_url":"https://api.github.com/users/poisdeux/gists{/gist_id}","starred_url":"https://api.github.com/users/poisdeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poisdeux/subscriptions","organizations_url":"https://api.github.com/users/poisdeux/orgs","repos_url":"https://api.github.com/users/poisdeux/repos","events_url":"https://api.github.com/users/poisdeux/events{/privacy}","received_events_url":"https://api.github.com/users/poisdeux/received_events","type":"User","site_admin":false},"body":"When user selects artist from ArtistListFragment it will now\r\nshow a screen displaying artist details. I've taken the TV show\r\ndetails setup as an example.\r\n\r\nThis adds the following new functionality:\r\n\r\n* Displaying artist fanart\r\n* Displaying artist description\r\n* Download all songs from an artist\r\n\r\nIn my opinion this makes the UX more consistent. Hope you like it as well.\r\n","created_at":"2016-02-01T20:03:56Z","updated_at":"2016-02-07T18:30:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a5cfc6b8df58f9470791bb56ab1f6847afd50c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/Kore/pulls/194/commits","review_comments_url":"https://api.github.com/repos/xbmc/Kore/pulls/194/comments","review_comment_url":"https://api.github.com/repos/xbmc/Kore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/Kore/issues/194/comments","statuses_url":"https://api.github.com/repos/xbmc/Kore/statuses/4bee5dc9c228e4a91aa8d91e5ff2b4c3f4686ac8","head":{"label":"poisdeux:artistdetailsfragment","ref":"artistdetailsfragment","sha":"4bee5dc9c228e4a91aa8d91e5ff2b4c3f4686ac8","user":{"login":"poisdeux","id":4527626,"avatar_url":"https://avatars.githubusercontent.com/u/4527626?v=3","gravatar_id":"","url":"https://api.github.com/users/poisdeux","html_url":"https://github.com/poisdeux","followers_url":"https://api.github.com/users/poisdeux/followers","following_url":"https://api.github.com/users/poisdeux/following{/other_user}","gists_url":"https://api.github.com/users/poisdeux/gists{/gist_id}","starred_url":"https://api.github.com/users/poisdeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poisdeux/subscriptions","organizations_url":"https://api.github.com/users/poisdeux/orgs","repos_url":"https://api.github.com/users/poisdeux/repos","events_url":"https://api.github.com/users/poisdeux/events{/privacy}","received_events_url":"https://api.github.com/users/poisdeux/received_events","type":"User","site_admin":false},"repo":{"id":39832138,"name":"Kore","full_name":"poisdeux/Kore","owner":{"login":"poisdeux","id":4527626,"avatar_url":"https://avatars.githubusercontent.com/u/4527626?v=3","gravatar_id":"","url":"https://api.github.com/users/poisdeux","html_url":"https://github.com/poisdeux","followers_url":"https://api.github.com/users/poisdeux/followers","following_url":"https://api.github.com/users/poisdeux/following{/other_user}","gists_url":"https://api.github.com/users/poisdeux/gists{/gist_id}","starred_url":"https://api.github.com/users/poisdeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poisdeux/subscriptions","organizations_url":"https://api.github.com/users/poisdeux/orgs","repos_url":"https://api.github.com/users/poisdeux/repos","events_url":"https://api.github.com/users/poisdeux/events{/privacy}","received_events_url":"https://api.github.com/users/poisdeux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/poisdeux/Kore","description":"Kore is a simple and easy-to-use Kodi remote.","fork":true,"url":"https://api.github.com/repos/poisdeux/Kore","forks_url":"https://api.github.com/repos/poisdeux/Kore/forks","keys_url":"https://api.github.com/repos/poisdeux/Kore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poisdeux/Kore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poisdeux/Kore/teams","hooks_url":"https://api.github.com/repos/poisdeux/Kore/hooks","issue_events_url":"https://api.github.com/repos/poisdeux/Kore/issues/events{/number}","events_url":"https://api.github.com/repos/poisdeux/Kore/events","assignees_url":"https://api.github.com/repos/poisdeux/Kore/assignees{/user}","branches_url":"https://api.github.com/repos/poisdeux/Kore/branches{/branch}","tags_url":"https://api.github.com/repos/poisdeux/Kore/tags","blobs_url":"https://api.github.com/repos/poisdeux/Kore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poisdeux/Kore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poisdeux/Kore/git/refs{/sha}","trees_url":"https://api.github.com/repos/poisdeux/Kore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poisdeux/Kore/statuses/{sha}","languages_url":"https://api.github.com/repos/poisdeux/Kore/languages","stargazers_url":"https://api.github.com/repos/poisdeux/Kore/stargazers","contributors_url":"https://api.github.com/repos/poisdeux/Kore/contributors","subscribers_url":"https://api.github.com/repos/poisdeux/Kore/subscribers","subscription_url":"https://api.github.com/repos/poisdeux/Kore/subscription","commits_url":"https://api.github.com/repos/poisdeux/Kore/commits{/sha}","git_commits_url":"https://api.github.com/repos/poisdeux/Kore/git/commits{/sha}","comments_url":"https://api.github.com/repos/poisdeux/Kore/comments{/number}","issue_comment_url":"https://api.github.com/repos/poisdeux/Kore/issues/comments{/number}","contents_url":"https://api.github.com/repos/poisdeux/Kore/contents/{+path}","compare_url":"https://api.github.com/repos/poisdeux/Kore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poisdeux/Kore/merges","archive_url":"https://api.github.com/repos/poisdeux/Kore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poisdeux/Kore/downloads","issues_url":"https://api.github.com/repos/poisdeux/Kore/issues{/number}","pulls_url":"https://api.github.com/repos/poisdeux/Kore/pulls{/number}","milestones_url":"https://api.github.com/repos/poisdeux/Kore/milestones{/number}","notifications_url":"https://api.github.com/repos/poisdeux/Kore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poisdeux/Kore/labels{/name}","releases_url":"https://api.github.com/repos/poisdeux/Kore/releases{/id}","deployments_url":"https://api.github.com/repos/poisdeux/Kore/deployments","created_at":"2015-07-28T12:16:59Z","updated_at":"2016-01-15T09:11:21Z","pushed_at":"2016-02-05T19:33:57Z","git_url":"git://github.com/poisdeux/Kore.git","ssh_url":"git@github.com:poisdeux/Kore.git","clone_url":"https://github.com/poisdeux/Kore.git","svn_url":"https://github.com/poisdeux/Kore","homepage":null,"size":30614,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"xbmc:master","ref":"master","sha":"3be65d6724d5fdb74c108d42a2b3b43484e6216c","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":29241103,"name":"Kore","full_name":"xbmc/Kore","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/Kore","description":"Kore is a simple and easy-to-use Kodi remote.","fork":false,"url":"https://api.github.com/repos/xbmc/Kore","forks_url":"https://api.github.com/repos/xbmc/Kore/forks","keys_url":"https://api.github.com/repos/xbmc/Kore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/Kore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/Kore/teams","hooks_url":"https://api.github.com/repos/xbmc/Kore/hooks","issue_events_url":"https://api.github.com/repos/xbmc/Kore/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/Kore/events","assignees_url":"https://api.github.com/repos/xbmc/Kore/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/Kore/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/Kore/tags","blobs_url":"https://api.github.com/repos/xbmc/Kore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/Kore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/Kore/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/Kore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/Kore/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/Kore/languages","stargazers_url":"https://api.github.com/repos/xbmc/Kore/stargazers","contributors_url":"https://api.github.com/repos/xbmc/Kore/contributors","subscribers_url":"https://api.github.com/repos/xbmc/Kore/subscribers","subscription_url":"https://api.github.com/repos/xbmc/Kore/subscription","commits_url":"https://api.github.com/repos/xbmc/Kore/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/Kore/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/Kore/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/Kore/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/Kore/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/Kore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/Kore/merges","archive_url":"https://api.github.com/repos/xbmc/Kore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/Kore/downloads","issues_url":"https://api.github.com/repos/xbmc/Kore/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/Kore/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/Kore/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/Kore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/Kore/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/Kore/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/Kore/deployments","created_at":"2015-01-14T11:26:04Z","updated_at":"2016-02-03T06:09:22Z","pushed_at":"2016-02-07T16:13:15Z","git_url":"git://github.com/xbmc/Kore.git","ssh_url":"git@github.com:xbmc/Kore.git","clone_url":"https://github.com/xbmc/Kore.git","svn_url":"https://github.com/xbmc/Kore","homepage":null,"size":32407,"stargazers_count":138,"watchers_count":138,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":57,"forks":91,"open_issues":57,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/Kore/pulls/194"},"html":{"href":"https://github.com/xbmc/Kore/pull/194"},"issue":{"href":"https://api.github.com/repos/xbmc/Kore/issues/194"},"comments":{"href":"https://api.github.com/repos/xbmc/Kore/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/Kore/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/Kore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/Kore/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/Kore/statuses/4bee5dc9c228e4a91aa8d91e5ff2b4c3f4686ac8"}}}}