tag

package
v0.0.0-...-4b25103 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFormat = errors.New("Mp3,FLAC support only!")
)

Functions

func TagAudioFileFromMeta

func TagAudioFileFromMeta(tag Tagger, imgData []byte, meta *converter.Meta) error

Types

type Tagger

type Tagger interface {
	SetCover(cover []byte, mime string) error
	SetCoverUrl(coverUrl string) error
	SetTitle(string) error
	SetAlbum(string) error
	SetArtist([]string) error
	SetComment(string) error
	Save() error
}

func NewTagger

func NewTagger(path, format string) (tag Tagger, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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