Skip to content

Commit

Permalink
Pass the notification arg when track not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
tonywok committed Apr 13, 2012
1 parent e5abf62 commit 33ebda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocoa_spotify/SpotboxPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ - (void) playTrack:(NSNotification *) notification {

if (track != nil) {
if (!track.isLoaded) {
[self performSelector:@selector(playTrack:) withObject:trackStr afterDelay:0.1]; // track might not be loaded.
[self performSelector:@selector(playTrack:) withObject:notification afterDelay:0.1]; // track might not be loaded.
return;
}

Expand Down

0 comments on commit 33ebda1

Please sign in to comment.