From b64bda86ff9572809c0b5a50ad3b510187fc31ac Mon Sep 17 00:00:00 2001 From: Konstantin <78656278+amogus07@users.noreply.github.com> Date: Sun, 8 Mar 2026 13:57:42 +0100 Subject: [PATCH 1/2] try to fix fish plugin --- beetsplug/fish.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/fish.py b/beetsplug/fish.py index 9de764656..27b186a4c 100644 --- a/beetsplug/fish.py +++ b/beetsplug/fish.py @@ -25,7 +25,7 @@ by default but can be added via the `-e` / `--extravalues` flag. For example: import os from operator import attrgetter -from beets import library, ui +from beets import library, plugins, ui from beets.plugins import BeetsPlugin from beets.ui import commands @@ -111,7 +111,7 @@ class FishPlugin(BeetsPlugin): nobasicfields = opts.noFields # Do not complete for album/track fields extravalues = opts.extravalues # e.g., Also complete artists names beetcmds = sorted( - (commands.default_commands + commands.plugins.commands()), + (commands.default_commands + plugins.commands()), key=attrgetter("name"), ) fields = sorted(set(library.Album.all_keys() + library.Item.all_keys())) From d2705fef4e0fc2990f2a8c37371a207fac5e2be9 Mon Sep 17 00:00:00 2001 From: Konstantin <78656278+amogus07@users.noreply.github.com> Date: Sun, 8 Mar 2026 14:16:49 +0100 Subject: [PATCH 2/2] Update changelog.rst --- docs/changelog.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 323fdfcb1..8a7470932 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -13,9 +13,10 @@ Unreleased New features ~~~~~~~~~~~~ -.. - Bug fixes - ~~~~~~~~~ +Bug fixes +~~~~~~~~~ + +- :doc:`plugins/fish`: Fix AttributeError. :bug:`6340` .. For plugin developers