Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Module exported for initialising a new Spoty service.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { URL string `json:"url"` Height int `json:"height"` Width int `json:"width"` RGBA color.RGBA `json:"rgba,omitempty"` Hex string `json:"hex,omitempty"` Error string `json:"error,omitempty"` }
Image represents an image with its dominant color.
type Spoty ¶
type Spoty struct {
// contains filtered or unexported fields
}
Spoty represents the spoty service.
func (*Spoty) IsPlaying ¶ added in v0.1.0
IsPlaying returns true if the client is currently playing.
func (*Spoty) SetupNewClient ¶ added in v0.1.1
SetupNewClient sets up a new spotify client.
func (*Spoty) TrackCurrentlyPlaying ¶ added in v0.1.0
TrackCurrentlyPlaying returns the currently playing track.
Click to show internal directories.
Click to hide internal directories.