media3/demos/session_service
tonihei 00425dbe80 Expand MediaItems in session demo instead of just replacing them
When MediaItems are added from the controller, we currently completely
replace the item with the one from our database, overriding any
potential additional information the controller may have set.

Also forward the onAddMediaItems/onSetMediaItems callbacks to common
helper methods instead of redirecting them through super methods

#minor-release
Issue: androidx/media#706
PiperOrigin-RevId: 573799351
2023-10-16 07:05:28 -07:00
..

Demo MediaLibraryService implementation

A library module with a demo implementation of MediaLibraryService and MediaLibrarySession.Callback.

See the PlaybackService of the session demo how to use it. Override assets/cataglog.json by creating such a file in the same format in your application module that the service will use.