Versions in this module Expand all Collapse all v1 v1.0.0 Feb 21, 2015 Changes in this version + type Attrs map[string]string + type Client struct + func Dial(network, addr string) (c *Client, err error) + func DialAuthenticated(network, addr, password string) (c *Client, err error) + func (c *Client) Add(uri string) error + func (c *Client) AddId(uri string, pos int) (int, error) + func (c *Client) BeginCommandList() *CommandList + func (c *Client) Clear() error + func (c *Client) Close() (err error) + func (c *Client) CurrentSong() (Attrs, error) + func (c *Client) Delete(start, end int) error + func (c *Client) DeleteId(id int) error + func (c *Client) DisableOutput(id int) error + func (c *Client) EnableOutput(id int) error + func (c *Client) Find(uri string) ([]Attrs, error) + func (c *Client) GetFiles() ([]string, error) + func (c *Client) List(uri string) ([]string, error) + func (c *Client) ListAllInfo(uri string) ([]Attrs, error) + func (c *Client) ListInfo(uri string) ([]Attrs, error) + func (c *Client) ListOutputs() ([]Attrs, error) + func (c *Client) ListPlaylists() ([]Attrs, error) + func (c *Client) Move(start, end, position int) error + func (c *Client) MoveId(songid, position int) error + func (c *Client) Next() error + func (c *Client) Pause(pause bool) error + func (c *Client) Ping() error + func (c *Client) Play(pos int) error + func (c *Client) PlayId(id int) error + func (c *Client) PlaylistAdd(name string, uri string) error + func (c *Client) PlaylistClear(name string) error + func (c *Client) PlaylistContents(name string) ([]Attrs, error) + func (c *Client) PlaylistDelete(name string, pos int) error + func (c *Client) PlaylistInfo(start, end int) ([]Attrs, error) + func (c *Client) PlaylistLoad(name string, start, end int) error + func (c *Client) PlaylistMove(name string, id, pos int) error + func (c *Client) PlaylistRemove(name string) error + func (c *Client) PlaylistRename(name, newName string) error + func (c *Client) PlaylistSave(name string) error + func (c *Client) Previous() error + func (c *Client) Random(random bool) error + func (c *Client) Repeat(repeat bool) error + func (c *Client) Seek(pos, time int) error + func (c *Client) SeekId(id, time int) error + func (c *Client) SetVolume(volume int) error + func (c *Client) Shuffle(start, end int) error + func (c *Client) Stats() (Attrs, error) + func (c *Client) Status() (Attrs, error) + func (c *Client) Stop() error + func (c *Client) Update(uri string) (jobID int, err error) + type CommandList struct + func (cl *CommandList) Add(uri string) + func (cl *CommandList) AddId(uri string, pos int) *PromisedId + func (cl *CommandList) Clear() + func (cl *CommandList) CurrentSong() *PromisedAttrs + func (cl *CommandList) Delete(start, end int) error + func (cl *CommandList) DeleteId(id int) + func (cl *CommandList) End() error + func (cl *CommandList) Move(start, end, position int) error + func (cl *CommandList) MoveId(songid, position int) + func (cl *CommandList) Next() + func (cl *CommandList) Pause(pause bool) + func (cl *CommandList) Ping() + func (cl *CommandList) Play(pos int) + func (cl *CommandList) PlayId(id int) + func (cl *CommandList) PlaylistAdd(name string, uri string) + func (cl *CommandList) PlaylistClear(name string) + func (cl *CommandList) PlaylistDelete(name string, pos int) + func (cl *CommandList) PlaylistLoad(name string, start, end int) + func (cl *CommandList) PlaylistMove(name string, id, pos int) + func (cl *CommandList) PlaylistRemove(name string) + func (cl *CommandList) PlaylistRename(name, newName string) + func (cl *CommandList) PlaylistSave(name string) + func (cl *CommandList) Previous() + func (cl *CommandList) Random(random bool) + func (cl *CommandList) Repeat(repeat bool) + func (cl *CommandList) Seek(pos, time int) + func (cl *CommandList) SeekId(id, time int) + func (cl *CommandList) SetVolume(volume int) + func (cl *CommandList) Shuffle(start, end int) + func (cl *CommandList) Status() *PromisedAttrs + func (cl *CommandList) Stop() + func (cl *CommandList) Update(uri string) (attrs *PromisedAttrs) + type PromisedAttrs struct + func (pa *PromisedAttrs) Value() (Attrs, error) + type PromisedId int + func (pi *PromisedId) Value() (int, error) + type Watcher struct + Error chan error + Event chan string + func NewWatcher(net, addr, passwd string, names ...string) (w *Watcher, err error) + func (w *Watcher) Close() error + func (w *Watcher) Subsystems(names ...string) Incompatible versions in this module v2.0.0+incompatible Jan 28, 2018