Add support for ReplayGain
Use cases
- Users who have an MP3 collection with no (or incorrect) ReplayGain tags and wish to create/recreate them
- Users who would like to view if their MP3 files have ReplayGain information stored in their tags, and what is stored there
Desired behavior
- The ID3 view for each file shows ReplayGain information along with other values
- There is a button to scan the file and set its ReplayGain information automatically
- Optionally, a button/command for updating batches of files with ReplayGain information
Scanning can possibly performed with mp3gain
as an external tool so easytag doesn’t have to reinvent the wheel.
Benefits of the solution
On Linux there doesn’t seem to be a simple, ready-to-use solution for adding ReplayGain tags to MP3 files. https://askubuntu.com/a/1042904/149408 suggests creating a custom perl script to accomplish this—there’s got to be a better way, and easytag is the obvious one.
Possible drawbacks
- If scanning is implemented internally, or using a library that is a dependency for ReplayGain or (e.g. on Windows) ships with ReplayGain, I don’t see any drawbacks other than a few extra kilobytes of storage taken up by easytag. It adds extra functionality without breaking any existing functionality, and anyone who doesn’t want or need it can simply not use it.
- If scanning is implemented via an external command-line tool such as
mp3gain
, the user will need to tell easytag where to find the binary, which is a potential point of failure. On the other hand, it would at most break the new functionality.