mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-07 15:42:34 +02:00
2017-06-28 Fred Gleason <fredg@paravelsystems.com>
* Added code to rdexport(1) to write the name of each file written to standard output.
This commit is contained in:
parent
13d5631d26
commit
ce40efc569
@ -15873,3 +15873,6 @@
|
|||||||
2017-06-27 Fred Gleason <fredg@paravelsystems.com>
|
2017-06-27 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added an output error to rdexport(1) for when invoked without the
|
* Added an output error to rdexport(1) for when invoked without the
|
||||||
output directory specified.
|
output directory specified.
|
||||||
|
2017-06-28 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added code to rdexport(1) to write the name of each file written
|
||||||
|
to standard output.
|
||||||
|
@ -190,7 +190,7 @@ MainObject::MainObject(QObject *parent)
|
|||||||
}
|
}
|
||||||
if(!cmd->processed(i)) {
|
if(!cmd->processed(i)) {
|
||||||
fprintf(stderr,"rdexport: unrecognized option\n");
|
fprintf(stderr,"rdexport: unrecognized option\n");
|
||||||
exit(256);
|
qApp->exit(256);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export_output_to=cmd->key(cmd->keys()-1);
|
export_output_to=cmd->key(cmd->keys()-1);
|
||||||
@ -460,9 +460,11 @@ void MainObject::ExportCut(RDCart *cart,RDCut *cut)
|
|||||||
|
|
||||||
if((export_err=conv->runExport(export_user->name(),export_user->password(),
|
if((export_err=conv->runExport(export_user->name(),export_user->password(),
|
||||||
&conv_err))==RDAudioExport::ErrorOk) {
|
&conv_err))==RDAudioExport::ErrorOk) {
|
||||||
|
QStringList f0=f0.split("/",conv->destinationFile());
|
||||||
|
printf("%s\n",(const char *)f0[f0.size()-1]);
|
||||||
if(export_xml) {
|
if(export_xml) {
|
||||||
FILE *f=NULL;
|
FILE *f=NULL;
|
||||||
QStringList f0=f0.split(".",conv->destinationFile(),true);
|
f0=f0.split(".",conv->destinationFile(),true);
|
||||||
QString filename;
|
QString filename;
|
||||||
for(unsigned i=0;i<f0.size()-1;i++) {
|
for(unsigned i=0;i<f0.size()-1;i++) {
|
||||||
filename+=f0[i]+".";
|
filename+=f0[i]+".";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user