From de94b6f034f9056e7cc23715fed4a4d8eb47384a Mon Sep 17 00:00:00 2001 From: "kbuffington@gmail.com" Date: Fri, 10 Jul 2020 20:12:40 -0500 Subject: [PATCH] LUFS cleanup --- js/georgia-main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/georgia-main.js b/js/georgia-main.js index 41f698b9..f1e149b6 100644 --- a/js/georgia-main.js +++ b/js/georgia-main.js @@ -1488,7 +1488,7 @@ function on_metadb_changed(handle_list, fromhook) { str.title_lower = ' ' + title; str.original_artist = original_artist; str.artist = artist; - str.year = $('[$year($if3(%original release date%,%originaldate%,%date%,%fy_upload_date%))]'); + str.year = $('[$year($if3(%original release date%,%originaldate%,%date%,%fy_upload_date%))]'); if (str.year === '0000') { str.year = ''; } @@ -1510,6 +1510,8 @@ function on_metadb_changed(handle_list, fromhook) { else codec = codec + "-" + $("$info(codec_profile)"); } str.trackInfo = $(codec + '[ | %replaygain_album_gain%]'); + // TODO: Add LUFS option? + // str.trackInfo += $('$if(%replaygain_track_gain%, | LUFS $puts(l,$sub(-1800,$replace(%replaygain_track_gain%,.,)))$div($get(l),100).$right($get(l),2) dB,)'); str.disc = fb.TitleFormat(tf.disc).Eval();