SpotifyAPI-NET icon indicating copy to clipboard operation
SpotifyAPI-NET copied to clipboard

PlayURL() doesn't trigger OnTrackChange event since spotify update 1.0.74

Open Gruhlum opened this issue 8 years ago • 1 comments

This problem only happens with the new spotify version and can be reproduced in the example project:

Add Debug.WriteLine(e.NewTrack.TrackResource.Name + " - " + DateTime.Now.Minute + ":" + DateTime.Now.Second); to private void _spotify_OnTrackChange(object sender, TrackChangeEventArgs e)

(Note: The problem occurs ~50% of the time) Start the example project and connect to spotify. Now click the button "PlayURL". The new song will play but the timeLabel won't update correctly because OnTrackChange didn't fire as you can see in the output log.

Gruhlum avatar Feb 23 '18 13:02 Gruhlum

Should work now, sorry for the late response

JohnnyCrazy avatar May 12 '18 19:05 JohnnyCrazy