{"action":"created","issue":{"url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/issues/55","repository_url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII","labels_url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/issues/55/comments","events_url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/issues/55/events","html_url":"https://github.com/Cypresslin/UbunTuTuMKII/issues/55","id":164010906,"number":55,"title":"Need to monitor local recording event","user":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"assignees":[{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/milestones/4","html_url":"https://github.com/Cypresslin/UbunTuTuMKII/milestones/WK28","labels_url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/milestones/4/labels","id":1869458,"number":4,"title":"WK28","description":null,"creator":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2016-07-07T08:40:53Z","updated_at":"2016-07-07T12:25:35Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-06T06:55:38Z","updated_at":"2016-07-07T12:28:04Z","closed_at":null,"body":"Need to monitor local recording event."},"comment":{"url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/issues/comments/231063309","html_url":"https://github.com/Cypresslin/UbunTuTuMKII/issues/55#issuecomment-231063309","issue_url":"https://api.github.com/repos/Cypresslin/UbunTuTuMKII/issues/55","id":231063309,"user":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T12:28:03Z","updated_at":"2016-07-07T12:28:03Z","body":"This can be done by subscribing to PulseAudio, with command `pactl subscribe`, check for *source-output* event.\r\n\r\nSample output:\r\n>phablet@ubuntu-phablet:~$ pactl subscribe\r\n# Before start recording\r\nEvent 'new' on client #49\r\nEvent 'remove' on client #49\r\nEvent 'new' on client #50\r\nEvent 'remove' on client #50\r\nEvent 'new' on client #51\r\nEvent 'change' on client #51\r\nEvent 'new' on client #52\r\nEvent 'change' on client #52\r\n\r\n># Start recording \r\nEvent 'new' on source-output #7\r\nEvent 'change' on source-output #7\r\nEvent 'change' on source-output #7\r\nEvent 'remove' on source-output #7\r\nEvent 'remove' on client #52\r\nEvent 'remove' on client #51\r\n\r\n> # Stop recording\r\nEvent 'remove' on client #16\r\nEvent 'remove' on client #17\r\nEvent 'remove' on source-output #0\r\nEvent 'remove' on client #21\r\nEvent 'remove' on client #20\r\nEvent 'remove' on source-output #2\r\nEvent 'remove' on client #29\r\nEvent 'remove' on client #28\r\nEvent 'remove' on source-output #3\r\nEvent 'change' on source #1\r\nEvent 'remove' on client #33\r\nEvent 'remove' on client #32\r\n"}}
{"actor":{"display_login":"Cypresslin"}}