providers

package
v0.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	API_KEY  = "12dec50313f885d407cf8132697b8712"
	ENDPOINT = "https://ws.audioscrobbler.com/2.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumInfo

type AlbumInfo struct {
	Title, MBID, ImageURL string
}

type ArtistInfo

type ArtistInfo struct {
	Name, MBID string
}

type TrackInfo

type TrackInfo struct {
	Title, MBID string
	Tags        []string
	Artist      *ArtistInfo
	Album       *AlbumInfo
}

func FetchTrackInfo

func FetchTrackInfo(info *youtube.VideoInfo) (*TrackInfo, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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