doc + linter + changelog

This commit is contained in:
Duc Nguyen 2022-02-28 14:17:18 +01:00
parent 18e8b73c33
commit af5858d200
3 changed files with 13 additions and 8 deletions

View file

@ -203,13 +203,13 @@ class ConvertPlugin(BeetsPlugin):
items = task.imported_items() items = task.imported_items()
convert = [self.convert_item(dest, convert = [self.convert_item(dest,
False, False,
path_formats, path_formats,
fmt, fmt,
False, False,
link, link,
hardlink) hardlink)
for _ in range(threads)] for _ in range(threads)]
pipe = util.pipeline.Pipeline([iter(items), convert]) pipe = util.pipeline.Pipeline([iter(items), convert])
pipe.run_parallel() pipe.run_parallel()

View file

@ -13,6 +13,7 @@ New features:
* Add the item fields ``bitrate_mode``, ``encoder_info`` and ``encoder_settings``. * Add the item fields ``bitrate_mode``, ``encoder_info`` and ``encoder_settings``.
* Add query prefixes ``=`` and ``~``. * Add query prefixes ``=`` and ``~``.
* :doc:`/plugins/discogs`: Permit appending style to genre * :doc:`/plugins/discogs`: Permit appending style to genre
* Add auto_keep option to convert.
Bug fixes: Bug fixes:
@ -64,7 +65,7 @@ For packagers:
Other new things: 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) command only)
* :doc:`/plugins/fish`: Add ``--output`` option. * :doc:`/plugins/fish`: Add ``--output`` option.

View file

@ -66,6 +66,10 @@ file. The available options are:
default configuration) non-MP3 files over the maximum bitrate before adding default configuration) non-MP3 files over the maximum bitrate before adding
them to your library. them to your library.
Default: ``no``. 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. - **tmpdir**: The directory where temporary files will be stored during import.
Default: none (system default), Default: none (system default),
- **copy_album_art**: Copy album art when copying or transcoding albums matched - **copy_album_art**: Copy album art when copying or transcoding albums matched