{"action":"created","comment":{"url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/comments/71419302","id":71419302,"diff_hunk":"@@ -393,54 +314,91 @@ public void setMetaData(MetaData metaData) {\n         }\n     }\n \n+\n     /**\n      * A listener which will be called whenever a track is finished playing.\n      */\n-    public interface OnMediaFileFinishedPlayingListener {\n+    public interface OnMediaStateChangeListener {\n+\n \n         /**\n-         * Called when a track is finished playing.\n-         *\n-         * @param metaData The track's {@link MetaData} which just finished playing.\n+         * Called when a media item's playback state changes.\n+         * @param currentMediaMetaData {@link MediaMetaData} of the current media item\n+         * @param currentMediaState The current play state of the media item. For","path":"app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/MediaPlayerGlue.java","position":321,"original_position":321,"commit_id":"a00790648ea23a12dc8253df9bd7e39744c82605","original_commit_id":"a00790648ea23a12dc8253df9bd7e39744c82605","user":{"login":"dakegu","id":19414274,"avatar_url":"https://avatars.githubusercontent.com/u/19414274?v=3","gravatar_id":"","url":"https://api.github.com/users/dakegu","html_url":"https://github.com/dakegu","followers_url":"https://api.github.com/users/dakegu/followers","following_url":"https://api.github.com/users/dakegu/following{/other_user}","gists_url":"https://api.github.com/users/dakegu/gists{/gist_id}","starred_url":"https://api.github.com/users/dakegu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakegu/subscriptions","organizations_url":"https://api.github.com/users/dakegu/orgs","repos_url":"https://api.github.com/users/dakegu/repos","events_url":"https://api.github.com/users/dakegu/events{/privacy}","received_events_url":"https://api.github.com/users/dakegu/received_events","type":"User","site_admin":false},"body":"dont know what are legal values","created_at":"2016-07-19T20:43:11Z","updated_at":"2016-07-19T20:43:11Z","html_url":"https://github.com/googlesamples/leanback-showcase/pull/4#discussion_r71419302","pull_request_url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/comments/71419302"},"html":{"href":"https://github.com/googlesamples/leanback-showcase/pull/4#discussion_r71419302"},"pull_request":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4","id":78026172,"html_url":"https://github.com/googlesamples/leanback-showcase/pull/4","diff_url":"https://github.com/googlesamples/leanback-showcase/pull/4.diff","patch_url":"https://github.com/googlesamples/leanback-showcase/pull/4.patch","issue_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/4","number":4,"state":"open","locked":false,"title":"Created a Music example fragment running Music Service in the background","user":{"login":"keyvanamiri","id":14613176,"avatar_url":"https://avatars.githubusercontent.com/u/14613176?v=3","gravatar_id":"","url":"https://api.github.com/users/keyvanamiri","html_url":"https://github.com/keyvanamiri","followers_url":"https://api.github.com/users/keyvanamiri/followers","following_url":"https://api.github.com/users/keyvanamiri/following{/other_user}","gists_url":"https://api.github.com/users/keyvanamiri/gists{/gist_id}","starred_url":"https://api.github.com/users/keyvanamiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyvanamiri/subscriptions","organizations_url":"https://api.github.com/users/keyvanamiri/orgs","repos_url":"https://api.github.com/users/keyvanamiri/repos","events_url":"https://api.github.com/users/keyvanamiri/events{/privacy}","received_events_url":"https://api.github.com/users/keyvanamiri/received_events","type":"User","site_admin":false},"body":"A music example fragment added to the sample app featuring the latest\r\nplayback controls and media item list. The app uses a foreground service\r\nplaying media items one after another passed as a playlist. The playback\r\nkeeps playing even if the user presses \"home screen\" or exits the\r\nactivity by pressing \"back\". This service also displays the currently\r\nactive media item in a NowPlayingCard on the launcher. The playback\r\npauses once another app wants to gain audio focus.","created_at":"2016-07-19T18:32:39Z","updated_at":"2016-07-19T20:43:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7011b898c0732d9ce29e1051072657051dc30dbf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4/commits","review_comments_url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4/comments","review_comment_url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/4/comments","statuses_url":"https://api.github.com/repos/googlesamples/leanback-showcase/statuses/a00790648ea23a12dc8253df9bd7e39744c82605","head":{"label":"googlesamples:music-service","ref":"music-service","sha":"a00790648ea23a12dc8253df9bd7e39744c82605","user":{"login":"googlesamples","id":7378196,"avatar_url":"https://avatars.githubusercontent.com/u/7378196?v=3","gravatar_id":"","url":"https://api.github.com/users/googlesamples","html_url":"https://github.com/googlesamples","followers_url":"https://api.github.com/users/googlesamples/followers","following_url":"https://api.github.com/users/googlesamples/following{/other_user}","gists_url":"https://api.github.com/users/googlesamples/gists{/gist_id}","starred_url":"https://api.github.com/users/googlesamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlesamples/subscriptions","organizations_url":"https://api.github.com/users/googlesamples/orgs","repos_url":"https://api.github.com/users/googlesamples/repos","events_url":"https://api.github.com/users/googlesamples/events{/privacy}","received_events_url":"https://api.github.com/users/googlesamples/received_events","type":"Organization","site_admin":false},"repo":{"id":59040335,"name":"leanback-showcase","full_name":"googlesamples/leanback-showcase","owner":{"login":"googlesamples","id":7378196,"avatar_url":"https://avatars.githubusercontent.com/u/7378196?v=3","gravatar_id":"","url":"https://api.github.com/users/googlesamples","html_url":"https://github.com/googlesamples","followers_url":"https://api.github.com/users/googlesamples/followers","following_url":"https://api.github.com/users/googlesamples/following{/other_user}","gists_url":"https://api.github.com/users/googlesamples/gists{/gist_id}","starred_url":"https://api.github.com/users/googlesamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlesamples/subscriptions","organizations_url":"https://api.github.com/users/googlesamples/orgs","repos_url":"https://api.github.com/users/googlesamples/repos","events_url":"https://api.github.com/users/googlesamples/events{/privacy}","received_events_url":"https://api.github.com/users/googlesamples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlesamples/leanback-showcase","description":"Showcases different components that come with the Leanback library for Android TV","fork":false,"url":"https://api.github.com/repos/googlesamples/leanback-showcase","forks_url":"https://api.github.com/repos/googlesamples/leanback-showcase/forks","keys_url":"https://api.github.com/repos/googlesamples/leanback-showcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlesamples/leanback-showcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlesamples/leanback-showcase/teams","hooks_url":"https://api.github.com/repos/googlesamples/leanback-showcase/hooks","issue_events_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/events{/number}","events_url":"https://api.github.com/repos/googlesamples/leanback-showcase/events","assignees_url":"https://api.github.com/repos/googlesamples/leanback-showcase/assignees{/user}","branches_url":"https://api.github.com/repos/googlesamples/leanback-showcase/branches{/branch}","tags_url":"https://api.github.com/repos/googlesamples/leanback-showcase/tags","blobs_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlesamples/leanback-showcase/statuses/{sha}","languages_url":"https://api.github.com/repos/googlesamples/leanback-showcase/languages","stargazers_url":"https://api.github.com/repos/googlesamples/leanback-showcase/stargazers","contributors_url":"https://api.github.com/repos/googlesamples/leanback-showcase/contributors","subscribers_url":"https://api.github.com/repos/googlesamples/leanback-showcase/subscribers","subscription_url":"https://api.github.com/repos/googlesamples/leanback-showcase/subscription","commits_url":"https://api.github.com/repos/googlesamples/leanback-showcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlesamples/leanback-showcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/googlesamples/leanback-showcase/contents/{+path}","compare_url":"https://api.github.com/repos/googlesamples/leanback-showcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlesamples/leanback-showcase/merges","archive_url":"https://api.github.com/repos/googlesamples/leanback-showcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlesamples/leanback-showcase/downloads","issues_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues{/number}","pulls_url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls{/number}","milestones_url":"https://api.github.com/repos/googlesamples/leanback-showcase/milestones{/number}","notifications_url":"https://api.github.com/repos/googlesamples/leanback-showcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlesamples/leanback-showcase/labels{/name}","releases_url":"https://api.github.com/repos/googlesamples/leanback-showcase/releases{/id}","deployments_url":"https://api.github.com/repos/googlesamples/leanback-showcase/deployments","created_at":"2016-05-17T16:36:30Z","updated_at":"2016-07-19T19:00:49Z","pushed_at":"2016-07-19T18:32:40Z","git_url":"git://github.com/googlesamples/leanback-showcase.git","ssh_url":"git@github.com:googlesamples/leanback-showcase.git","clone_url":"https://github.com/googlesamples/leanback-showcase.git","svn_url":"https://github.com/googlesamples/leanback-showcase","homepage":"","size":86933,"stargazers_count":38,"watchers_count":38,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":38,"default_branch":"master"}},"base":{"label":"googlesamples:master","ref":"master","sha":"05607dad8c772b7862e27951ba25cbcce0d72468","user":{"login":"googlesamples","id":7378196,"avatar_url":"https://avatars.githubusercontent.com/u/7378196?v=3","gravatar_id":"","url":"https://api.github.com/users/googlesamples","html_url":"https://github.com/googlesamples","followers_url":"https://api.github.com/users/googlesamples/followers","following_url":"https://api.github.com/users/googlesamples/following{/other_user}","gists_url":"https://api.github.com/users/googlesamples/gists{/gist_id}","starred_url":"https://api.github.com/users/googlesamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlesamples/subscriptions","organizations_url":"https://api.github.com/users/googlesamples/orgs","repos_url":"https://api.github.com/users/googlesamples/repos","events_url":"https://api.github.com/users/googlesamples/events{/privacy}","received_events_url":"https://api.github.com/users/googlesamples/received_events","type":"Organization","site_admin":false},"repo":{"id":59040335,"name":"leanback-showcase","full_name":"googlesamples/leanback-showcase","owner":{"login":"googlesamples","id":7378196,"avatar_url":"https://avatars.githubusercontent.com/u/7378196?v=3","gravatar_id":"","url":"https://api.github.com/users/googlesamples","html_url":"https://github.com/googlesamples","followers_url":"https://api.github.com/users/googlesamples/followers","following_url":"https://api.github.com/users/googlesamples/following{/other_user}","gists_url":"https://api.github.com/users/googlesamples/gists{/gist_id}","starred_url":"https://api.github.com/users/googlesamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlesamples/subscriptions","organizations_url":"https://api.github.com/users/googlesamples/orgs","repos_url":"https://api.github.com/users/googlesamples/repos","events_url":"https://api.github.com/users/googlesamples/events{/privacy}","received_events_url":"https://api.github.com/users/googlesamples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlesamples/leanback-showcase","description":"Showcases different components that come with the Leanback library for Android TV","fork":false,"url":"https://api.github.com/repos/googlesamples/leanback-showcase","forks_url":"https://api.github.com/repos/googlesamples/leanback-showcase/forks","keys_url":"https://api.github.com/repos/googlesamples/leanback-showcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlesamples/leanback-showcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlesamples/leanback-showcase/teams","hooks_url":"https://api.github.com/repos/googlesamples/leanback-showcase/hooks","issue_events_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/events{/number}","events_url":"https://api.github.com/repos/googlesamples/leanback-showcase/events","assignees_url":"https://api.github.com/repos/googlesamples/leanback-showcase/assignees{/user}","branches_url":"https://api.github.com/repos/googlesamples/leanback-showcase/branches{/branch}","tags_url":"https://api.github.com/repos/googlesamples/leanback-showcase/tags","blobs_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlesamples/leanback-showcase/statuses/{sha}","languages_url":"https://api.github.com/repos/googlesamples/leanback-showcase/languages","stargazers_url":"https://api.github.com/repos/googlesamples/leanback-showcase/stargazers","contributors_url":"https://api.github.com/repos/googlesamples/leanback-showcase/contributors","subscribers_url":"https://api.github.com/repos/googlesamples/leanback-showcase/subscribers","subscription_url":"https://api.github.com/repos/googlesamples/leanback-showcase/subscription","commits_url":"https://api.github.com/repos/googlesamples/leanback-showcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlesamples/leanback-showcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlesamples/leanback-showcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/googlesamples/leanback-showcase/contents/{+path}","compare_url":"https://api.github.com/repos/googlesamples/leanback-showcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlesamples/leanback-showcase/merges","archive_url":"https://api.github.com/repos/googlesamples/leanback-showcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlesamples/leanback-showcase/downloads","issues_url":"https://api.github.com/repos/googlesamples/leanback-showcase/issues{/number}","pulls_url":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls{/number}","milestones_url":"https://api.github.com/repos/googlesamples/leanback-showcase/milestones{/number}","notifications_url":"https://api.github.com/repos/googlesamples/leanback-showcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlesamples/leanback-showcase/labels{/name}","releases_url":"https://api.github.com/repos/googlesamples/leanback-showcase/releases{/id}","deployments_url":"https://api.github.com/repos/googlesamples/leanback-showcase/deployments","created_at":"2016-05-17T16:36:30Z","updated_at":"2016-07-19T19:00:49Z","pushed_at":"2016-07-19T18:32:40Z","git_url":"git://github.com/googlesamples/leanback-showcase.git","ssh_url":"git@github.com:googlesamples/leanback-showcase.git","clone_url":"https://github.com/googlesamples/leanback-showcase.git","svn_url":"https://github.com/googlesamples/leanback-showcase","homepage":"","size":86933,"stargazers_count":38,"watchers_count":38,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4"},"html":{"href":"https://github.com/googlesamples/leanback-showcase/pull/4"},"issue":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/4"},"comments":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/googlesamples/leanback-showcase/statuses/a00790648ea23a12dc8253df9bd7e39744c82605"}}}}
{"actor":{"display_login":"dakegu"}}