tags

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTags

func AddTags(resource deezer.Resource, song *deezer.Song, filePath string) error

Types

type FLACTagger

type FLACTagger struct {
	File  *flac.File
	Cmts  *flacvorbis.MetaDataBlockVorbisComment
	Index int
}

func (*FLACTagger) AddTags

func (t *FLACTagger) AddTags(resource deezer.Resource, song *deezer.Song, cover []byte, path string) error

type ID3v2Tagger

type ID3v2Tagger struct {
	Tag *id3v2.Tag
}

func (*ID3v2Tagger) AddTags

func (t *ID3v2Tagger) AddTags(resource deezer.Resource, song *deezer.Song, cover []byte, path string) error

type Tagger

type Tagger interface {
	AddTags(resource deezer.Resource, song *deezer.Song, cover []byte, path string) error
}

func NewTagger

func NewTagger(filePath string) (Tagger, error)

Jump to

Keyboard shortcuts

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