id3

package module
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: 9 Imported by: 1

README

ID3

ID3 Tag Reader

Note: ⚠️ Under Development ⚠️

ID3v2

Usage

Library
go get -u github.com/xonyagar/id3
CLI
go install github.com/xonyagar/id3/cmd/id3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachedPicture

type AttachedPicture interface {
	Image() (image.Image, error)
}

type ID3

type ID3 struct {
	V1  *v1.Tag
	V22 *v22.Tag
	V23 *v23.Tag
	V24 *v24.Tag
}

func New

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

func (ID3) Album

func (t ID3) Album() string

func (ID3) AlbumArtists

func (t ID3) AlbumArtists() []string

func (ID3) Artists

func (t ID3) Artists() []string

func (ID3) AttachedPictures

func (t ID3) AttachedPictures() []AttachedPicture

func (ID3) Genres

func (t ID3) Genres() []string

func (ID3) Title

func (t ID3) Title() string

func (ID3) TrackNumberAndPosition

func (t ID3) TrackNumberAndPosition() (int, int)

func (ID3) Year

func (t ID3) Year() string

Directories

Path Synopsis
cmd
id3

Jump to

Keyboard shortcuts

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