From 15bc3e73c57a74498dd95a84247ed49f67e3b9f4 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 25 Sep 2023 21:38:41 +0200 Subject: [PATCH] SqueezePlay.pm: correct regexp for fade_volume --- Slim/Player/SqueezePlay.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Slim/Player/SqueezePlay.pm b/Slim/Player/SqueezePlay.pm index 8e16571921c..cfce6cfd5f4 100644 --- a/Slim/Player/SqueezePlay.pm +++ b/Slim/Player/SqueezePlay.pm @@ -247,7 +247,7 @@ sub pcm_sample_rates { sub fade_volume { my ($client, $fade, $callback, $callbackargs) = @_; - if (abs($fade) > 1 || $client->model !~ /baby|fab4/) { + if (abs($fade) > 1 || $client->model =~ /baby|fab4/) { # for long fades do standard behavior so that sleep/alarm work $client->SUPER::fade_volume($fade, $callback, $callbackargs); } else {