Skip to content

Commit

Permalink
PlaybackService: Lyric: Add empty element at the beginning when using…
Browse files Browse the repository at this point in the history
… `loadAndParseLyricsFile`
  • Loading branch information
lightsummer233 committed Dec 13, 2024
1 parent 47c4f6b commit c6a0470
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,9 @@ class GramophonePlaybackService : MediaLibraryService(), MediaSessionService.Lis
break@loop
}
}
} else {
// add empty element at the beginning
lrc.add(0, MediaStoreUtils.Lyric())
}
CoroutineScope(Dispatchers.Main).launch {
mediaSession?.let {
Expand Down

0 comments on commit c6a0470

Please sign in to comment.