Skip to content

Commit 4d64626

Browse files
authored
Fix memory offset for track id on 64 bit (#9)
* add offset for 64 Bit version of 1.2.26.1187.g36b715a1 * 1.1.17
1 parent 2dbb225 commit 4d64626

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group 'de.labystudio'
7-
version '1.1.16'
7+
version '1.1.17'
88

99
compileJava {
1010
sourceCompatibility = '1.8'

src/main/java/de/labystudio/spotifyapi/platform/windows/api/spotify/SpotifyProcess.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class SpotifyProcess extends WinProcess {
1818
// Spotify track id
1919
private static final String PREFIX_SPOTIFY_TRACK = "spotify:track:";
2020
private static final long[] OFFSETS_TRACK_ID = {
21+
0x154A60, // 64-Bit (1.2.26.1187.g36b715a1)
2122
0x14FA30, // 64-Bit (1.2.21.1104.g42cf0a50)
2223
0x106198, // 32-Bit (1.2.21.1104.g42cf0a50)
2324
0x14C9F0, // 64-Bit (Old)

0 commit comments

Comments
 (0)