complexlogic / rsgain

A simple, but powerful ReplayGain 2.0 tagging utility
Other
288 stars 20 forks source link

Writing both opus tags #119

Open matejdro opened 4 months ago

matejdro commented 4 months ago

Hello,

Would it be possible to add support to writing both replay gain opus tags, so both ReplayGain tags (d mode) and R128_*_GAIN tags (r/s mode) would be written?

In my case, I want to play my music files on two different players, one supports one kind of tag on other supports the other kind of tag.

Thanks.

complexlogic commented 4 months ago

This is currently not possible. You have to pick one tag format or the other.

The third option is to write to the header gain. That will ensure that all players will apply the gain, but you don't have the option to dynamically switch between album gain and track gain.

matejdro commented 4 months ago

Header gain is also not ideal for me, because fallback gain (for tracks without replay gain) is not working then (it considers all Opus tracks as not having replay gain data and it applies fallback gain). I'm using very low fallback gain to detect tracks in my collections that have missing replay gain data, so I would loose this ability.

Any chance this could be added in?

JcKlomp commented 4 months ago

I'd like this too. It is pretty much the only way to get opus replaygain with all players. It is a bit hacky but IMO still more appealing than the header gain method.

Perhaps consider to have an option to not strip the conflicting replaygain tags? Then it would be a matter of running rsgain twice with the different opus tagging options for those that want to go this route.

That sounds more convenient than running two separate gain tagging tools to get both types of replaygain tags for opus.