Improve Task Display
This commit is contained in:
parent
1a46eaf51b
commit
1a181980a3
4 changed files with 49 additions and 18 deletions
|
@ -7,10 +7,10 @@ import (
|
|||
)
|
||||
|
||||
type TaskStart struct {
|
||||
ID int `json:"id"`
|
||||
FileID int `json:"file_id"`
|
||||
FileMD5 []byte `json:"file_md5"`
|
||||
Type int `json:"type"`
|
||||
ID int `json:"id"`
|
||||
FileID int `json:"file_id"`
|
||||
FileMD5 []byte `json:"file_md5"`
|
||||
Type constants.TaskType `json:"type"`
|
||||
Data json.RawMessage
|
||||
FfmpegCommand FFmpegCommand `json:"ffmpeg_command"`
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ type Task struct {
|
|||
ID int `json:"id"`
|
||||
FileID int `json:"file_id"`
|
||||
FileMD5 []byte `json:"md5"`
|
||||
Type int `json:"type"`
|
||||
Type constants.TaskType `json:"type"`
|
||||
Status constants.TaskStatus `json:"status"`
|
||||
FfmpegCommand FFmpegCommand `json:"ffmpeg_command"`
|
||||
Log []string `json:"log"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue