Skip to content

nightly-27e390ce-ls3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Nov 17:14
· 19 commits to nightly since this release

CI

Test report · Build status

LinuxServer changes

No changes

Upstream changes

Source: beetbox/beets@27e390c

Fix ReplayGain metaflac backend altering input files (#6916)

Description

Fixes #6915.

I was able to try out this PR and it works as expected. The ReplayGain
tags are now only written to the copy of the file in the library, and
not to the original file that was imported from.

To Do

  • Documentation.
  • Changelog.
  • Tests.

Remaining questions

As this is my first contribution to beets and that I do not consider
myself very experienced with Python, I would like to ask for feedback on
the following:

  • Should I have updated the documentation to indicate the minimum
    version required for metaflac? Would you like me to put it somewhere
    else/in another way?
  • Should I add a check if the --scan-replay-gain option is available
    and throw a FatalReplayGainError exception if not, or is it sufficient
    to mention it in the documentation?
    - GitHub Copilot seems to have
    answered my question.
  • Should I use more Pythonic code to create the track_gains list? I
    find the current implementation more readable, but I am not sure if it
    is the best practice.

Thank you for your time and for reviewing my PR.

AI disclaimer

I have used AI to help me write this PR.