metadata

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 14 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetadataRequest

type MetadataRequest struct {
	Reader io.Reader `json:"-"`
}

func (MetadataRequest) Query

func (r MetadataRequest) Query() url.Values

Query returns no parameters - Reader is excluded from JSON (it's supplied as the request body, not the query string), leaving nothing to encode.

func (*MetadataRequest) Run

func (req *MetadataRequest) Run(ctx schema.Context) error

func (*MetadataRequest) Task

func (r *MetadataRequest) Task() string

Task identifies this task's kind, for Status.Task.

func (*MetadataRequest) Validate added in v1.9.3

func (r *MetadataRequest) Validate() error

Validate checks that r is well-formed: a non-nil Reader.

type MetadataResponse

type MetadataResponse struct {
	Name     string             `json:"name,omitempty" help:"Name of the probed input, if known (e.g. the uploaded filename)." example:"sample.mp3"`
	Type     string             `json:"type,omitempty" help:"Detected content type (MIME type) of the input, e.g. \"video/mp4\"." example:"video/mp4"`
	Metadata []profile.Metadata `json:"metadata,omitempty" help:"Container-level metadata tags, e.g. \"title\", \"artist\"; excludes artwork and chapters."`
	Artwork  []profile.Artwork  `json:"artwork,omitempty" help:"Artwork images embedded in the input, e.g. album cover art."`
}

Jump to

Keyboard shortcuts

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