If dynamic playlists helper does not start, show link to wiki page

detailing perl dependencies.
Closes #1113
This commit is contained in:
Craig Drummond
2017-11-03 13:41:37 +00:00
committed by Craig Drummond
parent 56770a7dc2
commit 8bb167299f
3 changed files with 10 additions and 0 deletions

View File

@@ -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;
}