google / google/ExoPlayer

Allow to ignore/skip items in a playlist

Open
#6,170 6 comments 0 reactions 1 assignee Claimed by @tonihei View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I use ConcatenatingMediaSource to play a track list in ExoPlayer. Some of the media sources are downloaded files. At any point during playback, user can go into Offline mode where only downloaded tracks should be played.

Is it possible to somehow flag these downloaded media sources and make Exo skip non-flagged tracks? Or is the only solution to use concatenatingMediaSource.removeSource() and manually remove all non-downloaded sources?

I've been looking into TrackSelector class, but couldn't find anything helpful there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.