Replies: 1 comment 1 reply
-
With the commit 507d58a, you can now write something like
to specify the tag set by the replaygain protocol. This should solve your problems, right? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My current on-air script has an "album" playlist...
...designed so I can drop an album's worth of files into a list and they will be played in order, merged (bypasses the crossfade function) and with amplify overridden by the "replaygain_album_gain" tags.
It is prioritized with other sources through a fallback statement and then that result is sent through replaygain, crossfade and mksafe.
(Prior to 2.0.0 there was no "replaygain()" function, you had to use "amplify()" instead with the appropriate override tag)
In 1.4.x the "replaygain" protocol either read the "replaygain_track_gain" metadata tag or if that tag was not found, ran it through ffmpeg to get a replay gain reading. The result from either of these was annotated into the source as a "replaygain" tag.
This gave my script a little bit of flexibility:
Now in 2.0.0, I've noticed that the "replay_gain" protocol annotates the tag "replaygain_track_gain" into a source, which is the same tag that is present in the file metadata if replay gain has been applied. I think on the surface that sounds like a good idea, however:
I propose that the replay_gain protocol annotate a slightly different tag, maybe "liq_replaygain_track_gain" or even just "liq_replaygain" to differentiate annotated replay_gain added by the protocol from the preexisting tag present in the file. The "replaygain()" function could be retooled so the amplification overrides on the new "liq_replaygain" tag. This way tracks with replaygain metadata won't be adjusted unless the "replay_gain" protocol is used. If the protocol is used, it will read the existing "replaygain_track_gain" tag in the metadata and annotate that value as "liq_replaygain".
I'll probably modify my own local files to try this out, but maybe it's something worth making official.
Make sense? Or clear as mud? Comments and suggestions always welcome.
Beta Was this translation helpful? Give feedback.
All reactions