Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C

fix: Genius picked from the player's ⋯ is asked for a track Spotify has lyrics for

My-Name-Is-Jeffb7452ba37100
diff --git a/tweak/Sources/Shared/LyricsSources/LyricsSources.m b/tweak/Sources/Shared/LyricsSources/LyricsSources.m
index 816dc764..56a9ead1 100644
--- a/tweak/Sources/Shared/LyricsSources/LyricsSources.m
+++ b/tweak/Sources/Shared/LyricsSources/LyricsSources.m
@@ -474,7 +474,9 @@ static void step(SGLyricsWalk *walk) {
}
SGLyricsProvider *provider = SGLyricsProviderFor(walk.order[walk.index++]);
// Not yet known asks: wrongly passing Genius over would keep "no lyrics" for a track Spotify has none for.
- if (provider.untimed && (merged.karaokeLines.count || merged.texts.count || SGLyricsSpotifyHas(query.trackID) == 1)) {
+ // The source picked for the track is asked whatever Spotify has: the pick stands timed or not.
+ if (provider.untimed && ![provider.key isEqualToString:walk.picked]
+ && (merged.karaokeLines.count || merged.texts.count || SGLyricsSpotifyHas(query.trackID) == 1)) {
step(walk);
return;
}