From 47ba59099935ba25239f145e010a4f4f89f32ca8 Mon Sep 17 00:00:00 2001 From: Boris-Chengbiao Zhou Date: Sun, 25 Feb 2024 00:08:53 +0100 Subject: [PATCH] convert: Correctly identify WAVE format as lossless Seems like this entry was added before mediafile gained support for WAVE files in commit 832f3d. Adjust it to fix detection. --- beetsplug/convert.py | 2 +- docs/changelog.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 51312d77b4..22a88fd5d8 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -40,7 +40,7 @@ "vorbis": "ogg", } -LOSSLESS_FORMATS = ["ape", "flac", "alac", "wav", "aiff"] +LOSSLESS_FORMATS = ["ape", "flac", "alac", "wave", "aiff"] def replace_ext(path, ext): diff --git a/docs/changelog.rst b/docs/changelog.rst index bef91e21d0..bda334b6bc 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -153,6 +153,9 @@ New features: * :doc:`/plugins/smartplaylist`: Add new option `smartplaylist.uri_format`. * Sorted the default configuration file into categories. :bug:`4987` +* :doc:`/plugins/convert`: Don't treat WAVE (`.wav`) files as lossy anymore + when using the `never_convert_lossy_files` option. They will get transcoded + like the other lossless formats. Bug fixes: