v1

package
v0.0.0-...-bab0e55 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: GPL-3.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

View Source
const TagSize = 128

TagSize is size of ID3v1 and ID3v1.1 tag.

Variables

View Source
var ErrTagNotFound = errors.New("no id3v1 tag at the end of file")
View Source
var Genres = []string{}/* 192 elements not displayed */

Genres is ID3v1 genre codes https://de.wikipedia.org/wiki/Liste_der_ID3v1-Genres

Functions

This section is empty.

Types

type Tag

type Tag struct {
	// contains filtered or unexported fields
}

Tag is ID3v1 tag reader.

func New

func New(f io.ReadSeeker) (*Tag, error)

New will read file and return id3v1 tag reader.

func (Tag) Album

func (tag Tag) Album() string

Album will return id3v1 album.

func (Tag) AlbumTrack

func (tag Tag) AlbumTrack() string

AlbumTrack will return id3v1.1 album track.

func (Tag) Artist

func (tag Tag) Artist() string

Artist will return id3v1 artist.

func (Tag) Comment

func (tag Tag) Comment() string

Comment will return id3v1 or id3v1.1 comment.

func (Tag) Genre

func (tag Tag) Genre() string

Genre will return id3v1 genre title.

func (Tag) Title

func (tag Tag) Title() string

Title will return id3v1 title.

func (Tag) Year

func (tag Tag) Year() string

Year will return id3v1 year.

Jump to

Keyboard shortcuts

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