Commit Graph
1 Commits
Author SHA1 Message Date
f4ba9eeee0 Update MediaSession metadata for car Bluetooth display (#1008)
* Update MediaSession metadata for car Bluetooth display

* Implement `upMediaMetadata` in `BaseReadAloudService` to sync book details and cover art to `MediaSessionCompat`.
* Map book name to title, chapter name to artist, and author to album metadata keys.
* Support displaying current reading content as a subtitle/lyric string.
* Trigger metadata updates across `HttpReadAloudService` and `TTSReadAloudService` during playback and navigation.

* Apply suggestions from code review

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: zuohl <zuohldev@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-05-10 04:39:21 +08:00