online

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package online generates seeded edits from online music providers or databases.

Index

Constants

This section is empty.

Variables

View Source
var ExampleURLs []string

ExampleURLs holds example URLs that can be displayed to the user.

Functions

func MakeEdits added in v0.1.8

func MakeEdits(ctx context.Context, url string, rawSetCmds []string,
	db *mbdb.DB, cfg *Config) ([]seed.Edit, error)

MakeEdits generates seeded edits from the page at the supplied URL. If cfg is nil, a default configuration will be used.

Types

type BadURLError added in v0.1.8

type BadURLError = internal.BadURLError

type Config

type Config internal.Config

Config configures MakeEdits's behavior. Aliasing an internal type like this is weird, but it avoids a circular dependency (subpackages can't depend on this package since it depends on the subpackages).

Directories

Path Synopsis
Package bandcamp extracts information from Bandcamp pages.
Package bandcamp extracts information from Bandcamp pages.
Package internal defines internal types and functions for online sources.
Package internal defines internal types and functions for online sources.
Package metalarchives extracts information from metal-archives.com pages.
Package metalarchives extracts information from metal-archives.com pages.
Package qobuz extracts information from Qobuz pages.
Package qobuz extracts information from Qobuz pages.
Package tidal uses Tidal's API to seed edits.
Package tidal uses Tidal's API to seed edits.

Jump to

Keyboard shortcuts

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