mirror of
https://github.com/nzbget/nzbget.git
synced 2026-05-24 04:34:30 -04:00
added new option <NzbAddedProcess> to setup a script called after a nzb-file is added to queue
This commit is contained in:
@@ -270,6 +270,11 @@ void PrePostProcessor::NZBAdded(DownloadQueue* pDownloadQueue, NZBInfo* pNZBInfo
|
||||
{
|
||||
PausePars(pDownloadQueue, pNZBInfo);
|
||||
}
|
||||
|
||||
if (strlen(g_pOptions->GetNZBAddedProcess()) > 0)
|
||||
{
|
||||
NZBAddedScriptController::StartScript(pDownloadQueue, pNZBInfo, g_pOptions->GetNZBAddedProcess());
|
||||
}
|
||||
}
|
||||
|
||||
void PrePostProcessor::NZBDownloaded(DownloadQueue* pDownloadQueue, NZBInfo* pNZBInfo)
|
||||
|
||||
Reference in New Issue
Block a user