{"action":"created","issue":{"url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/issues/2","repository_url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios","labels_url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/issues/2/comments","events_url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/issues/2/events","html_url":"https://github.com/ghenry22/cordova-chromecast-ios/issues/2","id":168261532,"number":2,"title":"Watch media status and broadcast events","user":{"login":"ghenry22","id":7463213,"avatar_url":"https://avatars.githubusercontent.com/u/7463213?v=3","gravatar_id":"","url":"https://api.github.com/users/ghenry22","html_url":"https://github.com/ghenry22","followers_url":"https://api.github.com/users/ghenry22/followers","following_url":"https://api.github.com/users/ghenry22/following{/other_user}","gists_url":"https://api.github.com/users/ghenry22/gists{/gist_id}","starred_url":"https://api.github.com/users/ghenry22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghenry22/subscriptions","organizations_url":"https://api.github.com/users/ghenry22/orgs","repos_url":"https://api.github.com/users/ghenry22/repos","events_url":"https://api.github.com/users/ghenry22/events{/privacy}","received_events_url":"https://api.github.com/users/ghenry22/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"orjens","id":2598075,"avatar_url":"https://avatars.githubusercontent.com/u/2598075?v=3","gravatar_id":"","url":"https://api.github.com/users/orjens","html_url":"https://github.com/orjens","followers_url":"https://api.github.com/users/orjens/followers","following_url":"https://api.github.com/users/orjens/following{/other_user}","gists_url":"https://api.github.com/users/orjens/gists{/gist_id}","starred_url":"https://api.github.com/users/orjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orjens/subscriptions","organizations_url":"https://api.github.com/users/orjens/orgs","repos_url":"https://api.github.com/users/orjens/repos","events_url":"https://api.github.com/users/orjens/events{/privacy}","received_events_url":"https://api.github.com/users/orjens/received_events","type":"User","site_admin":false},"assignees":[{"login":"orjens","id":2598075,"avatar_url":"https://avatars.githubusercontent.com/u/2598075?v=3","gravatar_id":"","url":"https://api.github.com/users/orjens","html_url":"https://github.com/orjens","followers_url":"https://api.github.com/users/orjens/followers","following_url":"https://api.github.com/users/orjens/following{/other_user}","gists_url":"https://api.github.com/users/orjens/gists{/gist_id}","starred_url":"https://api.github.com/users/orjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orjens/subscriptions","organizations_url":"https://api.github.com/users/orjens/orgs","repos_url":"https://api.github.com/users/orjens/repos","events_url":"https://api.github.com/users/orjens/events{/privacy}","received_events_url":"https://api.github.com/users/orjens/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/milestones/1","html_url":"https://github.com/ghenry22/cordova-chromecast-ios/milestones/v1.0","labels_url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/milestones/1/labels","id":1913768,"number":1,"title":"v1.0","description":"Update with essential functionality to be usable\r\nUpdate namespacing to be more generic\r\nRemove jquery dependency & replace jquery events with generic event emitters and listeners\r\nUpdate readme with proper usage examples and docs","creator":{"login":"ghenry22","id":7463213,"avatar_url":"https://avatars.githubusercontent.com/u/7463213?v=3","gravatar_id":"","url":"https://api.github.com/users/ghenry22","html_url":"https://github.com/ghenry22","followers_url":"https://api.github.com/users/ghenry22/followers","following_url":"https://api.github.com/users/ghenry22/following{/other_user}","gists_url":"https://api.github.com/users/ghenry22/gists{/gist_id}","starred_url":"https://api.github.com/users/ghenry22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghenry22/subscriptions","organizations_url":"https://api.github.com/users/ghenry22/orgs","repos_url":"https://api.github.com/users/ghenry22/repos","events_url":"https://api.github.com/users/ghenry22/events{/privacy}","received_events_url":"https://api.github.com/users/ghenry22/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":4,"state":"open","created_at":"2016-07-31T04:59:34Z","updated_at":"2016-08-03T08:48:14Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-07-29T06:48:10Z","updated_at":"2016-08-03T08:49:48Z","closed_at":"2016-08-02T08:04:26Z","body":"a GCKMediaControlChannel object is created which has a GCKMediaStatus property.\r\n\r\nNeed to watch this property for changes and if a change occurs emit a javascript event \"playerStatusChanged\" with the following values from GCKMediaStatus  included in a javascript object with the emitted event:\r\n\r\nmediaSessionID\r\nplayerState\r\nidleReason\r\nplaybackRate\r\nmediaInformation (sub object including all it's properties)\r\nstreamPosition\r\nvolume\r\nisMuted\r\n\r\nSo for example if the player volume is changed, emit an event\r\nif the playerState is changed emit an event\r\netc\r\n\r\nShould potentially ignore updates to the streamPosition to avoid excessive events.\r\n\r\nCould potentially also emit some more specific events as well:\r\n\r\nSpecific events would be:\r\nvolumeChanged (on change of volume)\r\nmuteChanged (on change of isMuted)\r\nplayerStateChanged (on change of playerState, playBackRate)\r\n\r\nNeed to also implement the getStatus function which can be called from javascript and which returns the same object as above.  There is a stub in place for getStatus already but it doesn't do anything other than log a few things to the native console.\r\n"},"comment":{"url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/issues/comments/237180283","html_url":"https://github.com/ghenry22/cordova-chromecast-ios/issues/2#issuecomment-237180283","issue_url":"https://api.github.com/repos/ghenry22/cordova-chromecast-ios/issues/2","id":237180283,"user":{"login":"ghenry22","id":7463213,"avatar_url":"https://avatars.githubusercontent.com/u/7463213?v=3","gravatar_id":"","url":"https://api.github.com/users/ghenry22","html_url":"https://github.com/ghenry22","followers_url":"https://api.github.com/users/ghenry22/followers","following_url":"https://api.github.com/users/ghenry22/following{/other_user}","gists_url":"https://api.github.com/users/ghenry22/gists{/gist_id}","starred_url":"https://api.github.com/users/ghenry22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghenry22/subscriptions","organizations_url":"https://api.github.com/users/ghenry22/orgs","repos_url":"https://api.github.com/users/ghenry22/repos","events_url":"https://api.github.com/users/ghenry22/events{/privacy}","received_events_url":"https://api.github.com/users/ghenry22/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T08:49:48Z","updated_at":"2016-08-03T08:49:48Z","body":"this is implemented in dev including passing events with mediaStatus back to javascript plugin.\r\n\r\nNeed some logic in javascript to emit events for the end user application to receive and act on will open a new ticket for that."}}
{"actor":{"display_login":"ghenry22"}}