checks if all files are finished and dispatch event
(self)
| 366 | return self.queuecount |
| 367 | |
| 368 | def checkAllLinksFinished(self): |
| 369 | """checks if all files are finished and dispatch event""" |
| 370 | |
| 371 | if not self.getQueueCount(True): |
| 372 | self.core.hookManager.dispatchEvent("allDownloadsFinished") |
| 373 | self.core.log.debug("All downloads finished") |
| 374 | return True |
| 375 | |
| 376 | return False |
| 377 | |
| 378 | def checkAllLinksProcessed(self, fid): |
| 379 | """checks if all files was processed and pyload would idle now, needs fid which will be ignored when counting""" |
no test coverage detected