mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-19 07:30:34 +02:00
Merge branch 'deltecent-master'
This commit is contained in:
commit
e655f8a597
@ -19039,3 +19039,6 @@
|
||||
dialog.
|
||||
2019-08-28 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Added 'pypad_httpget.py' script.
|
||||
2019-08-29 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Modified caed(8) to skip JACK startup, rather than crash, if
|
||||
no command line is specified in rdadmin(1).
|
||||
|
@ -492,18 +492,24 @@ void MainObject::jackInit(RDStation *station)
|
||||
if(station->startJack()) {
|
||||
QStringList args=
|
||||
station->jackCommandLine().split(" ",QString::SkipEmptyParts);
|
||||
QString program=args.at(0);
|
||||
args.removeFirst();
|
||||
QProcess *proc=new QProcess(this);
|
||||
proc->start(program,args);
|
||||
if(proc->waitForStarted()) {
|
||||
RDApplication::syslog(rd_config,LOG_INFO,"JACK server started");
|
||||
if(args.size()) {
|
||||
QString program=args.at(0);
|
||||
args.removeFirst();
|
||||
QProcess *proc=new QProcess(this);
|
||||
proc->start(program,args);
|
||||
if(proc->waitForStarted()) {
|
||||
RDApplication::syslog(rd_config,LOG_INFO,"JACK server started");
|
||||
}
|
||||
else {
|
||||
RDApplication::syslog(rd_config,LOG_WARNING,
|
||||
"failed to start JACK server");
|
||||
}
|
||||
sleep(1);
|
||||
}
|
||||
else {
|
||||
RDApplication::syslog(rd_config,LOG_WARNING,
|
||||
"failed to start JACK server");
|
||||
RDApplication::syslog(rd_config,LOG_WARNING,
|
||||
"could not start JACK server: no command line specified");
|
||||
}
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user