From aee05d55038f4675f90335f295f28093c883b4cc Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sun, 9 Mar 2025 23:45:01 -0700 Subject: [PATCH] Bug Fix: Change how pause stops unseekable files Change the stop action slightly. Signed-off-by: Christopher Snowhill --- Application/PlaybackController.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/PlaybackController.m b/Application/PlaybackController.m index ebe345893..58503d61c 100644 --- a/Application/PlaybackController.m +++ b/Application/PlaybackController.m @@ -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"];