{"action":"created","comment":{"url":"https://api.github.com/repos/plietar/librespot/pulls/comments/104453145","pull_request_review_id":25291585,"id":104453145,"diff_hunk":"@@ -246,7 +295,9 @@ impl SpircTask {\n \n         if frame.get_ident() == self.ident ||\n            (frame.get_recipient().len() > 0 && !frame.get_recipient().contains(&self.ident)) {\n-            return;\n+            if frame.get_typ() == MessageType::kMessageTypeNotify {","path":"src/spirc.rs","position":75,"original_position":75,"commit_id":"f88a6fc2c188bb79b8d24a19013879f59431bd49","original_commit_id":"f88a6fc2c188bb79b8d24a19013879f59431bd49","user":{"login":"joerg-krause","id":6870896,"avatar_url":"https://avatars1.githubusercontent.com/u/6870896?v=3","gravatar_id":"","url":"https://api.github.com/users/joerg-krause","html_url":"https://github.com/joerg-krause","followers_url":"https://api.github.com/users/joerg-krause/followers","following_url":"https://api.github.com/users/joerg-krause/following{/other_user}","gists_url":"https://api.github.com/users/joerg-krause/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg-krause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg-krause/subscriptions","organizations_url":"https://api.github.com/users/joerg-krause/orgs","repos_url":"https://api.github.com/users/joerg-krause/repos","events_url":"https://api.github.com/users/joerg-krause/events{/privacy}","received_events_url":"https://api.github.com/users/joerg-krause/received_events","type":"User","site_admin":false},"body":"I see! I wasn't aware that these messages are broadcasted.","created_at":"2017-03-06T16:15:36Z","updated_at":"2017-03-06T16:15:36Z","html_url":"https://github.com/plietar/librespot/pull/157#discussion_r104453145","pull_request_url":"https://api.github.com/repos/plietar/librespot/pulls/157","_links":{"self":{"href":"https://api.github.com/repos/plietar/librespot/pulls/comments/104453145"},"html":{"href":"https://github.com/plietar/librespot/pull/157#discussion_r104453145"},"pull_request":{"href":"https://api.github.com/repos/plietar/librespot/pulls/157"}}},"pull_request":{"url":"https://api.github.com/repos/plietar/librespot/pulls/157","id":109139770,"html_url":"https://github.com/plietar/librespot/pull/157","diff_url":"https://github.com/plietar/librespot/pull/157.diff","patch_url":"https://github.com/plietar/librespot/pull/157.patch","issue_url":"https://api.github.com/repos/plietar/librespot/issues/157","number":157,"state":"open","locked":false,"title":"Handle more commands in Spirc","user":{"login":"joerg-krause","id":6870896,"avatar_url":"https://avatars1.githubusercontent.com/u/6870896?v=3","gravatar_id":"","url":"https://api.github.com/users/joerg-krause","html_url":"https://github.com/joerg-krause","followers_url":"https://api.github.com/users/joerg-krause/followers","following_url":"https://api.github.com/users/joerg-krause/following{/other_user}","gists_url":"https://api.github.com/users/joerg-krause/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg-krause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg-krause/subscriptions","organizations_url":"https://api.github.com/users/joerg-krause/orgs","repos_url":"https://api.github.com/users/joerg-krause/repos","events_url":"https://api.github.com/users/joerg-krause/events{/privacy}","received_events_url":"https://api.github.com/users/joerg-krause/received_events","type":"User","site_admin":false},"body":"Add a handler for the commands: _Play, PlayPause, Pause, Prev, Next, VolumeUp_, and _VolumeDown_ to Spirc.","created_at":"2017-03-05T08:03:04Z","updated_at":"2017-03-06T16:15:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"588bd19c7a4e4c10ade750b81ff5b885abb28aa6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/plietar/librespot/pulls/157/commits","review_comments_url":"https://api.github.com/repos/plietar/librespot/pulls/157/comments","review_comment_url":"https://api.github.com/repos/plietar/librespot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plietar/librespot/issues/157/comments","statuses_url":"https://api.github.com/repos/plietar/librespot/statuses/f88a6fc2c188bb79b8d24a19013879f59431bd49","head":{"label":"joerg-krause:spirc-add-commands","ref":"spirc-add-commands","sha":"f88a6fc2c188bb79b8d24a19013879f59431bd49","user":{"login":"joerg-krause","id":6870896,"avatar_url":"https://avatars1.githubusercontent.com/u/6870896?v=3","gravatar_id":"","url":"https://api.github.com/users/joerg-krause","html_url":"https://github.com/joerg-krause","followers_url":"https://api.github.com/users/joerg-krause/followers","following_url":"https://api.github.com/users/joerg-krause/following{/other_user}","gists_url":"https://api.github.com/users/joerg-krause/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg-krause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg-krause/subscriptions","organizations_url":"https://api.github.com/users/joerg-krause/orgs","repos_url":"https://api.github.com/users/joerg-krause/repos","events_url":"https://api.github.com/users/joerg-krause/events{/privacy}","received_events_url":"https://api.github.com/users/joerg-krause/received_events","type":"User","site_admin":false},"repo":{"id":57921387,"name":"librespot","full_name":"joerg-krause/librespot","owner":{"login":"joerg-krause","id":6870896,"avatar_url":"https://avatars1.githubusercontent.com/u/6870896?v=3","gravatar_id":"","url":"https://api.github.com/users/joerg-krause","html_url":"https://github.com/joerg-krause","followers_url":"https://api.github.com/users/joerg-krause/followers","following_url":"https://api.github.com/users/joerg-krause/following{/other_user}","gists_url":"https://api.github.com/users/joerg-krause/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg-krause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg-krause/subscriptions","organizations_url":"https://api.github.com/users/joerg-krause/orgs","repos_url":"https://api.github.com/users/joerg-krause/repos","events_url":"https://api.github.com/users/joerg-krause/events{/privacy}","received_events_url":"https://api.github.com/users/joerg-krause/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joerg-krause/librespot","description":"Open Source Spotify client library","fork":true,"url":"https://api.github.com/repos/joerg-krause/librespot","forks_url":"https://api.github.com/repos/joerg-krause/librespot/forks","keys_url":"https://api.github.com/repos/joerg-krause/librespot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joerg-krause/librespot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joerg-krause/librespot/teams","hooks_url":"https://api.github.com/repos/joerg-krause/librespot/hooks","issue_events_url":"https://api.github.com/repos/joerg-krause/librespot/issues/events{/number}","events_url":"https://api.github.com/repos/joerg-krause/librespot/events","assignees_url":"https://api.github.com/repos/joerg-krause/librespot/assignees{/user}","branches_url":"https://api.github.com/repos/joerg-krause/librespot/branches{/branch}","tags_url":"https://api.github.com/repos/joerg-krause/librespot/tags","blobs_url":"https://api.github.com/repos/joerg-krause/librespot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joerg-krause/librespot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joerg-krause/librespot/git/refs{/sha}","trees_url":"https://api.github.com/repos/joerg-krause/librespot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joerg-krause/librespot/statuses/{sha}","languages_url":"https://api.github.com/repos/joerg-krause/librespot/languages","stargazers_url":"https://api.github.com/repos/joerg-krause/librespot/stargazers","contributors_url":"https://api.github.com/repos/joerg-krause/librespot/contributors","subscribers_url":"https://api.github.com/repos/joerg-krause/librespot/subscribers","subscription_url":"https://api.github.com/repos/joerg-krause/librespot/subscription","commits_url":"https://api.github.com/repos/joerg-krause/librespot/commits{/sha}","git_commits_url":"https://api.github.com/repos/joerg-krause/librespot/git/commits{/sha}","comments_url":"https://api.github.com/repos/joerg-krause/librespot/comments{/number}","issue_comment_url":"https://api.github.com/repos/joerg-krause/librespot/issues/comments{/number}","contents_url":"https://api.github.com/repos/joerg-krause/librespot/contents/{+path}","compare_url":"https://api.github.com/repos/joerg-krause/librespot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joerg-krause/librespot/merges","archive_url":"https://api.github.com/repos/joerg-krause/librespot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joerg-krause/librespot/downloads","issues_url":"https://api.github.com/repos/joerg-krause/librespot/issues{/number}","pulls_url":"https://api.github.com/repos/joerg-krause/librespot/pulls{/number}","milestones_url":"https://api.github.com/repos/joerg-krause/librespot/milestones{/number}","notifications_url":"https://api.github.com/repos/joerg-krause/librespot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joerg-krause/librespot/labels{/name}","releases_url":"https://api.github.com/repos/joerg-krause/librespot/releases{/id}","deployments_url":"https://api.github.com/repos/joerg-krause/librespot/deployments","created_at":"2016-05-02T21:02:34Z","updated_at":"2016-12-12T17:13:27Z","pushed_at":"2017-03-05T10:26:19Z","git_url":"git://github.com/joerg-krause/librespot.git","ssh_url":"git@github.com:joerg-krause/librespot.git","clone_url":"https://github.com/joerg-krause/librespot.git","svn_url":"https://github.com/joerg-krause/librespot","homepage":"","size":736,"stargazers_count":1,"watchers_count":1,"language":"Rust","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":1,"default_branch":"master"}},"base":{"label":"plietar:master","ref":"master","sha":"6a0657fec6f887fda8276e5c70317dec887b90dd","user":{"login":"plietar","id":1489775,"avatar_url":"https://avatars3.githubusercontent.com/u/1489775?v=3","gravatar_id":"","url":"https://api.github.com/users/plietar","html_url":"https://github.com/plietar","followers_url":"https://api.github.com/users/plietar/followers","following_url":"https://api.github.com/users/plietar/following{/other_user}","gists_url":"https://api.github.com/users/plietar/gists{/gist_id}","starred_url":"https://api.github.com/users/plietar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plietar/subscriptions","organizations_url":"https://api.github.com/users/plietar/orgs","repos_url":"https://api.github.com/users/plietar/repos","events_url":"https://api.github.com/users/plietar/events{/privacy}","received_events_url":"https://api.github.com/users/plietar/received_events","type":"User","site_admin":false},"repo":{"id":31998071,"name":"librespot","full_name":"plietar/librespot","owner":{"login":"plietar","id":1489775,"avatar_url":"https://avatars3.githubusercontent.com/u/1489775?v=3","gravatar_id":"","url":"https://api.github.com/users/plietar","html_url":"https://github.com/plietar","followers_url":"https://api.github.com/users/plietar/followers","following_url":"https://api.github.com/users/plietar/following{/other_user}","gists_url":"https://api.github.com/users/plietar/gists{/gist_id}","starred_url":"https://api.github.com/users/plietar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plietar/subscriptions","organizations_url":"https://api.github.com/users/plietar/orgs","repos_url":"https://api.github.com/users/plietar/repos","events_url":"https://api.github.com/users/plietar/events{/privacy}","received_events_url":"https://api.github.com/users/plietar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/plietar/librespot","description":"Open Source Spotify client library","fork":false,"url":"https://api.github.com/repos/plietar/librespot","forks_url":"https://api.github.com/repos/plietar/librespot/forks","keys_url":"https://api.github.com/repos/plietar/librespot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plietar/librespot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plietar/librespot/teams","hooks_url":"https://api.github.com/repos/plietar/librespot/hooks","issue_events_url":"https://api.github.com/repos/plietar/librespot/issues/events{/number}","events_url":"https://api.github.com/repos/plietar/librespot/events","assignees_url":"https://api.github.com/repos/plietar/librespot/assignees{/user}","branches_url":"https://api.github.com/repos/plietar/librespot/branches{/branch}","tags_url":"https://api.github.com/repos/plietar/librespot/tags","blobs_url":"https://api.github.com/repos/plietar/librespot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plietar/librespot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plietar/librespot/git/refs{/sha}","trees_url":"https://api.github.com/repos/plietar/librespot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plietar/librespot/statuses/{sha}","languages_url":"https://api.github.com/repos/plietar/librespot/languages","stargazers_url":"https://api.github.com/repos/plietar/librespot/stargazers","contributors_url":"https://api.github.com/repos/plietar/librespot/contributors","subscribers_url":"https://api.github.com/repos/plietar/librespot/subscribers","subscription_url":"https://api.github.com/repos/plietar/librespot/subscription","commits_url":"https://api.github.com/repos/plietar/librespot/commits{/sha}","git_commits_url":"https://api.github.com/repos/plietar/librespot/git/commits{/sha}","comments_url":"https://api.github.com/repos/plietar/librespot/comments{/number}","issue_comment_url":"https://api.github.com/repos/plietar/librespot/issues/comments{/number}","contents_url":"https://api.github.com/repos/plietar/librespot/contents/{+path}","compare_url":"https://api.github.com/repos/plietar/librespot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plietar/librespot/merges","archive_url":"https://api.github.com/repos/plietar/librespot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plietar/librespot/downloads","issues_url":"https://api.github.com/repos/plietar/librespot/issues{/number}","pulls_url":"https://api.github.com/repos/plietar/librespot/pulls{/number}","milestones_url":"https://api.github.com/repos/plietar/librespot/milestones{/number}","notifications_url":"https://api.github.com/repos/plietar/librespot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plietar/librespot/labels{/name}","releases_url":"https://api.github.com/repos/plietar/librespot/releases{/id}","deployments_url":"https://api.github.com/repos/plietar/librespot/deployments","created_at":"2015-03-11T04:21:05Z","updated_at":"2017-03-05T12:22:21Z","pushed_at":"2017-03-06T14:43:17Z","git_url":"git://github.com/plietar/librespot.git","ssh_url":"git@github.com:plietar/librespot.git","clone_url":"https://github.com/plietar/librespot.git","svn_url":"https://github.com/plietar/librespot","homepage":"","size":791,"stargazers_count":460,"watchers_count":460,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":31,"forks":60,"open_issues":31,"watchers":460,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plietar/librespot/pulls/157"},"html":{"href":"https://github.com/plietar/librespot/pull/157"},"issue":{"href":"https://api.github.com/repos/plietar/librespot/issues/157"},"comments":{"href":"https://api.github.com/repos/plietar/librespot/issues/157/comments"},"review_comments":{"href":"https://api.github.com/repos/plietar/librespot/pulls/157/comments"},"review_comment":{"href":"https://api.github.com/repos/plietar/librespot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plietar/librespot/pulls/157/commits"},"statuses":{"href":"https://api.github.com/repos/plietar/librespot/statuses/f88a6fc2c188bb79b8d24a19013879f59431bd49"}}}}
{"actor":{"display_login":"joerg-krause"}}