Returns info about queue and packages, **not** about files, see `getQueueData` \ or `getPackageData` instead. :return: list of `PackageInfo`
(self)
| 533 | |
| 534 | @permission(PERMS.LIST) |
| 535 | def getQueue(self): |
| 536 | """Returns info about queue and packages, **not** about files, see `getQueueData` \ |
| 537 | or `getPackageData` instead. |
| 538 | |
| 539 | :return: list of `PackageInfo` |
| 540 | """ |
| 541 | return [PackageData(pack["id"], pack["name"], pack["folder"], pack["site"], |
| 542 | pack["password"], pack["queue"], pack["order"], |
| 543 | pack["linksdone"], pack["sizedone"], pack["sizetotal"], |
| 544 | pack["linkstotal"]) |
| 545 | for pack in self.core.files.getInfoData(Destination.Queue).itervalues()] |
| 546 | |
| 547 | @permission(PERMS.LIST) |
| 548 | def getQueueData(self): |
nothing calls this directly
no test coverage detected