mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-15 09:09:36 +02:00
2015-04-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlibrary/disk_ripper.cpp' that caused the tracks from discs with no CDDB data to received scrambled/incorrect cart titles.
This commit is contained in:
parent
babd9eb8e7
commit
bd47f50abf
@ -14849,3 +14849,7 @@
|
||||
* Modified the definition of the 'JACK_CLIENTS.COMMAND_LINE'
|
||||
field from 'char(255)' to 'text' in the database.
|
||||
* Incremented the database version to 244.
|
||||
2015-04-06 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'rdlibrary/disk_ripper.cpp' that caused the tracks
|
||||
from discs with no CDDB data to received scrambled/incorrect cart
|
||||
titles.
|
||||
|
@ -792,7 +792,7 @@ void DiskRipper::mediaChangedData()
|
||||
rip_cutnames.push_back(QString());
|
||||
rip_end_track.push_back(-1);
|
||||
rip_wave_datas.push_back(new RDWaveData());
|
||||
rip_wave_datas.back()->setTitle(tr("Track")+QString().sprintf(" %d",i+1));
|
||||
rip_wave_datas.back()->setTitle(tr("Track")+QString().sprintf(" %d",rip_cdrom->tracks()-i+1));
|
||||
l=new RDListViewItem(rip_track_list);
|
||||
l->setText(0,QString().sprintf("%d",i));
|
||||
if(rip_cdrom->isAudio(i)) {
|
||||
@ -1131,11 +1131,19 @@ QString DiskRipper::BuildTrackName(int start_track,int end_track) const
|
||||
while(item!=NULL) {
|
||||
if(item->text(0).toInt()==start_track) {
|
||||
ret=item->text(2);
|
||||
if(ret.isEmpty()) {
|
||||
ret=tr("Track")+" "+item->text(0);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if((item->text(0).toInt()>start_track)&&
|
||||
(item->text(0).toInt()<=end_track)) {
|
||||
ret+=" / "+item->text(2);
|
||||
if(item->text(2).isEmpty()) {
|
||||
ret+=" / "+tr("Track")+" "+item->text(0);
|
||||
}
|
||||
else {
|
||||
ret+=" / "+item->text(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
item=(RDListViewItem *)item->nextSibling();
|
||||
|
Loading…
x
Reference in New Issue
Block a user