{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/19","id":33811842,"html_url":"https://github.com/ConnectSDK/Connect-SDK-iOS-Core/pull/19","diff_url":"https://github.com/ConnectSDK/Connect-SDK-iOS-Core/pull/19.diff","patch_url":"https://github.com/ConnectSDK/Connect-SDK-iOS-Core/pull/19.patch","issue_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/issues/19","number":19,"state":"open","locked":false,"title":"AirPlayServiceHTTP: more correct parsing implementation for `playState`","user":{"login":"eunikolsky","id":9215359,"avatar_url":"https://avatars.githubusercontent.com/u/9215359?v=3","gravatar_id":"","url":"https://api.github.com/users/eunikolsky","html_url":"https://github.com/eunikolsky","followers_url":"https://api.github.com/users/eunikolsky/followers","following_url":"https://api.github.com/users/eunikolsky/following{/other_user}","gists_url":"https://api.github.com/users/eunikolsky/gists{/gist_id}","starred_url":"https://api.github.com/users/eunikolsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eunikolsky/subscriptions","organizations_url":"https://api.github.com/users/eunikolsky/orgs","repos_url":"https://api.github.com/users/eunikolsky/repos","events_url":"https://api.github.com/users/eunikolsky/events{/privacy}","received_events_url":"https://api.github.com/users/eunikolsky/received_events","type":"User","site_admin":false},"body":"The `playState` value is inferred primarily from the `rate` property using\r\nthis specification:\r\n* finished iff `rate` property is missing and `readyToPlay == 0`;\r\n* paused iff `rate == 0`;\r\n* playing iff `rate != 0`;\r\n* unknown otherwise.\r\n\r\nFixes https://github.com/ConnectSDK/Connect-SDK-iOS/issues/146","created_at":"2015-04-21T22:57:10Z","updated_at":"2015-04-21T22:57:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a9d47e79f4ed85d49b3f5852f7a0bc047a1e518","assignee":{"login":"iadnan","id":8549419,"avatar_url":"https://avatars.githubusercontent.com/u/8549419?v=3","gravatar_id":"","url":"https://api.github.com/users/iadnan","html_url":"https://github.com/iadnan","followers_url":"https://api.github.com/users/iadnan/followers","following_url":"https://api.github.com/users/iadnan/following{/other_user}","gists_url":"https://api.github.com/users/iadnan/gists{/gist_id}","starred_url":"https://api.github.com/users/iadnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iadnan/subscriptions","organizations_url":"https://api.github.com/users/iadnan/orgs","repos_url":"https://api.github.com/users/iadnan/repos","events_url":"https://api.github.com/users/iadnan/events{/privacy}","received_events_url":"https://api.github.com/users/iadnan/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/19/commits","review_comments_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/19/comments","review_comment_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/issues/19/comments","statuses_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/statuses/1f4909b9be80499b1d46d1bed3912e9608d7c391","head":{"label":"eunikolsky:bugfix/146_airplay_playstate","ref":"bugfix/146_airplay_playstate","sha":"1f4909b9be80499b1d46d1bed3912e9608d7c391","user":{"login":"eunikolsky","id":9215359,"avatar_url":"https://avatars.githubusercontent.com/u/9215359?v=3","gravatar_id":"","url":"https://api.github.com/users/eunikolsky","html_url":"https://github.com/eunikolsky","followers_url":"https://api.github.com/users/eunikolsky/followers","following_url":"https://api.github.com/users/eunikolsky/following{/other_user}","gists_url":"https://api.github.com/users/eunikolsky/gists{/gist_id}","starred_url":"https://api.github.com/users/eunikolsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eunikolsky/subscriptions","organizations_url":"https://api.github.com/users/eunikolsky/orgs","repos_url":"https://api.github.com/users/eunikolsky/repos","events_url":"https://api.github.com/users/eunikolsky/events{/privacy}","received_events_url":"https://api.github.com/users/eunikolsky/received_events","type":"User","site_admin":false},"repo":{"id":26345572,"name":"Connect-SDK-iOS-Core","full_name":"eunikolsky/Connect-SDK-iOS-Core","owner":{"login":"eunikolsky","id":9215359,"avatar_url":"https://avatars.githubusercontent.com/u/9215359?v=3","gravatar_id":"","url":"https://api.github.com/users/eunikolsky","html_url":"https://github.com/eunikolsky","followers_url":"https://api.github.com/users/eunikolsky/followers","following_url":"https://api.github.com/users/eunikolsky/following{/other_user}","gists_url":"https://api.github.com/users/eunikolsky/gists{/gist_id}","starred_url":"https://api.github.com/users/eunikolsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eunikolsky/subscriptions","organizations_url":"https://api.github.com/users/eunikolsky/orgs","repos_url":"https://api.github.com/users/eunikolsky/repos","events_url":"https://api.github.com/users/eunikolsky/events{/privacy}","received_events_url":"https://api.github.com/users/eunikolsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eunikolsky/Connect-SDK-iOS-Core","description":"Core source code for the iOS Connect SDK project, contains no project files","fork":true,"url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core","forks_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/forks","keys_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/teams","hooks_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/hooks","issue_events_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/issues/events{/number}","events_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/events","assignees_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/assignees{/user}","branches_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/branches{/branch}","tags_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/tags","blobs_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/git/refs{/sha}","trees_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/statuses/{sha}","languages_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/languages","stargazers_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/stargazers","contributors_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/contributors","subscribers_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/subscribers","subscription_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/subscription","commits_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/commits{/sha}","git_commits_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/git/commits{/sha}","comments_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/comments{/number}","issue_comment_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/issues/comments{/number}","contents_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/contents/{+path}","compare_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/merges","archive_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/downloads","issues_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/issues{/number}","pulls_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/pulls{/number}","milestones_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/milestones{/number}","notifications_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/labels{/name}","releases_url":"https://api.github.com/repos/eunikolsky/Connect-SDK-iOS-Core/releases{/id}","created_at":"2014-11-08T01:12:04Z","updated_at":"2014-10-13T21:43:51Z","pushed_at":"2015-04-21T22:46:17Z","git_url":"git://github.com/eunikolsky/Connect-SDK-iOS-Core.git","ssh_url":"git@github.com:eunikolsky/Connect-SDK-iOS-Core.git","clone_url":"https://github.com/eunikolsky/Connect-SDK-iOS-Core.git","svn_url":"https://github.com/eunikolsky/Connect-SDK-iOS-Core","homepage":null,"size":2086,"stargazers_count":0,"watchers_count":0,"language":null,"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":"ConnectSDK:dev","ref":"dev","sha":"ddb2a71a39c3017d15929c479ae572cdd10aaac0","user":{"login":"ConnectSDK","id":6496007,"avatar_url":"https://avatars.githubusercontent.com/u/6496007?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnectSDK","html_url":"https://github.com/ConnectSDK","followers_url":"https://api.github.com/users/ConnectSDK/followers","following_url":"https://api.github.com/users/ConnectSDK/following{/other_user}","gists_url":"https://api.github.com/users/ConnectSDK/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnectSDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnectSDK/subscriptions","organizations_url":"https://api.github.com/users/ConnectSDK/orgs","repos_url":"https://api.github.com/users/ConnectSDK/repos","events_url":"https://api.github.com/users/ConnectSDK/events{/privacy}","received_events_url":"https://api.github.com/users/ConnectSDK/received_events","type":"Organization","site_admin":false},"repo":{"id":22897074,"name":"Connect-SDK-iOS-Core","full_name":"ConnectSDK/Connect-SDK-iOS-Core","owner":{"login":"ConnectSDK","id":6496007,"avatar_url":"https://avatars.githubusercontent.com/u/6496007?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnectSDK","html_url":"https://github.com/ConnectSDK","followers_url":"https://api.github.com/users/ConnectSDK/followers","following_url":"https://api.github.com/users/ConnectSDK/following{/other_user}","gists_url":"https://api.github.com/users/ConnectSDK/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnectSDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnectSDK/subscriptions","organizations_url":"https://api.github.com/users/ConnectSDK/orgs","repos_url":"https://api.github.com/users/ConnectSDK/repos","events_url":"https://api.github.com/users/ConnectSDK/events{/privacy}","received_events_url":"https://api.github.com/users/ConnectSDK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ConnectSDK/Connect-SDK-iOS-Core","description":"Core source code for the iOS Connect SDK project, contains no project files","fork":false,"url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core","forks_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/forks","keys_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/teams","hooks_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/hooks","issue_events_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/issues/events{/number}","events_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/events","assignees_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/assignees{/user}","branches_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/branches{/branch}","tags_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/tags","blobs_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/statuses/{sha}","languages_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/languages","stargazers_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/stargazers","contributors_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/contributors","subscribers_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/subscribers","subscription_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/subscription","commits_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/contents/{+path}","compare_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/merges","archive_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/downloads","issues_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/issues{/number}","pulls_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls{/number}","milestones_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/milestones{/number}","notifications_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/labels{/name}","releases_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/releases{/id}","created_at":"2014-08-13T00:29:39Z","updated_at":"2015-03-23T23:56:49Z","pushed_at":"2015-04-21T22:57:10Z","git_url":"git://github.com/ConnectSDK/Connect-SDK-iOS-Core.git","ssh_url":"git@github.com:ConnectSDK/Connect-SDK-iOS-Core.git","clone_url":"https://github.com/ConnectSDK/Connect-SDK-iOS-Core.git","svn_url":"https://github.com/ConnectSDK/Connect-SDK-iOS-Core","homepage":null,"size":2343,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/19"},"html":{"href":"https://github.com/ConnectSDK/Connect-SDK-iOS-Core/pull/19"},"issue":{"href":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/issues/19"},"comments":{"href":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/ConnectSDK/Connect-SDK-iOS-Core/statuses/1f4909b9be80499b1d46d1bed3912e9608d7c391"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":281,"deletions":12,"changed_files":8}}