Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.
C
feat: Spotify 9.1.88 likely works, and its glass switch is pinned to the default
My-Name-Is-Jefff2fb18ccf21d
diff --git a/AGENTS.md b/AGENTS.mdindex a61a07bc..f073f058 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -25,7 +25,9 @@ can be given. `SGRedesignAvailable()` (`Core/SGUIMode.h`) says whether this OS hredesign runs only after a warning that it is untested there (`SGKeyRedesignUntested`, stored by`SGSetRedesignedUI` in `App/Pages.m`), and a launch with it that hangs (issue #37) is followed by one inthe native look with both switches off. The native look's floor is iOS 16.1, which is-Spotify 9.1.78's own.+Spotify 9.1.78's own. Vitrine is made for Spotify 9.1.78, and 9.1.88 likely works: it ran cleanly in a short test, so+the install warning leaves it alone (`SGSpotifyLikelyWorks` in `App/Onboarding/Onboarding.h`). The IPA build reads+Spotify's flag table from the IPA it builds, and again when the version changes.## Where code goes (`tweak/Sources/`)diff --git a/README.md b/README.mdindex 101892b0..78320f05 100644--- a/README.md+++ b/README.md@@ -5,6 +5,7 @@<p align="center"><img src="https://img.shields.io/badge/iOS-000000?style=for-the-badge&logo=ios&logoColor=white" alt="iOS"><img src="https://img.shields.io/badge/Spotify-9.1.78-1ED760?style=for-the-badge&logo=spotify&logoColor=white" alt="Spotify 9.1.78">+ <img src="https://img.shields.io/badge/9.1.88-likely%20works-555555?style=for-the-badge&logo=spotify&logoColor=white" alt="Spotify 9.1.88 likely works"><img src="https://img.shields.io/badge/Objective--C-3A95E3?style=for-the-badge&logo=apple&logoColor=white" alt="Objective-C"><img src="https://img.shields.io/badge/GitHub_Actions-2671E5?style=for-the-badge&logo=githubactions&logoColor=white" alt="GitHub Actions"><img src="https://img.shields.io/badge/License-GPL_v3-blue?style=for-the-badge" alt="GPL-3.0">@@ -30,8 +31,9 @@ decrypted IPA and signed with your own certificate.Vitrine is a fork of [spoti.pw](https://github.com/skopevoj/spoti.pw) by Vojtěch Škopek, taken from0.21.1 (commit `c790445`, 2026-09-23), the last version released under GPL-3.0, and modified since.-Built and tested on **Spotify 9.1.78** — use that version's IPA. The mod hooks Spotify's own classes,-which change between releases, so another version may build and then break.+Built and tested on **Spotify 9.1.78**. **Spotify 9.1.88** likely works too: it ran cleanly in a short test, with+Karaoke, the lock screen lyrics, the Live Activity and the native look not yet checked on it, so report what breaks.+The mod hooks Spotify's own classes, which change between releases, so any other version may build and then break.| | ||---|---|@@ -45,7 +47,7 @@ to Spotify's own screens with everything else the mod adds on top. Both live in## Build it-No IPA is distributed. Bring a decrypted **Spotify 9.1.78** IPA; you get an unsigned+No IPA is distributed. Bring a decrypted **Spotify 9.1.78** IPA (or 9.1.88, see above); you get an unsigned`vitrine-<mod version>.ipa` to sign with SideStore, Feather or any certificate signer. Releases have no `.deb`:injected by hand, the tweak alone misses the app changes the redesign needs (its glass tab bar), the LiveActivity, Music Haptics in the background and Connect's local discovery, so build the IPA instead.diff --git a/docs/tweaks.md b/docs/tweaks.mdindex 4568dfb9..aae75954 100644--- a/docs/tweaks.md+++ b/docs/tweaks.md@@ -84,7 +84,9 @@ Shared:Privacy/ telemetry blocking and its counters, and the tracking taken off shared open.spotify.com links(CleanLinks.x over the cleaner in CleanLinks.m)ArtistBlock/ tracks by blocked artists skipped as they start (ArtistSkip.x), the list and the Blocked artists page under Player- Flags/ Spotify's remote-config flags: the provider hook, the generated table, the All flags page and the Labs page+ Flags/ Spotify's remote-config flags: the provider hook, the generated table, the All flags page and the Labs page;+ the provider pins 9.1.88's ios-reprise-liquid-glass-override.mode to default in both looks (after an All flags+ override) and logs the server's own value once, as a force_disabled would take the glass off the redesignGestures/ the double tap zones on the player: the grid, what each cell does, the recognizer (each look hooks it on)Lyrics/ the lyrics engine for the redesign's Apple Music style lyrics and the lock screen: lines read fromcolor-lyrics and the player's clock (KaraokeSource.x), words timed by estimate inside Spotify's line@@ -556,7 +558,7 @@ App:that came over from upstream is left out, so a build without its own has no sheet). The Modpage offers both again. Environment.m says once per install state, a few seconds in, whenEeveeSpotify is injected too (a dyld image named so, or its settings page's Swift class) or Spotify is not the version the mod is- made for (SGSpotifyMadeFor), and when a redesign below iOS 26 did not start, and when the redesign runs without the app+ made for (SGSpotifyMadeFor, 9.1.78, or SGSpotifyLikelyWorks, 9.1.88, which ran cleanly in a short test), and when a redesign below iOS 26 did not start, and when the redesign runs without the appchanges the IPA build makes (UIDesignRequiresCompatibility, as with a .deb injected by hand); all butthe third stay as red rows at the top of Mod Settings. What Chroma left in Spotify's storage when Vitrinereplaced it (its Karaoke model and saved lock screen videos, never its listening history or audiodiff --git a/tweak/Sources/App/About/AboutSettings.m b/tweak/Sources/App/About/AboutSettings.mindex d8d25d88..0f06321b 100644--- a/tweak/Sources/App/About/AboutSettings.m+++ b/tweak/Sources/App/About/AboutSettings.m@@ -38,7 +38,8 @@ UIViewController *SGAboutPage(void) {SGModRow *reset = withSymbol(SGActionRow(@"Reset all settings", nil, ^{ confirmReset(); }), @"trash");reset.color = SGRed();NSString *spotify = SGSpotifyVersion();- if (![spotify isEqualToString:SGSpotifyMadeFor]) spotify = [NSString stringWithFormat:@"%@, made for %@", spotify, SGSpotifyMadeFor];+ if ([spotify isEqualToString:SGSpotifyLikelyWorks]) spotify = [spotify stringByAppendingString:@", likely works"];+ else if (![spotify isEqualToString:SGSpotifyMadeFor]) spotify = [NSString stringWithFormat:@"%@, made for %@", spotify, SGSpotifyMadeFor];// The row reads out where the build stands and opens the changelog of everything newer than it.SGModRow *updates = SGPageRow(@"Updates", ^UIViewController *{ return SGUpdatePage(); });updates.value = ^NSString *{ return SGUpdateStatus(); };diff --git a/tweak/Sources/App/Onboarding/Environment.m b/tweak/Sources/App/Onboarding/Environment.mindex 40220211..9e98be16 100644--- a/tweak/Sources/App/Onboarding/Environment.m+++ b/tweak/Sources/App/Onboarding/Environment.m@@ -26,7 +26,7 @@ NSString *SGSpotifyVersion(void) {// says nothing, rather than "Spotify unknown".static BOOL otherVersion(void) {NSString *version = [NSBundle.mainBundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"];- return [version isKindOfClass:NSString.class] && ![version isEqualToString:SGSpotifyMadeFor];+ return [version isKindOfClass:NSString.class] && ![version isEqualToString:SGSpotifyMadeFor] && ![version isEqualToString:SGSpotifyLikelyWorks];}static SGProblem eevee(void) {@@ -36,8 +36,8 @@ static SGProblem eevee(void) {static SGProblem version(void) {return @[[NSString stringWithFormat:@"Spotify %@ is not the version Vitrine is made for", SGSpotifyVersion()],- [NSString stringWithFormat:@"Vitrine is made for Spotify %@. On another version some of its changes find nothing to change, and some screens can look wrong or crash. Inject Vitrine into Spotify %@.",- SGSpotifyMadeFor, SGSpotifyMadeFor]];+ [NSString stringWithFormat:@"Vitrine is made for Spotify %@, and %@ likely works too. On another version some of its changes find nothing to change, and some screens can look wrong or crash. Inject Vitrine into Spotify %@ or %@.",+ SGSpotifyMadeFor, SGSpotifyLikelyWorks, SGSpotifyMadeFor, SGSpotifyLikelyWorks]];}// Installed without the app changes Vitrine's IPA build makes (scripts/pipeline.sh: plist/liquid-glass.plist and thediff --git a/tweak/Sources/App/Onboarding/Onboarding.h b/tweak/Sources/App/Onboarding/Onboarding.hindex 7d7cbbb0..c58d8c1a 100644--- a/tweak/Sources/App/Onboarding/Onboarding.h+++ b/tweak/Sources/App/Onboarding/Onboarding.h@@ -25,6 +25,7 @@ BOOL SGWhatsNewShowing(void);// seconds after Spotify comes up and behind the tour, What's new and the signing sheet, and kept as// warning rows at the top of Mod Settings while it lasts.#define SGSpotifyMadeFor @"9.1.78" // the Spotify this build is made for, and its flag table read from+#define SGSpotifyLikelyWorks @"9.1.88" // a newer Spotify that ran cleanly in a short test: no warning for it@class SGModRow;// SGEeveeSpotifyInjected() is Shared/Lyrics/Lyrics.h's.NSString *SGSpotifyVersion(void);diff --git a/tweak/Sources/Shared/Flags/Flags.x b/tweak/Sources/Shared/Flags/Flags.xindex 72230284..ecff610c 100644--- a/tweak/Sources/Shared/Flags/Flags.x+++ b/tweak/Sources/Shared/Flags/Flags.x@@ -32,9 +32,19 @@ static long intFor(NSString *key, long lower, long upper, long orig) {return value ? MAX(lower, MIN(upper, (long)[value longLongValue])) : orig;}+// 9.1.88's switch over the system's own glass (default, force_enabled, force_disabled). Default leaves it to+// Info.plist, where the IPA build turns glass on; a force_disabled from Spotify's servers would take the glass+// off the redesign's bars. Pinned to default in both looks, after an override from the All flags page.+static NSString *const kGlassOverride = @"ios-reprise-liquid-glass-override.mode";+static id enumFor(NSString *key, id orig) {id value = forced(key);- return [value isKindOfClass:NSString.class] ? value : orig;+ id result = [value isKindOfClass:NSString.class] ? value : orig;+ static atomic_bool toldGlass;+ if ([key isEqualToString:kGlassOverride] && !atomic_exchange(&toldGlass, true)) {+ SGLog(@"flags: Spotify's own %@ is %@, handed %@", kGlassOverride, orig, result);+ }+ return result;}%hook _TtC22RemoteConfigurationSDK25ConfigurationProviderImpl@@ -69,6 +79,7 @@ static id enumFor(NSString *key, id orig) {%end%ctor {+ SGRegisterFlagForcer(NO, ^id(NSString *key) { return [key isEqualToString:kGlassOverride] ? @"default" : nil; }, nil);%init;SGRequireClasses(@[@"_TtC22RemoteConfigurationSDK25ConfigurationProviderImpl",