From d4dc46591d89113f047e3455e7e9bca0afc440d5 Mon Sep 17 00:00:00 2001 From: kelamg Date: Fri, 20 Mar 2026 16:26:44 +0100 Subject: [PATCH] Update beetsplug/lyrics.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- beetsplug/lyrics.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index ff6826d0b..e173bb319 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -1139,12 +1139,12 @@ class LyricsPlugin(LyricsRequestHandler, plugins.BeetsPlugin): def is_excluded(self, item: Item) -> bool: """Return True if the item matches an exclusion rule.""" - exclude_albums = [ + exclude_albums = { a.lower() for a in self.config["exclude_albums"].as_str_seq() - ] - exclude_songs = [ + } + exclude_songs = { s.lower() for s in self.config["exclude_songs"].as_str_seq() - ] + } if item.album and item.album.lower() in exclude_albums: return True