id3tag

package
v0.0.0-...-91206c6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: GPL-3.0 Imports: 2 Imported by: 2

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.

Jump to

Keyboard shortcuts

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