2022-09-26 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the Disc Ripper in rdlibrary(1) that caused
	manual changes to track metadata to be incorrectly applied.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-09-26 16:33:40 -04:00
parent 58e5551467
commit 28ce36b25b
2 changed files with 7 additions and 3 deletions

View File

@ -20941,3 +20941,6 @@
in the '[Hacks]' section of rd.conf(5).
2022-09-16 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 3.6.5int5.
2022-09-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the Disc Ripper in rdlibrary(1) that caused
manual changes to track metadata to be incorrectly applied.

View File

@ -715,7 +715,7 @@ void DiskRipper::modifyCartLabelData()
while(item!=NULL) {
if(item->isSelected()) {
int track=item->text(0).toInt()-1;
int track=rip_wave_datas.size()-item->text(0).toInt();
if(rip_wavedata_dialog->exec(rip_wave_datas[track])==0) {
item->setText(2,rip_wave_datas[track]->title());
}
@ -1086,9 +1086,10 @@ void DiskRipper::RipTrack(int track,int end_track,QString cutname,QString title)
&audio_conv_err))) {
case RDAudioImport::ErrorOk:
cart->setMetadata(rip_wave_datas[rip_wave_datas.size()-track]);
cut->setDescription(rip_wave_datas[track-1]->title());
cut->setDescription(rip_wave_datas[rip_wave_datas.size()-track]->title());
cut->setIsrc(rip_disc_record.isrc(rip_track_number-1));
cut->setRecordingMbId(rip_disc_record.trackRecordingMbId(rip_track_number-1));
cut->setRecordingMbId(rip_disc_record.
trackRecordingMbId(rip_track_number-1));
cut->setReleaseMbId(rip_disc_record.discReleaseMbId());
cart->clearPending();
SendNotification(RDNotification::AddAction,cart->number());