mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-08 23:23:20 +00:00
player crashes fix
This commit is contained in:
@@ -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()
|
||||
)
|
||||
|
||||
|
||||
@@ -6,5 +6,6 @@ import Foundation
|
||||
func extractedColorHex() -> String?
|
||||
func trackTitle() -> String
|
||||
func artistTitle() -> String
|
||||
func artistName() -> String
|
||||
func URI() -> SPTURL
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user