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

feat: Lossless files plays your own FLACs in place of Spotify's stream

My-Name-Is-Jeff6db05b212213
diff --git a/tweak/Sources/App/Pages.m b/tweak/Sources/App/Pages.m
index 97b335b5..9e714af3 100644
--- a/tweak/Sources/App/Pages.m
+++ b/tweak/Sources/App/Pages.m
@@ -17,6 +17,7 @@
#import "Native/NowPlayingBar/NowPlayingBar.h"
#import "Native/Player/NowPlaying.h"
#import "Shared/LiveActivity/LiveActivity.h"
+#import "Shared/Lossless/SGLossless.h"
#import "Redesigned/Home/Home.h"
#import "Redesigned/Lyrics/LyricsText.h"
#import "Redesigned/Lyrics/LyricsLook.h"
@@ -161,6 +162,13 @@ UIViewController *SGPlayerSettingsPage(void) {
SGHideRow(@"Switch to video", @"The chip over the title of a song with a music video", SGKeyHideVideoSwitch),
])];
+ [sections addObject:SGNotedSection(@"Lossless", @[
+ SGOptionRow(@"Lossless files", @"Your own FLACs in place of Spotify's stream", SGKeyLossless),
+ ], @"Put FLAC or ALAC files in Files › Spotify › Lossless. A file plays when its title and length match the song "
+ @"and its sound matches what Spotify plays, from about 4 s after the song starts or you seek. Spotify still "
+ @"streams its own copy, at its lowest quality while the next song has a file. Karaoke and speeds other than "
+ @"1x keep Spotify's sound. Applies after you restart Spotify.")];
+
// The redesign's page leads with a card of its player and the background's control, the background's
// rows and the Mini player section under it.
if (!native) return SGRPlayerSettingsPage(sections);