mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 15:45:59 +01:00
2018-07-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused the credentials fields to be greyed out when configuring a podcast feed to use SFTP uploads. * Fixed a bug in 'RDExport' that caused encoding of credentials to be corrupt. * Fixed a regression in the RDFeed service that caused detection of feed names to fail.
This commit is contained in:
@@ -537,6 +537,7 @@ unsigned RDFeed::postCut(RDUser *user,RDStation *station,
|
||||
RDUpload *upload=NULL;
|
||||
RDUpload::ErrorCode upload_err;
|
||||
RDAudioConvert::ErrorCode audio_conv_err;
|
||||
RDAudioExport::ErrorCode export_err;
|
||||
|
||||
emit postProgressChanged(0);
|
||||
emit postProgressChanged(1);
|
||||
@@ -563,7 +564,7 @@ unsigned RDFeed::postCut(RDUser *user,RDStation *station,
|
||||
settings->setBitRate(uploadBitRate());
|
||||
settings->setNormalizationLevel(normalizeLevel()/100);
|
||||
conv->setDestinationSettings(settings);
|
||||
switch(conv->runExport(user->name(),user->password(),&audio_conv_err)) {
|
||||
switch((export_err=conv->runExport(user->name(),user->password(),&audio_conv_err))) {
|
||||
case RDAudioExport::ErrorOk:
|
||||
break;
|
||||
|
||||
@@ -728,7 +729,6 @@ unsigned RDFeed::postFile(RDStation *station,const QString &srcfile,Error *err,
|
||||
default:
|
||||
emit postProgressChanged(totalPostSteps());
|
||||
*err=RDFeed::ErrorUploadFailed;
|
||||
printf("Upload Error: %s\n",(const char *)RDUpload::errorText(upload_err));
|
||||
sql=QString().sprintf("delete from PODCASTS where ID=%u",cast_id);
|
||||
q=new RDSqlQuery(sql);
|
||||
delete q;
|
||||
|
||||
Reference in New Issue
Block a user