spotext

package
v0.0.0-...-82b9924 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(s GenreSearch, client *spotify.Client) error

Compile initiates the given search and places the results in the given playlist.

func CopyTracks

func CopyTracks(playlistA string, playlistB string, client *spotify.Client) error

CopyTracks copies unique tracks from playlistA to playlistB

func RemoveDuplicates

func RemoveDuplicates(playlistID spotify.ID, client *spotify.Client) error

RemoveDuplicates will remove duplicate tracks from the given playlist.

Types

type GenreSearch

type GenreSearch struct {
	PlaylistID spotify.ID
	Query      string
}

GenreSearch contains the query to search for and playlist ID for where to put the results.

type SpotifyExtender

type SpotifyExtender struct {
	AutoRetry bool
	// contains filtered or unexported fields
}

SpotifyExtender is a client for working with the Spotify Web API.

func (*SpotifyExtender) New

func (s *SpotifyExtender) New()

New creates a new instance of the SpotifyExtender

Jump to

Keyboard shortcuts

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