Files
lissen-android/app
Michał Goliński 013e5fa15d Return chapters as mediaItems in MediaLibrarySession (#350)
* Put chapters as mediaItems into ExoPlayer

When a book is being played, the ExoPlayer get now
media items corresponding to chapters.
Android Auto will show them to the user as chapters.
They get resolved to actual file segments in a new
MediaSourceFactory.

* Other packages as in the Voice app

* Make onSetMediaItems more robust

* use the calculateChapterIndexAndPosition function

* Introduce a higher order function to skip unnecessary list allocation
2026-02-26 16:02:40 +03:00
..
2025-12-11 12:53:46 +03:00