Add sample for playing music in classic Kotlin sample
The current implementation of MusicConsumptionFragment in leanback-showcase uses deprecated MediaPlayerGlue. Need help in implementing MediaPlayerAdapter with PlaybackTransportControlGlue
There is not much in documentation, or articles, videos on developing TV apps. Most of the help we find online is for playing video but not much for audio.
How can we convert MusicConsumptionFragment to modern Kotlin like in classic kotlin case.
I cant understand how to use MediaPlayerAdapter with PlaybackTransportControlGlue extending PlaybackSupportFragment to get the UI similar to MusicConsumptionFragment where one has CoverPhoto, title, description and a list of rows for episodes with like and add to playlist action
We have an older example of extending PlaybackSupportFragment for audio at https://github.com/android/uamp/blob/v1/mobile/src/main/java/com/example/android/uamp/ui/tv/TvPlaybackFragment.java from the Universal Android Music Player (UAMP) sample. It hasn't been modernized, but it may provide some help.