id3tag

package
Version: v0.0.0-...-9b974ee Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

id3tag package implements ID3 tag parsing functionality. Actually this is a wrapper around C libid3tag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

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

Tag struct incapulate parsed file's metadata.

func Parse

func Parse(filename string) (tag Tag, err error)

Parse returns filled Tag object for the given music file.

func (Tag) Album

func (tag Tag) Album() string

Album returns name of the album.

func (Tag) Artist

func (tag Tag) Artist() string

Artist returns name of the artist.

func (Tag) Number

func (tag Tag) Number() string

Number returns track's number.

func (Tag) Title

func (tag Tag) Title() string

Artist returns track's title.

func (Tag) Year

func (tag Tag) Year() string

Year returns track's year.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL