Documentation
¶
Overview ¶
Package types defines the shared workflow name and input payload for the media processing workflow. It is intentionally free of CGO and FFmpeg dependencies so that cmd/watcher can import it without pulling in libav shared libraries.
Index ¶
Constants ¶
const MediaWorkflowName = "Media"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaInput ¶
type MediaInput struct {
FilePath string `json:"file_path"`
MediaType medialib.MediaType `json:"media_type"`
MappingName string `json:"mapping_name"`
PreserveSource bool `json:"preserve_source,omitempty"`
WatchRoot string `json:"watch_root,omitempty"`
RetainEmptyDirectories bool `json:"retain_empty_directories,omitempty"`
}
MediaInput is the workflow's trigger payload.