mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix: fallback to LRCLIB when lyrics line less than 6 lines #1461
This commit is contained in:
parent
8fad2251b3
commit
9aea35468f
@ -127,7 +127,7 @@ class SyncedLyricsNotifier extends FamilyAsyncNotifier<SubtitleSimple, Track?>
|
||||
final token = await spotify.getCredentials();
|
||||
SubtitleSimple lyrics = await getSpotifyLyrics(token.accessToken);
|
||||
|
||||
if (lyrics.lyrics.isEmpty) {
|
||||
if (lyrics.lyrics.isEmpty || lyrics.lyrics.length <= 5) {
|
||||
lyrics = await getLRCLibLyrics();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user