If dynamic playlists helper does not start, show link to wiki page
detailing perl dependencies. Closes #1113
This commit is contained in:
committed by
Craig Drummond
parent
56770a7dc2
commit
8bb167299f
@@ -378,6 +378,13 @@ bool DynamicPlaylists::controlApp(bool isStart)
|
||||
connect(localTimer, SIGNAL(timeout()), SLOT(checkHelper()));
|
||||
}
|
||||
bool rv=process.waitForFinished(1000);
|
||||
if (isStart && rv) {
|
||||
int exitCode = process.exitCode();
|
||||
DBUG << exitCode;
|
||||
if (0!=exitCode) {
|
||||
emit error(tr("Could not start dynamic helper. Please check all <a href=\"https://github.com/CDrummond/cantata/wiki/Dynamic-Palylists-Helper\">dependencies</a> are installed."));
|
||||
}
|
||||
}
|
||||
localTimer->start(1000);
|
||||
return rv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user