tidal

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package tidal uses Tidal's API to seed edits.

Index

Constants

View Source
const AllCountriesCode = "XW"

AllCountriesCode is a value for online.Config's CountryCode field indicating that all countries should be queried.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider implements internal.Provider for Tidal.

func (*Provider) ExampleURL

func (p *Provider) ExampleURL() string

func (*Provider) MakeEdits added in v0.1.8

func (p *Provider) MakeEdits(ctx context.Context, pageURL string, db *mbdb.DB,
	cfg *internal.Config) ([]seed.Edit, error)

MakeEdits generates a seed.Release edit for the supplied Tidal album URL. A seed.Info object is also returned for the cover image. Tidal provides a JSON API, so the page is not fetched.

func (*Provider) SupportsHostname added in v0.1.8

func (p *Provider) SupportsHostname(ctx context.Context, hn string, cfg *internal.Config) bool

Jump to

Keyboard shortcuts

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