2017-05-11 Fred Gleason <fredg@paravelsystems.com>

* Removed debug printfs from 'lib/rdcddblookup.cpp'.
This commit is contained in:
Fred Gleason 2017-05-11 08:53:09 -04:00
parent 655d4c37a3
commit c4af1a9f1b
2 changed files with 2 additions and 3 deletions

View File

@ -15771,3 +15771,5 @@
* Added a workaround for icedax(1)'s idiotic user prompt in
'lib/rdcddblookup.cpp' to prevent freezes when attempting to read
CD-TEXT.
2017-05-11 Fred Gleason <fredg@paravelsystems.com>
* Removed debug printfs from 'lib/rdcddblookup.cpp'.

View File

@ -346,12 +346,10 @@ bool RDCddbLookup::ReadCdText(const QString &cdda_dir,const QString &cdda_dev)
output=proc->readStderr();
if(output.size()>0) { // Work around icedax(1)'s idiotic user prompt
if(strncmp(output,"load cdrom please and press enter",33)==0) {
printf("icedax killed!\n");
proc->kill();
delete proc;
return false;
}
printf("icedax spinning...\n");
}
}
if((!proc->normalExit())||(proc->exitStatus()!=0)) {
@ -359,7 +357,6 @@ bool RDCddbLookup::ReadCdText(const QString &cdda_dir,const QString &cdda_dev)
return false;
}
delete proc;
printf("icedax success!\n");
//
// Read the Track Title Data File