types

package
v0.0.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: AGPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
const DefaultTaskQueuePrefix = "media-processor"

DefaultTaskQueuePrefix is the prefix applied to the workflow task queue and every activity task queue. The watcher dispatches workflows to the prefix-only queue and the worker derives activity queues from it. Lives here (the CGo-free types package) so the watcher can import it without pulling in libav.

View Source
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"`
	SkipCropDetection      bool               `json:"skip_crop_detection,omitempty"`
	OutputPath             string             `json:"output_path"`
	OutputRemotePath       string             `json:"output_remote_path,omitempty"`
}

MediaInput is the workflow's trigger payload.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL