Fix lyrics loading

main
h4h13 2019-12-20 00:59:02 +05:30
parent 1e2be0a69f
commit 4e6b900706
1 changed files with 2 additions and 0 deletions

View File

@ -388,7 +388,9 @@ class LyricsActivity : AbsMusicServiceActivity(), View.OnClickListener, ViewPage
}
private fun loadLRCLyrics() {
lyricsView.resetView("Empty")
val song = MusicPlayerRemote.currentSong
println("${song.title} ${song.artistName}")
if (LyricUtil.isLrcFileExist(song.title, song.artistName)) {
showLyricsLocal(LyricUtil.getLocalLyricFile(song.title, song.artistName))
}