{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/3943","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/3943/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/3943/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/3943/events","html_url":"https://github.com/google/ExoPlayer/issues/3943","id":302325491,"number":3943,"title":"How to notice me when next video playback and get current playback file's URI at the same time ?","user":{"login":"yibeiliu","id":22475826,"avatar_url":"https://avatars1.githubusercontent.com/u/22475826?v=4","gravatar_id":"","url":"https://api.github.com/users/yibeiliu","html_url":"https://github.com/yibeiliu","followers_url":"https://api.github.com/users/yibeiliu/followers","following_url":"https://api.github.com/users/yibeiliu/following{/other_user}","gists_url":"https://api.github.com/users/yibeiliu/gists{/gist_id}","starred_url":"https://api.github.com/users/yibeiliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yibeiliu/subscriptions","organizations_url":"https://api.github.com/users/yibeiliu/orgs","repos_url":"https://api.github.com/users/yibeiliu/repos","events_url":"https://api.github.com/users/yibeiliu/events{/privacy}","received_events_url":"https://api.github.com/users/yibeiliu/received_events","type":"User","site_admin":false},"labels":[{"id":106814994,"url":"https://api.github.com/repos/google/ExoPlayer/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"tonihei","id":26897506,"avatar_url":"https://avatars1.githubusercontent.com/u/26897506?v=4","gravatar_id":"","url":"https://api.github.com/users/tonihei","html_url":"https://github.com/tonihei","followers_url":"https://api.github.com/users/tonihei/followers","following_url":"https://api.github.com/users/tonihei/following{/other_user}","gists_url":"https://api.github.com/users/tonihei/gists{/gist_id}","starred_url":"https://api.github.com/users/tonihei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonihei/subscriptions","organizations_url":"https://api.github.com/users/tonihei/orgs","repos_url":"https://api.github.com/users/tonihei/repos","events_url":"https://api.github.com/users/tonihei/events{/privacy}","received_events_url":"https://api.github.com/users/tonihei/received_events","type":"User","site_admin":false},"assignees":[{"login":"tonihei","id":26897506,"avatar_url":"https://avatars1.githubusercontent.com/u/26897506?v=4","gravatar_id":"","url":"https://api.github.com/users/tonihei","html_url":"https://github.com/tonihei","followers_url":"https://api.github.com/users/tonihei/followers","following_url":"https://api.github.com/users/tonihei/following{/other_user}","gists_url":"https://api.github.com/users/tonihei/gists{/gist_id}","starred_url":"https://api.github.com/users/tonihei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonihei/subscriptions","organizations_url":"https://api.github.com/users/tonihei/orgs","repos_url":"https://api.github.com/users/tonihei/repos","events_url":"https://api.github.com/users/tonihei/events{/privacy}","received_events_url":"https://api.github.com/users/tonihei/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-05T14:42:24Z","updated_at":"2018-03-05T14:49:03Z","closed_at":null,"author_association":"NONE","body":"I try to find a listener that can notice me when the next or previous video playback.\r\n\r\nfor example: \r\n\r\nI have a List of uri by using *DynamicConcatenatingMediaSource* to ExoPlayer, when I click \"next\" button or auto play the next video, I hope to know this event and to know the current playback video's uri.\r\n\r\n I try to find some useful information from Demo App,but nothing.\r\nplease help me~\r\n\r\n#### Version of ExoPlayer being used\r\n2.6.1\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/370442513","html_url":"https://github.com/google/ExoPlayer/issues/3943#issuecomment-370442513","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/3943","id":370442513,"user":{"login":"tonihei","id":26897506,"avatar_url":"https://avatars1.githubusercontent.com/u/26897506?v=4","gravatar_id":"","url":"https://api.github.com/users/tonihei","html_url":"https://github.com/tonihei","followers_url":"https://api.github.com/users/tonihei/followers","following_url":"https://api.github.com/users/tonihei/following{/other_user}","gists_url":"https://api.github.com/users/tonihei/gists{/gist_id}","starred_url":"https://api.github.com/users/tonihei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonihei/subscriptions","organizations_url":"https://api.github.com/users/tonihei/orgs","repos_url":"https://api.github.com/users/tonihei/repos","events_url":"https://api.github.com/users/tonihei/events{/privacy}","received_events_url":"https://api.github.com/users/tonihei/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T14:49:03Z","updated_at":"2018-03-05T14:49:03Z","author_association":"CONTRIBUTOR","body":"You can retrieve the `MediaSource` at each index in the playlist by calling `DynamicConcatenatingMediaSource.getMediaSource(index)`. Unfortunately, our media sources don't have a `.getUri()` method. To work around this you can keep a `Map<MediaSource, Uri>` or similar in your app to lookup the `Uri` from the `MediaSource`. \r\n"}}
{"actor":{"display_login":"tonihei"}}