control

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PlaylistPageSize = 20

	Terminator = make(chan bool, 1)

	Hist = history.NewHistory() // don't want it nil

	DataHome string
)

Functions

func DefaultHandlers

func DefaultHandlers() handler.Set

func Start

func Start(
	c *spotify.Client,
	u *spotify.PrivateUser,
	p string,
	commands []string,
)

Types

type Features

type Features spotify.AudioFeatures

type LibraryCache

type LibraryCache []spotify.FullTrack

type Playlist

type Playlist struct {
	spotify.FullPlaylist
	// contains filtered or unexported fields
}

type PlaylistBuf

type PlaylistBuf struct {
	// contains filtered or unexported fields
}

func NewPlaylistBuf

func NewPlaylistBuf(pl spotify.FullPlaylist) *PlaylistBuf

type PlaylistCache

type PlaylistCache []Playlist

type RecommendationEngine

type RecommendationEngine uint8
const (
	RecommendationNormal RecommendationEngine = iota
	RecommendationExtreme
	RecommendationMin
	RecommendationMax
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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