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