Readd comment

This commit is contained in:
tzugen 2022-06-20 09:49:49 +02:00 committed by GitHub
parent 00d7ce326c
commit ab41966943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -177,7 +177,12 @@ class AutoMediaBrowserCallback(var player: Player) :
return onLoadChildren(parentId)
}
// https://stackoverflow.com/questions/70096715/adding-mediaitem-when-using-the-media3-library-caused-an-error
/*
* For some reason the LocalConfiguration of MediaItem are stripped somewhere in ExoPlayer,
* and thereby customarily it is required to rebuild it..
* See also: https://stackoverflow.com/questions/70096715/adding-mediaitem-when-using-the-media3-library-caused-an-error
*/
override fun onAddMediaItems(
mediaSession: MediaSession,
controller: MediaSession.ControllerInfo,