On Mon, 9 Oct 2017 07:50:51 -0700
Jeremy Evans <jeremyeva...@gmail.com> wrote:

> Yes.  rgain stores the replaygain information in the ID3v2 tag for the file.
> It also prints out the replaygain after it calculates it for each file, as
> well as
> the album gain after processing all files, so you could just use the output
> if you don't want to extract the information from the ID3v2 tags.

Briefly tested it on amd64-current and all seems to work as expected.
Had to check the source to understand what "mod" does, but it's not a problem.

I think something like
G="`replaygain -fd *.mp3 | grep Album | cut -f5 -d ' '`"; for i in *.mp3; do 
mp3applygain "$G" 0 "$i"; done
should do the same thing as what mp3gain did before in my scripts.

Thank you for the port - I would like to see it in the ports tree eventually.

--
Andre

Reply via email to