Provide an API for metadata & frame extraction without playback
Open
enhancement
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
### Issue description
I'm trying to extract track information such as title and an artist from the local mp3 file before playing it.
I managed to get track metadata in 'onTracksChanged' callback, but I need access to it earlier. I have File object and its uri and I tried to use Mp3Extractor directly, which needs DataSource, but I'm not sure how to create it.
Could you provide me with the information if such a thing is possible and how to do it?
### Version of ExoPlayer being used
2.5.4
Contributor guide
Assessment
This issue has not been assessed yet.