mirror of
https://github.com/beetbox/beets.git
synced 2026-03-28 00:06:51 +01:00
commit
f1509a40f9
2 changed files with 6 additions and 5 deletions
|
|
@ -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()))
|
||||
|
|
|
|||
|
|
@ -13,9 +13,10 @@ Unreleased
|
|||
New features
|
||||
~~~~~~~~~~~~
|
||||
|
||||
..
|
||||
Bug fixes
|
||||
~~~~~~~~~
|
||||
Bug fixes
|
||||
~~~~~~~~~
|
||||
|
||||
- :doc:`plugins/fish`: Fix AttributeError. :bug:`6340`
|
||||
|
||||
..
|
||||
For plugin developers
|
||||
|
|
|
|||
Loading…
Reference in a new issue