Skip to content

nightly-2bd77b98-ls204

Pre-release
Pre-release

Choose a tag to compare

@LinuxServer-CI LinuxServer-CI released this 03 Dec 22:07
· 1 commit to nightly since this release
cef13b8

CI Report:

https://ci-tests.linuxserver.io/linuxserver/beets/nightly-2bd77b98-ls204/index.html

LinuxServer Changes:

No changes

Remote Changes:

Fix convert --format with never_convert_lossy_files (#6171)

Description

Fixes #5625

When convert.never_convert_lossy_files is enabled, beet convert was
ignoring the explicit --format option and just copying the lossy files
without
transcoding them. For example:

  • beet convert format:mp3 --format opus

would still produce MP3 files instead of OPUS.

Change:

  • Allows to override options never_convert_lossy_files, max_bitrate
    or no_convert for beet convert as well as trying to convert to the
    same format as existing already with a new option --force. That way,
    for example lossy files selected by the query are transcoded to the
    requested format anyway.
  • Keeps existing behavior for automatic conversion on import (no CLI
    override there).
  • Adds tests to cover checking whether --force correctly overrides
    settings or CLI options.
  • Documents the behavior in the convert plugin docs

Co-authored-by: J0J0 Todos [email protected]