EspoirX / StarrySky

🔥A Powerful and Streamline MusicLibrary(一个丰富的音乐播放封装库,支持多种音频格式,完美解决你的问题。)
https://github.com/EspoirX/StarrySky
MIT License
1.4k stars 211 forks source link

StarrySky.with().playMusicById(songId) first player onPlayerStart not invoked #178

Closed asugar closed 4 years ago

asugar commented 4 years ago

this problem happened only app first star up,after everything is ok。anybody has this problem?

MediaControllerCompat playFromMediaId cannot callback for first start up app

asugar commented 4 years ago

the reason:MediaControllerCallback --> onPlaybackStateChanged :val songId = getNowPlaying()?.id songId = ""

EspoirX commented 4 years ago

It has been fixed, please use version 2.4.5