metadata

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownFiletype = errors.New("unknown filetype")
	SupportedExt       = []string{
		"flac",
		"aiff",
		"mp3",
		"ogg",
	}
)

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Title        string
	Num          int
	Disc         int
	Album        string
	Artists      []string
	AlbumArtists []string
	Duration     time.Duration
	Image        []byte
}

func Parse

func Parse(path string) (Metadata, error)

Jump to

Keyboard shortcuts

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