diff --git a/PrePostProcessor.cpp b/PrePostProcessor.cpp index 2e0e8729..7bf68c89 100644 --- a/PrePostProcessor.cpp +++ b/PrePostProcessor.cpp @@ -189,9 +189,17 @@ void PrePostProcessor::QueueCoordinatorUpdate(Subject * Caller, void * Aspect) { char szNZBNiceName[1024]; pAspect->pFileInfo->GetNiceNZBName(szNZBNiceName, 1024); - info("Collection %s completely downloaded", szNZBNiceName); + if (pAspect->eAction == QueueCoordinator::eaFileCompleted) + { + info("Collection %s completely downloaded", szNZBNiceName); + } + else + { + info("Collection %s deleted from queue", szNZBNiceName); + } #ifndef DISABLE_PARCHECK - if (g_pOptions->GetParCheck()) + if (g_pOptions->GetParCheck() && + pAspect->eAction == QueueCoordinator::eaFileCompleted) { CheckPars(pAspect->pDownloadQueue, pAspect->pFileInfo); } diff --git a/QueueCoordinator.cpp b/QueueCoordinator.cpp index d6a07470..9bbfe816 100644 --- a/QueueCoordinator.cpp +++ b/QueueCoordinator.cpp @@ -348,6 +348,9 @@ bool QueueCoordinator::DeleteQueueEntry(FileInfo* pFileInfo) } if (!hasDownloads) { + Aspect aspect = { eaFileDeleted, pFileInfo, &m_DownloadQueue, NULL }; + Notify(&aspect); + DeleteFileInfo(pFileInfo); } return hasDownloads;