I am looking for ideas on the best way to add ReplayGain (album & track) tags to a library of 30,000 mostly FLAC & 320kbps MP3 files.

I am aware that Foobar2000 has tools to do this but it seems to be a two stage process whereas I am looking for a point, click and leave solution.

EDIT Some files already have RG tags