From b7781142662cc0012c2f9b3c15a124d7eda80dc6 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Mon, 10 Jan 2022 13:05:41 -0500 Subject: [PATCH] 2022-01-10 Fred Gleason * Fixed a bug that caused rdimport(1) to fail to apply the '' tag when processing RDXL metadata. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ lib/rdcut.cpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a9d7d1ce..14d88e47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22878,3 +22878,6 @@ * Fixed a regression that broke the 'make rpm' target. 2022-01-08 Fred Gleason * Reset 'apis/pypad/tests/now_and_next.py' to use localhost. +2022-01-10 Fred Gleason + * Fixed a bug that caused rdimport(1) to fail to apply the + '' tag when processing RDXL metadata. diff --git a/lib/rdcut.cpp b/lib/rdcut.cpp index d90dfdb3..7ca82013 100644 --- a/lib/rdcut.cpp +++ b/lib/rdcut.cpp @@ -2,7 +2,7 @@ // // Abstract a Rivendell Cut. // -// (C) Copyright 2002-2021 Fred Gleason +// (C) Copyright 2002-2022 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -1115,6 +1115,7 @@ void RDCut::setMetadata(RDWaveData *data) const sql+=QString("`RELEASE_MBID`='")+ RDEscapeString(data->releaseMbId().left(40))+"',"; } + sql+=QString::asprintf("`PLAY_GAIN`=%d,",data->playGain()); if(data->startPos()>=0) { sql+=QString::asprintf("`START_POINT`=%d,",data->startPos()); }