From af5858d2008c8d92501f6aa8dc329286332034ee Mon Sep 17 00:00:00 2001 From: Duc Nguyen Date: Mon, 28 Feb 2022 14:17:18 +0100 Subject: [PATCH] doc + linter + changelog --- beetsplug/convert.py | 14 +++++++------- docs/changelog.rst | 3 ++- docs/plugins/convert.rst | 4 ++++ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 44141c691..c36d4aacb 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -203,13 +203,13 @@ class ConvertPlugin(BeetsPlugin): items = task.imported_items() convert = [self.convert_item(dest, - False, - path_formats, - fmt, - False, - link, - hardlink) - for _ in range(threads)] + False, + path_formats, + fmt, + False, + link, + hardlink) + for _ in range(threads)] pipe = util.pipeline.Pipeline([iter(items), convert]) pipe.run_parallel() diff --git a/docs/changelog.rst b/docs/changelog.rst index 633ddda24..f0c27d7b2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -13,6 +13,7 @@ New features: * Add the item fields ``bitrate_mode``, ``encoder_info`` and ``encoder_settings``. * Add query prefixes ``=`` and ``~``. * :doc:`/plugins/discogs`: Permit appending style to genre +* Add auto_keep option to convert. Bug fixes: @@ -64,7 +65,7 @@ For packagers: Other new things: -* :doc:`/plugins/limit`: Limit query results to head or tail (``lslimit`` +* :doc:`/plugins/limit`: Limit query results to head or tail (``lslimit`` command only) * :doc:`/plugins/fish`: Add ``--output`` option. diff --git a/docs/plugins/convert.rst b/docs/plugins/convert.rst index 799a20dbb..2cecd5a24 100644 --- a/docs/plugins/convert.rst +++ b/docs/plugins/convert.rst @@ -66,6 +66,10 @@ file. The available options are: default configuration) non-MP3 files over the maximum bitrate before adding them to your library. Default: ``no``. +- **auto_keep**: As opposite to **auto**, import non transcoded versions of + your files but still convert them to **dest**. It uses the default format + you have defined in your config file. + Default: ``no``. - **tmpdir**: The directory where temporary files will be stored during import. Default: none (system default), - **copy_album_art**: Copy album art when copying or transcoding albums matched