Skip to content

Commit

Permalink
convert: Correctly identify WAVE format as lossless
Browse files Browse the repository at this point in the history
Seems like this entry was added before mediafile gained support for WAVE
files in commit 832f3d. Adjust it to fix detection.
  • Loading branch information
Bobo1239 committed Mar 1, 2024
1 parent dae5257 commit 47ba590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 47ba590

Please sign in to comment.