2022-01-10 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug that caused rdimport(1) to fail to apply the
	'<playGain>' tag when processing RDXL metadata.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-01-10 13:05:41 -05:00
parent 4b4a7156e2
commit b778114266
2 changed files with 5 additions and 1 deletions

View File

@@ -22878,3 +22878,6 @@
* Fixed a regression that broke the 'make rpm' target.
2022-01-08 Fred Gleason <fredg@paravelsystems.com>
* Reset 'apis/pypad/tests/now_and_next.py' to use localhost.
2022-01-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that caused rdimport(1) to fail to apply the
'<playGain>' tag when processing RDXL metadata.

View File

@@ -2,7 +2,7 @@
//
// Abstract a Rivendell Cut.
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
//
// 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());
}