Fix for incorrect songs being highlighted on quick next/prev.
parent
058feed386
commit
6cf9a03009
|
@ -153,16 +153,11 @@
|
|||
|
||||
- (IBAction)next:(id)sender
|
||||
{
|
||||
DBLog(@"CALLING: %i %i", playbackStatus, kCogStatusStopped);
|
||||
if ([playlistController next] == NO)
|
||||
return;
|
||||
|
||||
if (playbackStatus != kCogStatusStopped)
|
||||
{
|
||||
DBLog(@"STOPPING");
|
||||
[self stop:self];
|
||||
[self playEntry:[playlistController currentEntry]];
|
||||
}
|
||||
[self stop:self];
|
||||
[self playEntry:[playlistController currentEntry]];
|
||||
}
|
||||
|
||||
- (IBAction)prev:(id)sender
|
||||
|
@ -171,11 +166,8 @@
|
|||
if ([playlistController prev] == nil)
|
||||
return;
|
||||
|
||||
if (playbackStatus != kCogStatusStopped)
|
||||
{
|
||||
[self stop:self];
|
||||
[self playEntry:[playlistController currentEntry]];
|
||||
}
|
||||
[self stop:self];
|
||||
[self playEntry:[playlistController currentEntry]];
|
||||
}
|
||||
|
||||
- (IBAction)seek:(id)sender
|
||||
|
|
Loading…
Reference in New Issue