You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
821 B
51 lines
821 B
|
|
Signals list that DownloadManager, ProcessWrapper
|
|
threads send (DownloadThread.py)
|
|
|
|
HANDLER
|
|
=======
|
|
|
|
SignalHandler.py
|
|
|
|
class DownloadHandler()
|
|
def handle(self, msg):
|
|
.
|
|
.
|
|
.
|
|
|
|
HEADER
|
|
======
|
|
|
|
[
|
|
'finish', Download thread finished
|
|
'close', Download thread stopped by the user
|
|
'error', Error occured while downloading
|
|
'playlist', Playlist current download no/from
|
|
'youtube', Pre-Processing
|
|
'download', Download stuff [size, percent, eta, speed]
|
|
'ffmpeg', Post-Processing
|
|
'ignore', Ignore this header
|
|
'remove', Removing extra DASH files
|
|
'filename', Extract DASH extra filenames
|
|
]
|
|
|
|
|
|
INDEX
|
|
=====
|
|
|
|
index == -1: GLOBAL
|
|
index != -1: URL IN COLUMN
|
|
|
|
DATA
|
|
====
|
|
|
|
e.g.
|
|
['57.3%', '20.63MiB', '542.44KiB/s', '00:16']
|
|
|
|
DATA-PACK
|
|
=========
|
|
|
|
DataPack.header = header
|
|
DataPack.index = index
|
|
DataPack.data = data
|
|
|