mbz

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2018 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package mbz extracts MusicBrainz Picard-specific tags from general tag metadata. See https://picard.musicbrainz.org/docs/mappings/ for more information.

Index

Constants

View Source
const (
	AcoustID          = "acoustid_id"
	AcoustFingerprint = "acoustid_fingerprint"
	Album             = "musicbrainz_albumid"
	AlbumArtist       = "musicbrainz_albumartistid"
	Artist            = "musicbrainz_artistid"
	Disc              = "musicbrainz_discid"
	Recording         = "musicbrainz_recordingid"
	ReleaseGroup      = "musicbrainz_releasegroupid"
	Track             = "musicbrainz_trackid"
	TRM               = "musicbrainz_trmid"
)

Supported MusicBrainz tag names.

View Source
const UFIDProviderURL = "http://musicbrainz.org"

UFIDProviderURL is the URL that we match inside a UFID tag.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info map[string]string

Info is a structure which contains MusicBrainz identifier information.

func Extract

func Extract(m tag.Metadata) Info

Extract tags created by MusicBrainz Picard which can be used with with the MusicBrainz and LastFM APIs. See https://picard.musicbrainz.org/docs/mappings/ for more information.

func (Info) Get

func (i Info) Get(tag string) string

Get returns the value for the given MusicBrainz tag.

Jump to

Keyboard shortcuts

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