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

chore: the player harness builds again after the follow-up merges

My-Name-Is-Jeff20ee471e6eca
diff --git a/harness/player/stubs.m b/harness/player/stubs.m
index 7df7f0fe..95a9ecb4 100644
--- a/harness/player/stubs.m
+++ b/harness/player/stubs.m
@@ -106,6 +106,8 @@ NSString *SGKaraokePlayingTrack(void) { return sg_track; }
NSArray<SGKaraokeLine *> *SGKaraokeLinesForTrack(NSString *trackID) { return sg_lines; }
void SGKaraokeKeepLines(NSString *trackID, NSArray<SGKaraokeLine *> *lines) { sg_lines = lines; }
void SGKaraokeRequestLyrics(NSString *trackID) {}
+NSNotificationName const SGKaraokeLinesKeptNotification = @"harness.karaokeLinesKept";
+BOOL SGKaraokeLooking(NSString *trackID) { return NO; }
id SGKaraokePlayer(void) { return nil; }
SPTPlayerTrack *SGKaraokeTrackFor(NSString *trackID) { return nil; }
void SGKaraokeRememberTrack(SPTPlayerTrack *track) {}
@@ -139,6 +141,7 @@ UIViewController *SGTopController(void) { return UIApplication.sharedApplication
// Local files: no edits in the harness, so the name is all PlayerLyrics.x needs to watch for one.
#import "Shared/LocalFiles/LocalFiles.h"
NSNotificationName const SGLocalFileEditsDidChangeNotification = @"harness.localFileEditsDidChange";
+NSString *SGLocalFileCoverInURL(NSString *url) { return nil; }
// Speed and pitch: a number the harness keeps, with no audio behind it.
static double sg_speed = 1;