Bug Fix: Change how pause stops unseekable files

Change the stop action slightly.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2025-03-09 23:45:01 -07:00
parent b34e1b5c6d
commit cdc35c7cae

View file

@ -204,8 +204,9 @@ static double reverseSpeedScale(double input, double min, double max) {
}
- (IBAction)pause:(id)sender {
if(!([playlistController currentEntry].seekable)) {
return [self stop:sender];
if(![self seekable]) {
[self stop:sender];
return;
}
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusPaused forKey:@"lastPlaybackStatus"];