albums

package
v0.0.0-...-88bff9a Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SearchAlbum

func SearchAlbum(client http.Client, album string) (SearchAlbumData, []SearchAlbumData, error)

Types

type SearchAlbumData

type SearchAlbumData struct {
	Name      string
	URL       string
	ID        int
	Year      int
	Cover     string
	Artist    string
	ArtistID  int
	ArtistURL string
	Type      commontypes.RecordType
	Tracks    []Track
}

type Track

type Track struct {
	Name    string
	Hours   int
	Minutes int
	Seconds int
}

func GetAlbumInfo

func GetAlbumInfo(client http.Client, albumURL string) ([]Track, string, error)

Jump to

Keyboard shortcuts

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