mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +01:00
2018-10-17 Fred Gleason <fredg@paravelsystems.com>
* Added an 'ExportedFileMode=' parameter to the '[Tuning]' section of rd.conf(5).
This commit is contained in:
@@ -336,6 +336,10 @@ void MainObject::RunUpload(CatchEvent *evt)
|
||||
catch_config->logXloadDebugData()))) {
|
||||
case RDUpload::ErrorOk:
|
||||
catch_connect->setExitCode(evt->id(),RDRecording::Ok,tr("Ok"));
|
||||
if(QUrl(evt->resolvedUrl()).protocol().lower()=="file") {
|
||||
chmod(QUrl(evt->resolvedUrl()).path(),
|
||||
catch_config->tuningExportedFileMode());
|
||||
}
|
||||
qApp->processEvents();
|
||||
LogLine(RDConfig::LogInfo,QString().
|
||||
sprintf("finished upload of %s to %s, id=%d",
|
||||
|
||||
Reference in New Issue
Block a user