{"action":"created","comment":{"url":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/comments/23069768","id":23069768,"diff_hunk":"@@ -758,6 +769,30 @@ - (void)notifySong:(NSString *)title withArtist:(NSString *)artist album:(NSStri\n     {\n         [[NotificationCenter center] scheduleNotificationWithTitle:title artist:artist album:album imageURL:art];\n     }\n+\n+    if ([defaults boolForKey:@\"dock.show-art\"])\n+    {\n+        if (art != nil) {\n+            [self performSelectorInBackground:@selector(downloadAlbumArt:) withObject:art];\n+        }\n+        else\n+        {\n+            [NSApp setApplicationIconImage: nil];\n+        }\n+    }\n+}\n+\n+- (void)downloadAlbumArt:(NSString *)art\n+{\n+    NSURL *url = [NSURL URLWithString:art];\n+    currentArt = [[NSImage alloc] initWithContentsOfURL:url];\n+    if ([defaults boolForKey:@\"dock.show-art\"] && currentArt)\n+    {","path":"radiant-player-mac/AppDelegate.m","position":null,"original_position":40,"commit_id":"0a997cde50e5d8bb1aa05dd061304a2101742aa9","original_commit_id":"9b978e09cbc77648cfdc239ffb35a07c287b1aae","user":{"login":"matthewlloyd","id":2041996,"avatar_url":"https://avatars.githubusercontent.com/u/2041996?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewlloyd","html_url":"https://github.com/matthewlloyd","followers_url":"https://api.github.com/users/matthewlloyd/followers","following_url":"https://api.github.com/users/matthewlloyd/following{/other_user}","gists_url":"https://api.github.com/users/matthewlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewlloyd/subscriptions","organizations_url":"https://api.github.com/users/matthewlloyd/orgs","repos_url":"https://api.github.com/users/matthewlloyd/repos","events_url":"https://api.github.com/users/matthewlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewlloyd/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-01-16T09:22:12Z","updated_at":"2015-01-16T09:22:12Z","html_url":"https://github.com/kbhomes/radiant-player-mac/pull/273#discussion_r23069768","pull_request_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273","_links":{"self":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/comments/23069768"},"html":{"href":"https://github.com/kbhomes/radiant-player-mac/pull/273#discussion_r23069768"},"pull_request":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273"}}},"pull_request":{"url":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273","id":25954032,"html_url":"https://github.com/kbhomes/radiant-player-mac/pull/273","diff_url":"https://github.com/kbhomes/radiant-player-mac/pull/273.diff","patch_url":"https://github.com/kbhomes/radiant-player-mac/pull/273.patch","issue_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/273","number":273,"state":"open","locked":false,"title":"Add option to show album art in the dock","user":{"login":"matthewlloyd","id":2041996,"avatar_url":"https://avatars.githubusercontent.com/u/2041996?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewlloyd","html_url":"https://github.com/matthewlloyd","followers_url":"https://api.github.com/users/matthewlloyd/followers","following_url":"https://api.github.com/users/matthewlloyd/following{/other_user}","gists_url":"https://api.github.com/users/matthewlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewlloyd/subscriptions","organizations_url":"https://api.github.com/users/matthewlloyd/orgs","repos_url":"https://api.github.com/users/matthewlloyd/repos","events_url":"https://api.github.com/users/matthewlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewlloyd/received_events","type":"User","site_admin":false},"body":"This is a feature I miss from Vox.\r\n\r\n![screen shot 2014-12-12 at 1 03 15 am](https://cloud.githubusercontent.com/assets/2041996/5407716/bae4cee4-819a-11e4-83da-25a032905929.png)\r\n![screen shot 2014-12-12 at 1 03 30 am](https://cloud.githubusercontent.com/assets/2041996/5407718/be67b9c8-819a-11e4-80cc-384f89ccd6eb.png)\r\n","created_at":"2014-12-12T06:04:05Z","updated_at":"2015-01-16T09:22:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8429a83f2d65cb52c7346eeb34e44aafdfae25f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273/commits","review_comments_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273/comments","review_comment_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/273/comments","statuses_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/statuses/0a997cde50e5d8bb1aa05dd061304a2101742aa9","head":{"label":"matthewlloyd:show-art-in-dock","ref":"show-art-in-dock","sha":"0a997cde50e5d8bb1aa05dd061304a2101742aa9","user":{"login":"matthewlloyd","id":2041996,"avatar_url":"https://avatars.githubusercontent.com/u/2041996?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewlloyd","html_url":"https://github.com/matthewlloyd","followers_url":"https://api.github.com/users/matthewlloyd/followers","following_url":"https://api.github.com/users/matthewlloyd/following{/other_user}","gists_url":"https://api.github.com/users/matthewlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewlloyd/subscriptions","organizations_url":"https://api.github.com/users/matthewlloyd/orgs","repos_url":"https://api.github.com/users/matthewlloyd/repos","events_url":"https://api.github.com/users/matthewlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewlloyd/received_events","type":"User","site_admin":false},"repo":{"id":27907072,"name":"radiant-player-mac","full_name":"matthewlloyd/radiant-player-mac","owner":{"login":"matthewlloyd","id":2041996,"avatar_url":"https://avatars.githubusercontent.com/u/2041996?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewlloyd","html_url":"https://github.com/matthewlloyd","followers_url":"https://api.github.com/users/matthewlloyd/followers","following_url":"https://api.github.com/users/matthewlloyd/following{/other_user}","gists_url":"https://api.github.com/users/matthewlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewlloyd/subscriptions","organizations_url":"https://api.github.com/users/matthewlloyd/orgs","repos_url":"https://api.github.com/users/matthewlloyd/repos","events_url":"https://api.github.com/users/matthewlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewlloyd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matthewlloyd/radiant-player-mac","description":"Turn Google Play Music into a separate, beautiful application that integrates with your Mac.","fork":true,"url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac","forks_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/forks","keys_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/teams","hooks_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/hooks","issue_events_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/issues/events{/number}","events_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/events","assignees_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/assignees{/user}","branches_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/branches{/branch}","tags_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/tags","blobs_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/statuses/{sha}","languages_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/languages","stargazers_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/stargazers","contributors_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/contributors","subscribers_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/subscribers","subscription_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/subscription","commits_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/issues/comments/{number}","contents_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/contents/{+path}","compare_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/merges","archive_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/downloads","issues_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/issues{/number}","pulls_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/pulls{/number}","milestones_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/milestones{/number}","notifications_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/labels{/name}","releases_url":"https://api.github.com/repos/matthewlloyd/radiant-player-mac/releases{/id}","created_at":"2014-12-12T05:40:59Z","updated_at":"2014-12-12T05:41:00Z","pushed_at":"2015-01-16T09:21:47Z","git_url":"git://github.com/matthewlloyd/radiant-player-mac.git","ssh_url":"git@github.com:matthewlloyd/radiant-player-mac.git","clone_url":"https://github.com/matthewlloyd/radiant-player-mac.git","svn_url":"https://github.com/matthewlloyd/radiant-player-mac","homepage":"http://kbhomes.github.io/radiant-player-mac/","size":47852,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"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":"kbhomes:master","ref":"master","sha":"83f3622977f7b4b3f451422f9b025b03fb385ad6","user":{"login":"kbhomes","id":479569,"avatar_url":"https://avatars.githubusercontent.com/u/479569?v=3","gravatar_id":"","url":"https://api.github.com/users/kbhomes","html_url":"https://github.com/kbhomes","followers_url":"https://api.github.com/users/kbhomes/followers","following_url":"https://api.github.com/users/kbhomes/following{/other_user}","gists_url":"https://api.github.com/users/kbhomes/gists{/gist_id}","starred_url":"https://api.github.com/users/kbhomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbhomes/subscriptions","organizations_url":"https://api.github.com/users/kbhomes/orgs","repos_url":"https://api.github.com/users/kbhomes/repos","events_url":"https://api.github.com/users/kbhomes/events{/privacy}","received_events_url":"https://api.github.com/users/kbhomes/received_events","type":"User","site_admin":false},"repo":{"id":16445562,"name":"radiant-player-mac","full_name":"kbhomes/radiant-player-mac","owner":{"login":"kbhomes","id":479569,"avatar_url":"https://avatars.githubusercontent.com/u/479569?v=3","gravatar_id":"","url":"https://api.github.com/users/kbhomes","html_url":"https://github.com/kbhomes","followers_url":"https://api.github.com/users/kbhomes/followers","following_url":"https://api.github.com/users/kbhomes/following{/other_user}","gists_url":"https://api.github.com/users/kbhomes/gists{/gist_id}","starred_url":"https://api.github.com/users/kbhomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbhomes/subscriptions","organizations_url":"https://api.github.com/users/kbhomes/orgs","repos_url":"https://api.github.com/users/kbhomes/repos","events_url":"https://api.github.com/users/kbhomes/events{/privacy}","received_events_url":"https://api.github.com/users/kbhomes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kbhomes/radiant-player-mac","description":"Turn Google Play Music into a separate, beautiful application that integrates with your Mac.","fork":false,"url":"https://api.github.com/repos/kbhomes/radiant-player-mac","forks_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/forks","keys_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/teams","hooks_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/hooks","issue_events_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/events{/number}","events_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/events","assignees_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/assignees{/user}","branches_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/branches{/branch}","tags_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/tags","blobs_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/git/refs{/sha}","trees_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/statuses/{sha}","languages_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/languages","stargazers_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/stargazers","contributors_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/contributors","subscribers_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/subscribers","subscription_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/subscription","commits_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/commits{/sha}","git_commits_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/git/commits{/sha}","comments_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/comments{/number}","issue_comment_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/comments/{number}","contents_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/contents/{+path}","compare_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/merges","archive_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/downloads","issues_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues{/number}","pulls_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls{/number}","milestones_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/milestones{/number}","notifications_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/labels{/name}","releases_url":"https://api.github.com/repos/kbhomes/radiant-player-mac/releases{/id}","created_at":"2014-02-02T00:12:36Z","updated_at":"2015-01-15T15:50:29Z","pushed_at":"2014-12-15T08:48:31Z","git_url":"git://github.com/kbhomes/radiant-player-mac.git","ssh_url":"git@github.com:kbhomes/radiant-player-mac.git","clone_url":"https://github.com/kbhomes/radiant-player-mac.git","svn_url":"https://github.com/kbhomes/radiant-player-mac","homepage":"http://sajidanwar.me/radiant-player-mac/","size":49346,"stargazers_count":1602,"watchers_count":1602,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":157,"mirror_url":null,"open_issues_count":54,"forks":157,"open_issues":54,"watchers":1602,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273"},"html":{"href":"https://github.com/kbhomes/radiant-player-mac/pull/273"},"issue":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/273"},"comments":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/issues/273/comments"},"review_comments":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273/comments"},"review_comment":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/pulls/273/commits"},"statuses":{"href":"https://api.github.com/repos/kbhomes/radiant-player-mac/statuses/0a997cde50e5d8bb1aa05dd061304a2101742aa9"}}}}