Documentation
¶
Overview ¶
Package presets provides built-in TRaSH-compatible custom format definitions that users can import with a single click. Preset data is embedded at compile time using //go:embed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preset ¶
type Preset struct {
ID string `json:"id"` // stable identifier (filename without extension)
Name string `json:"name"` // display name from the JSON
Category string `json:"category"` // grouping: "HD Bluray", "WEB", "Audio", "HDR", "Unwanted"
Description string `json:"description"` // one-line explanation
Score int `json:"default_score"` // recommended score from trash_scores.default
Data []byte `json:"-"` // raw TRaSH-format JSON (omitted from API list)
}
Preset describes a built-in custom format that can be imported.