spotifydefault

package
v0.0.0-...-7e10082 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	ctx context.Context,
	spotifyAppClientID string,
	spotifyAppClientSecret string,
	publicAPIEndpoint string,
	serverListenPort uint16,
) spotify.Spotifier

Types

type Spotify

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

func (*Spotify) GetNewUserToken

func (s *Spotify) GetNewUserToken(ctx context.Context) (string, error)

func (*Spotify) GetPlaylist

func (s *Spotify) GetPlaylist(ctx context.Context, playlistID string) (*spotify.Playlist, error)

func (*Spotify) GetShow

func (s *Spotify) GetShow(ctx context.Context, showID string) (*spotify.Show, error)

func (*Spotify) GetUserToken

func (s *Spotify) GetUserToken(ctx context.Context) (string, error)

func (*Spotify) ResetUserTokens

func (s *Spotify) ResetUserTokens(ctx context.Context)

func (*Spotify) UpdatePlaylistFilter

func (s *Spotify) UpdatePlaylistFilter(ctx context.Context, filterConfig *spotify.PlaylistFilterConfig) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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