From 20db9bb1a65591b452880633f04d5571b4e59247 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 18 Dec 2014 04:03:15 +0000 Subject: [PATCH] lyrics: Connect force option to CLI (#1150) --- beetsplug/lyrics.py | 6 ++++-- docs/changelog.rst | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index 4aeae07c8..290142790 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -443,8 +443,10 @@ class LyricsPlugin(BeetsPlugin): # import_write config value. write = config['import']['write'].get(bool) for item in lib.items(ui.decargs(args)): - self.fetch_item_lyrics(lib, logging.INFO, item, write, - opts.force_refetch) + self.fetch_item_lyrics( + lib, logging.INFO, item, write, + opts.force_refetch or self.config['force'], + ) if opts.printlyr and item.lyrics: ui.print_(item.lyrics) diff --git a/docs/changelog.rst b/docs/changelog.rst index 27051ecf7..c1557da92 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -18,9 +18,10 @@ New: database changes. Thanks again to xsteadfastx. :bug:`1120` * Add a warning when importing a directory that contains no music. :bug:`1116` :bug:`1127` -* The :doc:`/plugins/zero` can remove embedded images. :bug:`1129` :bug:`1100` +* :doc:`/plugins/zero`: Can now remove embedded images. :bug:`1129` :bug:`1100` * The :ref:`config-cmd` command can now be used to edit the configuration even when it has syntax errors. :bug:`1123` :bug:`1128` +* :doc:`/plugins/lyrics`: Added a new ``force`` config option. :bug:`1150` Fixed: