From c860f349df920a44fe9aa6891ec255f432297021 Mon Sep 17 00:00:00 2001 From: Michael Herger Date: Sun, 15 Dec 2024 21:52:30 +0100 Subject: [PATCH] Fix checking the existence of Genres... I'm sorry for that, @darrel-k! --- Slim/Schema/Genre.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Slim/Schema/Genre.pm b/Slim/Schema/Genre.pm index 86a837e6ec..2174e4eb23 100644 --- a/Slim/Schema/Genre.pm +++ b/Slim/Schema/Genre.pm @@ -62,9 +62,9 @@ sub isMyClassicalGenre { loadMyClassicalGenreMap() if !$myClassicalGenreMap; - return grep { + return (grep { $myClassicalGenreMap->{uc($_)} - } Slim::Music::Info::splitTag($genres, $sep) ? 1 : 0; + } Slim::Music::Info::splitTag($genres, $sep)) ? 1 : 0; } sub myClassicalGenreIds {