core

package
v0.0.0-...-59dfc81 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildID = "dev"
View Source
var Version = "master"

Functions

func StartSession

func StartSession(ctx *respot.SessionContext) (respot.Session, error)

Types

type Session

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

Session represents an active Spotify connection

func (*Session) Close

func (s *Session) Close() error

func (*Session) Context

func (s *Session) Context() *respot.SessionContext

func (*Session) Downloader

func (s *Session) Downloader() asset.Downloader

func (*Session) Login

func (sess *Session) Login() error

func (*Session) Mercury

func (s *Session) Mercury() *mercury.Client

func (*Session) PinTrack

func (s *Session) PinTrack(trackID string, opts respot.PinOpts) (arc.MediaAsset, error)

func (*Session) Search

func (s *Session) Search(query string, limit int) (*mercury.SearchResponse, error)

func (*Session) StartConnection

func (s *Session) StartConnection() error

func (*Session) Stream

func (s *Session) Stream() connection.PacketStream

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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