preserve file extension
All checks were successful
/ release (push) Successful in 52s

This commit is contained in:
Samuel Lorch 2025-03-19 20:59:38 +01:00
parent 0ce5b46449
commit 5ecfd81967
4 changed files with 10 additions and 4 deletions

View file

@ -10,6 +10,7 @@ type TaskStart struct {
ID int `json:"id"`
FileID int `json:"file_id"`
FileMD5 []byte `json:"file_md5"`
FileExtension string `json:"file_extension"`
Type constants.TaskType `json:"type"`
Data json.RawMessage
FfmpegCommand FFmpegCommand `json:"ffmpeg_command"`
@ -19,6 +20,7 @@ type Task struct {
ID int `json:"id"`
FileID int `json:"file_id"`
FileMD5 []byte `json:"md5"`
FileExtension string `json:"file_extension"`
Type constants.TaskType `json:"type"`
Status constants.TaskStatus `json:"status"`
FfmpegCommand FFmpegCommand `json:"ffmpeg_command"`