player crashes fix

This commit is contained in:
eevee
2025-04-24 21:05:30 +03:00
parent 36d4091134
commit 3e1b429c00
4 changed files with 6 additions and 3 deletions

View File

@@ -161,7 +161,9 @@ private func loadLyricsForCurrentTrack() throws {
let searchQuery = LyricsSearchQuery(
title: track.trackTitle(),
primaryArtist: track.artistTitle(),
primaryArtist: EeveeSpotify.isOldSpotifyVersion
? track.artistTitle()
: track.artistName(),
spotifyTrackId: track.URI().spt_trackIdentifier()
)

View File

@@ -6,5 +6,6 @@ import Foundation
func extractedColorHex() -> String?
func trackTitle() -> String
func artistTitle() -> String
func artistName() -> String
func URI() -> SPTURL
}

View File

@@ -11,7 +11,7 @@ func exitApplication() {
struct PremiumPatchingGroup: HookGroup { }
struct EeveeSpotify: Tweak {
static let version = "5.9.4"
static let version = "5.9.5"
static let isOldSpotifyVersion =
NSClassFromString("Lyrics_NPVCommunicatorImpl.LyricsOnlyViewController") == nil

View File

@@ -1,6 +1,6 @@
Package: com.eevee.spotify
Name: EeveeSpotify
Version: 5.9.4
Version: 5.9.5
Architecture: iphoneos-arm
Description: A tweak to get Spotify Premium for free, just like Spotilife
Maintainer: Eevee