Versions in this module Expand all Collapse all v1 v1.0.1 Apr 28, 2022 Changes in this version + type Client struct + func FirstClient() (*Client, error) + func NewClient(params *ClientParam) (*Client, error) + func (c *Client) GetPlaybackInfo() (*PlaybackInfo, error) + func (c *Client) Photo(path string) + func (c *Client) PhotoWithSlide(path string, transition SlideTransition) + func (c *Client) Play(url string) <-chan error + func (c *Client) PlayAt(url string, position float64) <-chan error + func (c *Client) Rate(rate float64) + func (c *Client) Scrub(position float64) + func (c *Client) Stop() + func (c Client) SetPassword(password string) + type ClientParam struct + Addr string + Password string + Port int + type DNSResponseParseError struct + Records []dns.RR + Type string + func NewDNSResponseParseError(t string, r []dns.RR) *DNSResponseParseError + func (e *DNSResponseParseError) Error() string + type Device struct + Addr string + Extra DeviceExtra + Name string + Port int + func Devices() []Device + func FirstDevice() Device + type DeviceExtra struct + Features string + IsPasswordRequired bool + MacAddress string + Model string + ServerVersion string + type PlaybackInfo struct + Duration float64 + IsReadyToPlay bool + Position float64 + ReadyToPlayValue interface{} + type SlideTransition string + const SlideDissolve + const SlideLeft + const SlideNone + const SlideRight