From ce376a3513e46ba268bc5da8b394de991fd52f2f Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Sun, 28 Aug 2016 22:35:47 +0200 Subject: [PATCH] Fixed wrong comparing of track objects --- SpotifyAPI/Local/SpotifyLocalAPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpotifyAPI/Local/SpotifyLocalAPI.cs b/SpotifyAPI/Local/SpotifyLocalAPI.cs index b6ca9004..35d1789d 100644 --- a/SpotifyAPI/Local/SpotifyLocalAPI.cs +++ b/SpotifyAPI/Local/SpotifyLocalAPI.cs @@ -98,7 +98,7 @@ namespace SpotifyAPI.Local } if (newStatusResponse.Track != null && _eventStatusResponse.Track != null) { - if (newStatusResponse.Track.TrackResource?.Name != _eventStatusResponse.Track.TrackResource?.Name) + if (newStatusResponse.Track.TrackResource?.Uri != _eventStatusResponse.Track.TrackResource?.Uri) { OnTrackChange?.Invoke(this, new TrackChangeEventArgs() {