(self, args)
| 219 | return lines |
| 220 | |
| 221 | def event_queue(self, args): |
| 222 | pdata = self.pyload.api.getQueueData() |
| 223 | |
| 224 | if not pdata: |
| 225 | return ["INFO: There are no packages in queue."] |
| 226 | |
| 227 | lines = [] |
| 228 | for pack in pdata: |
| 229 | lines.append('PACKAGE #%s: "%s" with %d links.' % (pack.pid, pack.name, len(pack.links))) |
| 230 | |
| 231 | return lines |
| 232 | |
| 233 | def event_collector(self, args): |
| 234 | pdata = self.pyload.api.getCollectorData() |
nothing calls this directly
no test coverage detected