2020-11-07 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the Webget service that caused it to ignore
	the value of the 'Default Channels' setting in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2020-11-07 14:11:41 -05:00
parent d858de6f09
commit a8b48763c3
2 changed files with 6 additions and 0 deletions

View File

@ -20555,3 +20555,6 @@
2020-11-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the quotation marks around the title field in the
put response dialog in WebGet.
2020-11-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the Webget service that caused it to ignore
the value of the 'Default Channels' setting in rdadmin(1).

View File

@ -365,6 +365,9 @@ void MainObject::PutAudio()
}
QStringList args;
if(rda->libraryConf()->defaultChannels()==1) {
args.push_back("--to-mono");
}
args.push_back("--output-pattern=Added cart %n [%t]");
args.push_back(group_name);
args.push_back(filename);