MCPcopy Create free account
hub / github.com/pyload/pyload / event_queue

Method event_queue

module/plugins/hooks/IRC.py:221–231  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 2

getQueueDataMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected