album

package
v0.0.0-...-088f321 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeDwebble = "dwebble"
	ModeOpus    = "opus"
	ModeMp3     = "mp3"
	ModeMap     = "map"
)

Variables

This section is empty.

Functions

func Execute

func Execute(mode, src, dst string) error

func ExecuteConfig

func ExecuteConfig(config AlbumConfig, mode, src, dst string) error

Types

type AlbumConfig

type AlbumConfig struct {
	Album    string  `toml:"album"`
	Artist   string  `toml:"artist"`
	CoverArt string  `toml:"coverart"`
	Tracks   []Track `toml:"tracks"`
}

type Track

type Track struct {
	Filename  string   `toml:"filename"`
	Num       int      `toml:"num"`
	Name      string   `toml:"name"`
	Artist    string   `toml:"artist"`
	Date      string   `toml:"date"`
	Tags      []string `toml:"tags"`
	Genres    []string `toml:"genres"`
	Featuring []string `toml:"featuring"`
}

Jump to

Keyboard shortcuts

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