Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b3904faf
authored
Sep 12, 2020
by
olly
Committed by
Oliver Woodman
Sep 12, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add playlist query methods to 2.12
PiperOrigin-RevId: 331242049
parent
91a491ea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
RELEASENOTES.md
RELEASENOTES.md
View file @
b3904faf
...
@@ -2,15 +2,13 @@
...
@@ -2,15 +2,13 @@
### dev-v2 (not yet released)
### dev-v2 (not yet released)
*
`Player`
:
*
add
`getMediaItemCount()`
and
`getMediaItemAt(int)`
.
*
Track selection:
*
Track selection:
*
Add option to specify multiple preferred audio or text languages.
*
Add option to specify multiple preferred audio or text languages.
*
Data sources:
*
Data sources:
*
Add support for
`android.resource`
URI scheme in
`RawResourceDataSource`
*
Add support for
`android.resource`
URI scheme in
`RawResourceDataSource`
(
[
#7866
](
https://github.com/google/ExoPlayer/issues/7866
)
).
(
[
#7866
](
https://github.com/google/ExoPlayer/issues/7866
)
).
### 2.12.0 (
not yet released - targeted for
2020-09-11) ###
### 2.12.0 (2020-09-11) ###
*
Core library:
*
Core library:
*
`Player`
:
*
`Player`
:
...
@@ -18,8 +16,9 @@
...
@@ -18,8 +16,9 @@
(
[
#6161
](
https://github.com/google/ExoPlayer/issues/6161
)
). The
(
[
#6161
](
https://github.com/google/ExoPlayer/issues/6161
)
). The
new methods for playlist manipulation are
`setMediaItem(s)`
,
new methods for playlist manipulation are
`setMediaItem(s)`
,
`addMediaItem(s)`
,
`moveMediaItem(s)`
,
`removeMediaItem(s)`
and
`addMediaItem(s)`
,
`moveMediaItem(s)`
,
`removeMediaItem(s)`
and
`clearMediaItems`
. This API should be used instead of
`clearMediaItems`
. The playlist can be queried using
`ConcatenatingMediaSource`
in most cases.
`getMediaItemCount`
and
`getMediaItemAt`
. This API should be used
instead of
`ConcatenatingMediaSource`
in most cases.
*
Add
`getCurrentMediaItem`
for getting the currently playing item
*
Add
`getCurrentMediaItem`
for getting the currently playing item
in the playlist.
in the playlist.
*
Add
`EventListener.onMediaItemTransition`
to report when
*
Add
`EventListener.onMediaItemTransition`
to report when
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment