nfo

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(m Movie) ([]byte, error)

Types

type Actor

type Actor struct {
	Name string `xml:"name"`
}

type Movie

type Movie struct {
	XMLName    xml.Name `xml:"movie"`
	Title      string   `xml:"title"`
	URLs       []string `xml:"url,omitempty"`
	Premiered  string   `xml:"premiered,omitempty"`
	Plot       string   `xml:"plot,omitempty"`
	Studio     string   `xml:"studio,omitempty"`
	Thumbnails []Thumb  `xml:"thumb,omitempty"`
	Actors     []Actor  `xml:"actor,omitempty"`
	Tags       []string `xml:"tag,omitempty"`
}

func FromMergedScene

func FromMergedScene(m match.MergedScene) Movie

type Thumb

type Thumb struct {
	Aspect string `xml:"aspect,attr"`
	URL    string `xml:",chardata"`
}

Jump to

Keyboard shortcuts

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