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: the lyrics harness links with the source pick

My-Name-Is-Jeffc71b8d237d62
diff --git a/harness/lyrics/stubs.m b/harness/lyrics/stubs.m
index 9aa5cc28..6ba2458f 100644
--- a/harness/lyrics/stubs.m
+++ b/harness/lyrics/stubs.m
@@ -15,6 +15,7 @@ void SGPlayFeedback(NSInteger feedback) {} // the name it has had since Haptic
// -credit names the source (Show source is -spotifyglass.lyricsCredit 1); one naming Spicy Lyrics is
// required, so it shows either way, and links to two people, as SpicyLyrics.m's community syncs do.
NSString *SGLyricsCreditFor(NSString *trackID) { return [NSUserDefaults.standardUserDefaults stringForKey:@"credit"] ?: @"the harness"; }
+NSNotificationName const SGLyricsSourceChosenNotification = @"spotifyglass.lyricsSourceChosen";
NSString *SGLyricsLeadArtist(NSString *artist) { return artist; }
// LyricsSources.h's, declared here: that header's SPTPlayerTrack clashes with the track stub below.
@interface SGLyricsLink : NSObject