Skip to content

replaygain: Add more tags (like those generated by loudgain) #3378

Closed
@Moonbase59

Description

@Moonbase59

Use case

I'm trying to use beets in conjunction with loudgain. Loudgain is an EBU R128 based replaygain tagger than can tag a lot of file types, using a superset of the well-known mp3gain commandline syntax.

Loudgain has the ability, apart from calculating track/album gain and peak values, to also store the track/album loudness ranges (LRA) and the reference loudness used in the tags.

MusicBrainz Picard already recognizes these, and I’d much like to bring loudgain and beets closer together, also supporting these values. (I actually do search for things like reference loudness and dynamic ranges.)

For the loudgain backend proposed in #3368, loudgain could of course also provide these values.

Solution

As a first step, I’d like beets to recognise the additional fields. Second, we should be sure that beets can read these case-insensitively, because this is today still a problem with many players, for instance KODI requires lowercase ReplayGain tags, VLC requires uppercase. Sigh.

It’d also be great if beets could write these tags as found, or at least upper-/lowercase be specified somewhere, for the same reasons. It wouldn’t much help if a user had tagged his whole collection of 150k files using lowercase ReplayGain tags (for a reason), and beets would overwrite them with uppercase versions … You might want to read this.

If anyone knowledgeable could point me at a good start (i.e., where to look), I’d even try to prepare a PR.

Alternatives

These are quite basic values, and should be in the core. I think.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needinfoWe need more details or follow-up from the filer before this can be tagged "bug" or "feature."stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions