client

package
v0.0.0-...-4866100 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArtCache *artcache

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(baseURL string) *Client

func (*Client) Authenticate

func (c *Client) Authenticate(username, password string) error

func (*Client) GetAlbum

func (c *Client) GetAlbum(ID string) (*subsonic.AlbumID3, error)

func (*Client) GetAlbums

func (c *Client) GetAlbums() ([]*subsonic.AlbumID3, error)

func (*Client) GetArtist

func (c *Client) GetArtist(ID string) (*subsonic.ArtistID3, error)

func (*Client) GetArtistInfo

func (c *Client) GetArtistInfo(ID string) (*subsonic.ArtistInfo2, error)

func (*Client) GetArtists

func (c *Client) GetArtists() ([]*subsonic.ArtistID3, error)

func (*Client) GetCoverArt

func (c *Client) GetCoverArt(ID string) (image.Image, error)

func (*Client) GetExperimentalArtistRadio

func (c *Client) GetExperimentalArtistRadio(artistId3 *subsonic.ArtistID3, info *subsonic.ArtistInfo2, max int) ([]*subsonic.Child, error)

func (*Client) GetPlaylist

func (c *Client) GetPlaylist(ID string) (*subsonic.Playlist, error)

func (*Client) GetPlaylists

func (c *Client) GetPlaylists() ([]*subsonic.Playlist, error)

func (*Client) GetSimilarSongs

func (c *Client) GetSimilarSongs(artistID string, maxSongs int) ([]*subsonic.Child, error)

func (*Client) GetTopSongs

func (c *Client) GetTopSongs(name string, max int) ([]*subsonic.Child, error)

func (*Client) GetUser

func (c *Client) GetUser() (*subsonic.User, error)

func (*Client) Scrobble

func (c *Client) Scrobble(ID string) error

func (*Client) Search

func (c *Client) Search(query string) (*subsonic.SearchResult3, error)

func (*Client) Stream

func (c *Client) Stream(ID string) (io.Reader, error)

Jump to

Keyboard shortcuts

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