openhome

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: BSD-2-Clause Imports: 5 Imported by: 1

Documentation

Overview

Client for UPnP Device Control Protocol OpenHome.

This DCP is documented in detail at: - http://wiki.openhome.org/wiki/Av:Developer

Typically, use one of the New* functions to create clients for services.

Index

Constants

View Source
const (
	URN_Credentials_1          = "urn:av-openhome-org:service:Credentials:1"
	URN_Debug_1                = "urn:av-openhome-org:service:Debug:1"
	URN_Exakt_1                = "urn:av-openhome-org:service:Exakt:1"
	URN_Exakt_2                = "urn:av-openhome-org:service:Exakt:2"
	URN_Exakt_3                = "urn:av-openhome-org:service:Exakt:3"
	URN_Info_1                 = "urn:av-openhome-org:service:Info:1"
	URN_MediaServer_1          = "urn:av-openhome-org:service:MediaServer:1"
	URN_NetworkMonitor_1       = "urn:av-openhome-org:service:NetworkMonitor:1"
	URN_Pins_1                 = "urn:av-openhome-org:service:Pins:1"
	URN_Playlist_1             = "urn:av-openhome-org:service:Playlist:1"
	URN_PlaylistManager_1      = "urn:av-openhome-org:service:PlaylistManager:1"
	URN_Product_1              = "urn:av-openhome-org:service:Product:1"
	URN_Product_2              = "urn:av-openhome-org:service:Product:2"
	URN_Radio_1                = "urn:av-openhome-org:service:Radio:1"
	URN_Receiver_1             = "urn:av-openhome-org:service:Receiver:1"
	URN_Sender_1               = "urn:av-openhome-org:service:Sender:1"
	URN_Sender_2               = "urn:av-openhome-org:service:Sender:2"
	URN_SubscriptionLongPoll_1 = "urn:av-openhome-org:service:SubscriptionLongPoll:1"
	URN_Time_1                 = "urn:av-openhome-org:service:Time:1"
	URN_Transport_1            = "urn:av-openhome-org:service:Transport:1"
	URN_Volume_1               = "urn:av-openhome-org:service:Volume:1"
	URN_Volume_2               = "urn:av-openhome-org:service:Volume:2"
	URN_Volume_3               = "urn:av-openhome-org:service:Volume:3"
)

Service URNs:

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials1

type Credentials1 struct {
	goupnp.ServiceClient
}

Credentials1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Credentials:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewCredentials1Clients

func NewCredentials1Clients() (clients []*Credentials1, errors []error, err error)

NewCredentials1Clients is the legacy version of NewCredentials1ClientsCtx, but uses context.Background() as the context.

func NewCredentials1ClientsByURL

func NewCredentials1ClientsByURL(loc *url.URL) ([]*Credentials1, error)

NewCredentials1ClientsByURL is the legacy version of NewCredentials1ClientsByURLCtx, but uses context.Background() as the context.

func NewCredentials1ClientsByURLCtx

func NewCredentials1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Credentials1, error)

NewCredentials1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewCredentials1ClientsCtx

func NewCredentials1ClientsCtx(ctx context.Context) (clients []*Credentials1, errors []error, err error)

NewCredentials1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewCredentials1ClientsFromRootDevice

func NewCredentials1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Credentials1, error)

NewCredentials1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Credentials1) Clear

func (client *Credentials1) Clear(Id string) (err error)

Clear is the legacy version of ClearCtx, but uses context.Background() as the context.

func (*Credentials1) ClearCtx

func (client *Credentials1) ClearCtx(
	ctx context.Context,
	Id string,
) (err error)

func (*Credentials1) Get

func (client *Credentials1) Get(Id string) (UserName string, Password []byte, Enabled bool, Status string, Data string, err error)

Get is the legacy version of GetCtx, but uses context.Background() as the context.

func (*Credentials1) GetCtx

func (client *Credentials1) GetCtx(
	ctx context.Context,
	Id string,
) (UserName string, Password []byte, Enabled bool, Status string, Data string, err error)

func (*Credentials1) GetIds

func (client *Credentials1) GetIds() (Ids string, err error)

GetIds is the legacy version of GetIdsCtx, but uses context.Background() as the context.

func (*Credentials1) GetIdsCtx

func (client *Credentials1) GetIdsCtx(
	ctx context.Context,
) (Ids string, err error)

func (*Credentials1) GetPublicKey

func (client *Credentials1) GetPublicKey() (PublicKey string, err error)

GetPublicKey is the legacy version of GetPublicKeyCtx, but uses context.Background() as the context.

func (*Credentials1) GetPublicKeyCtx

func (client *Credentials1) GetPublicKeyCtx(
	ctx context.Context,
) (PublicKey string, err error)

func (*Credentials1) GetSequenceNumber

func (client *Credentials1) GetSequenceNumber() (SequenceNumber uint32, err error)

GetSequenceNumber is the legacy version of GetSequenceNumberCtx, but uses context.Background() as the context.

func (*Credentials1) GetSequenceNumberCtx

func (client *Credentials1) GetSequenceNumberCtx(
	ctx context.Context,
) (SequenceNumber uint32, err error)

func (*Credentials1) Login

func (client *Credentials1) Login(Id string) (Token string, err error)

Login is the legacy version of LoginCtx, but uses context.Background() as the context.

func (*Credentials1) LoginCtx

func (client *Credentials1) LoginCtx(
	ctx context.Context,
	Id string,
) (Token string, err error)

func (*Credentials1) ReLogin

func (client *Credentials1) ReLogin(Id string, CurrentToken string) (NewToken string, err error)

ReLogin is the legacy version of ReLoginCtx, but uses context.Background() as the context.

func (*Credentials1) ReLoginCtx

func (client *Credentials1) ReLoginCtx(
	ctx context.Context,
	Id string,
	CurrentToken string,
) (NewToken string, err error)

func (*Credentials1) Set

func (client *Credentials1) Set(Id string, UserName string, Password []byte) (err error)

Set is the legacy version of SetCtx, but uses context.Background() as the context.

func (*Credentials1) SetCtx

func (client *Credentials1) SetCtx(
	ctx context.Context,
	Id string,
	UserName string,
	Password []byte,
) (err error)

func (*Credentials1) SetEnabled

func (client *Credentials1) SetEnabled(Id string, Enabled bool) (err error)

SetEnabled is the legacy version of SetEnabledCtx, but uses context.Background() as the context.

func (*Credentials1) SetEnabledCtx

func (client *Credentials1) SetEnabledCtx(
	ctx context.Context,
	Id string,
	Enabled bool,
) (err error)

type Debug1

type Debug1 struct {
	goupnp.ServiceClient
}

Debug1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Debug:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewDebug1Clients

func NewDebug1Clients() (clients []*Debug1, errors []error, err error)

NewDebug1Clients is the legacy version of NewDebug1ClientsCtx, but uses context.Background() as the context.

func NewDebug1ClientsByURL

func NewDebug1ClientsByURL(loc *url.URL) ([]*Debug1, error)

NewDebug1ClientsByURL is the legacy version of NewDebug1ClientsByURLCtx, but uses context.Background() as the context.

func NewDebug1ClientsByURLCtx

func NewDebug1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Debug1, error)

NewDebug1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewDebug1ClientsCtx

func NewDebug1ClientsCtx(ctx context.Context) (clients []*Debug1, errors []error, err error)

NewDebug1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewDebug1ClientsFromRootDevice

func NewDebug1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Debug1, error)

NewDebug1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Debug1) GetLog

func (client *Debug1) GetLog() (Log string, err error)

GetLog is the legacy version of GetLogCtx, but uses context.Background() as the context.

func (*Debug1) GetLogCtx

func (client *Debug1) GetLogCtx(
	ctx context.Context,
) (Log string, err error)

func (*Debug1) SendLog

func (client *Debug1) SendLog(Data string) (err error)

SendLog is the legacy version of SendLogCtx, but uses context.Background() as the context.

func (*Debug1) SendLogCtx

func (client *Debug1) SendLogCtx(
	ctx context.Context,
	Data string,
) (err error)

type Exakt1

type Exakt1 struct {
	goupnp.ServiceClient
}

Exakt1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Exakt:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewExakt1Clients

func NewExakt1Clients() (clients []*Exakt1, errors []error, err error)

NewExakt1Clients is the legacy version of NewExakt1ClientsCtx, but uses context.Background() as the context.

func NewExakt1ClientsByURL

func NewExakt1ClientsByURL(loc *url.URL) ([]*Exakt1, error)

NewExakt1ClientsByURL is the legacy version of NewExakt1ClientsByURLCtx, but uses context.Background() as the context.

func NewExakt1ClientsByURLCtx

func NewExakt1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Exakt1, error)

NewExakt1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewExakt1ClientsCtx

func NewExakt1ClientsCtx(ctx context.Context) (clients []*Exakt1, errors []error, err error)

NewExakt1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewExakt1ClientsFromRootDevice

func NewExakt1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Exakt1, error)

NewExakt1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Exakt1) ConnectionStatus

func (client *Exakt1) ConnectionStatus() (ConnectionStatus string, err error)

ConnectionStatus is the legacy version of ConnectionStatusCtx, but uses context.Background() as the context.

func (*Exakt1) ConnectionStatusCtx

func (client *Exakt1) ConnectionStatusCtx(
	ctx context.Context,
) (ConnectionStatus string, err error)

func (*Exakt1) DeviceList

func (client *Exakt1) DeviceList() (List string, err error)

DeviceList is the legacy version of DeviceListCtx, but uses context.Background() as the context.

func (*Exakt1) DeviceListCtx

func (client *Exakt1) DeviceListCtx(
	ctx context.Context,
) (List string, err error)

func (*Exakt1) DeviceSettings

func (client *Exakt1) DeviceSettings(DeviceId string) (Settings string, err error)

DeviceSettings is the legacy version of DeviceSettingsCtx, but uses context.Background() as the context.

func (*Exakt1) DeviceSettingsCtx

func (client *Exakt1) DeviceSettingsCtx(
	ctx context.Context,
	DeviceId string,
) (Settings string, err error)

func (*Exakt1) Reprogram

func (client *Exakt1) Reprogram(DeviceId string, FileUri *url.URL) (err error)

Reprogram is the legacy version of ReprogramCtx, but uses context.Background() as the context.

func (*Exakt1) ReprogramCtx

func (client *Exakt1) ReprogramCtx(
	ctx context.Context,
	DeviceId string,
	FileUri *url.URL,
) (err error)

func (*Exakt1) ReprogramFallback

func (client *Exakt1) ReprogramFallback(DeviceId string, FileUri *url.URL) (err error)

ReprogramFallback is the legacy version of ReprogramFallbackCtx, but uses context.Background() as the context.

func (*Exakt1) ReprogramFallbackCtx

func (client *Exakt1) ReprogramFallbackCtx(
	ctx context.Context,
	DeviceId string,
	FileUri *url.URL,
) (err error)

func (*Exakt1) Set

func (client *Exakt1) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)

Set is the legacy version of SetCtx, but uses context.Background() as the context.

func (*Exakt1) SetCtx

func (client *Exakt1) SetCtx(
	ctx context.Context,
	DeviceId string,
	BankId uint32,
	FileUri *url.URL,
	Mute bool,
	Persist bool,
) (err error)

type Exakt2

type Exakt2 struct {
	goupnp.ServiceClient
}

Exakt2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Exakt:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewExakt2Clients

func NewExakt2Clients() (clients []*Exakt2, errors []error, err error)

NewExakt2Clients is the legacy version of NewExakt2ClientsCtx, but uses context.Background() as the context.

func NewExakt2ClientsByURL

func NewExakt2ClientsByURL(loc *url.URL) ([]*Exakt2, error)

NewExakt2ClientsByURL is the legacy version of NewExakt2ClientsByURLCtx, but uses context.Background() as the context.

func NewExakt2ClientsByURLCtx

func NewExakt2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Exakt2, error)

NewExakt2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewExakt2ClientsCtx

func NewExakt2ClientsCtx(ctx context.Context) (clients []*Exakt2, errors []error, err error)

NewExakt2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewExakt2ClientsFromRootDevice

func NewExakt2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Exakt2, error)

NewExakt2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Exakt2) ConnectionStatus

func (client *Exakt2) ConnectionStatus() (ConnectionStatus string, err error)

ConnectionStatus is the legacy version of ConnectionStatusCtx, but uses context.Background() as the context.

func (*Exakt2) ConnectionStatusCtx

func (client *Exakt2) ConnectionStatusCtx(
	ctx context.Context,
) (ConnectionStatus string, err error)

func (*Exakt2) DeviceList

func (client *Exakt2) DeviceList() (List string, err error)

DeviceList is the legacy version of DeviceListCtx, but uses context.Background() as the context.

func (*Exakt2) DeviceListCtx

func (client *Exakt2) DeviceListCtx(
	ctx context.Context,
) (List string, err error)

func (*Exakt2) DeviceSettings

func (client *Exakt2) DeviceSettings(DeviceId string) (Settings string, err error)

DeviceSettings is the legacy version of DeviceSettingsCtx, but uses context.Background() as the context.

func (*Exakt2) DeviceSettingsCtx

func (client *Exakt2) DeviceSettingsCtx(
	ctx context.Context,
	DeviceId string,
) (Settings string, err error)

func (*Exakt2) Reprogram

func (client *Exakt2) Reprogram(DeviceId string, FileUri *url.URL) (err error)

Reprogram is the legacy version of ReprogramCtx, but uses context.Background() as the context.

func (*Exakt2) ReprogramCtx

func (client *Exakt2) ReprogramCtx(
	ctx context.Context,
	DeviceId string,
	FileUri *url.URL,
) (err error)

func (*Exakt2) ReprogramFallback

func (client *Exakt2) ReprogramFallback(DeviceId string, FileUri *url.URL) (err error)

ReprogramFallback is the legacy version of ReprogramFallbackCtx, but uses context.Background() as the context.

func (*Exakt2) ReprogramFallbackCtx

func (client *Exakt2) ReprogramFallbackCtx(
	ctx context.Context,
	DeviceId string,
	FileUri *url.URL,
) (err error)

func (*Exakt2) Set

func (client *Exakt2) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)

Set is the legacy version of SetCtx, but uses context.Background() as the context.

func (*Exakt2) SetCtx

func (client *Exakt2) SetCtx(
	ctx context.Context,
	DeviceId string,
	BankId uint32,
	FileUri *url.URL,
	Mute bool,
	Persist bool,
) (err error)

func (*Exakt2) Version

func (client *Exakt2) Version() (Version string, err error)

Version is the legacy version of VersionCtx, but uses context.Background() as the context.

func (*Exakt2) VersionCtx

func (client *Exakt2) VersionCtx(
	ctx context.Context,
) (Version string, err error)

type Exakt3

type Exakt3 struct {
	goupnp.ServiceClient
}

Exakt3 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Exakt:3". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewExakt3Clients

func NewExakt3Clients() (clients []*Exakt3, errors []error, err error)

NewExakt3Clients is the legacy version of NewExakt3ClientsCtx, but uses context.Background() as the context.

func NewExakt3ClientsByURL

func NewExakt3ClientsByURL(loc *url.URL) ([]*Exakt3, error)

NewExakt3ClientsByURL is the legacy version of NewExakt3ClientsByURLCtx, but uses context.Background() as the context.

func NewExakt3ClientsByURLCtx

func NewExakt3ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Exakt3, error)

NewExakt3ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewExakt3ClientsCtx

func NewExakt3ClientsCtx(ctx context.Context) (clients []*Exakt3, errors []error, err error)

NewExakt3ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewExakt3ClientsFromRootDevice

func NewExakt3ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Exakt3, error)

NewExakt3ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Exakt3) AudioChannels

func (client *Exakt3) AudioChannels() (AudioChannels string, err error)

AudioChannels is the legacy version of AudioChannelsCtx, but uses context.Background() as the context.

func (*Exakt3) AudioChannelsCtx

func (client *Exakt3) AudioChannelsCtx(
	ctx context.Context,
) (AudioChannels string, err error)

func (*Exakt3) ChannelMap

func (client *Exakt3) ChannelMap() (ChannelMap string, err error)

ChannelMap is the legacy version of ChannelMapCtx, but uses context.Background() as the context.

func (*Exakt3) ChannelMapCtx

func (client *Exakt3) ChannelMapCtx(
	ctx context.Context,
) (ChannelMap string, err error)

func (*Exakt3) ConnectionStatus

func (client *Exakt3) ConnectionStatus() (ConnectionStatus string, err error)

ConnectionStatus is the legacy version of ConnectionStatusCtx, but uses context.Background() as the context.

func (*Exakt3) ConnectionStatusCtx

func (client *Exakt3) ConnectionStatusCtx(
	ctx context.Context,
) (ConnectionStatus string, err error)

func (*Exakt3) DeviceList

func (client *Exakt3) DeviceList() (List string, err error)

DeviceList is the legacy version of DeviceListCtx, but uses context.Background() as the context.

func (*Exakt3) DeviceListCtx

func (client *Exakt3) DeviceListCtx(
	ctx context.Context,
) (List string, err error)

func (*Exakt3) DeviceSettings

func (client *Exakt3) DeviceSettings(DeviceId string) (Settings string, err error)

DeviceSettings is the legacy version of DeviceSettingsCtx, but uses context.Background() as the context.

func (*Exakt3) DeviceSettingsCtx

func (client *Exakt3) DeviceSettingsCtx(
	ctx context.Context,
	DeviceId string,
) (Settings string, err error)

func (*Exakt3) Reprogram

func (client *Exakt3) Reprogram(DeviceId string, FileUri *url.URL) (err error)

Reprogram is the legacy version of ReprogramCtx, but uses context.Background() as the context.

func (*Exakt3) ReprogramCtx

func (client *Exakt3) ReprogramCtx(
	ctx context.Context,
	DeviceId string,
	FileUri *url.URL,
) (err error)

func (*Exakt3) ReprogramFallback

func (client *Exakt3) ReprogramFallback(DeviceId string, FileUri *url.URL) (err error)

ReprogramFallback is the legacy version of ReprogramFallbackCtx, but uses context.Background() as the context.

func (*Exakt3) ReprogramFallbackCtx

func (client *Exakt3) ReprogramFallbackCtx(
	ctx context.Context,
	DeviceId string,
	FileUri *url.URL,
) (err error)

func (*Exakt3) Set

func (client *Exakt3) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)

Set is the legacy version of SetCtx, but uses context.Background() as the context.

func (*Exakt3) SetAudioChannels

func (client *Exakt3) SetAudioChannels(AudioChannels string) (err error)

SetAudioChannels is the legacy version of SetAudioChannelsCtx, but uses context.Background() as the context.

func (*Exakt3) SetAudioChannelsCtx

func (client *Exakt3) SetAudioChannelsCtx(
	ctx context.Context,
	AudioChannels string,
) (err error)

func (*Exakt3) SetChannelMap

func (client *Exakt3) SetChannelMap(ChannelMap string) (err error)

SetChannelMap is the legacy version of SetChannelMapCtx, but uses context.Background() as the context.

func (*Exakt3) SetChannelMapCtx

func (client *Exakt3) SetChannelMapCtx(
	ctx context.Context,
	ChannelMap string,
) (err error)

func (*Exakt3) SetCtx

func (client *Exakt3) SetCtx(
	ctx context.Context,
	DeviceId string,
	BankId uint32,
	FileUri *url.URL,
	Mute bool,
	Persist bool,
) (err error)

func (*Exakt3) Version

func (client *Exakt3) Version() (Version string, err error)

Version is the legacy version of VersionCtx, but uses context.Background() as the context.

func (*Exakt3) VersionCtx

func (client *Exakt3) VersionCtx(
	ctx context.Context,
) (Version string, err error)

type Info1

type Info1 struct {
	goupnp.ServiceClient
}

Info1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Info:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewInfo1Clients

func NewInfo1Clients() (clients []*Info1, errors []error, err error)

NewInfo1Clients is the legacy version of NewInfo1ClientsCtx, but uses context.Background() as the context.

func NewInfo1ClientsByURL

func NewInfo1ClientsByURL(loc *url.URL) ([]*Info1, error)

NewInfo1ClientsByURL is the legacy version of NewInfo1ClientsByURLCtx, but uses context.Background() as the context.

func NewInfo1ClientsByURLCtx

func NewInfo1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Info1, error)

NewInfo1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewInfo1ClientsCtx

func NewInfo1ClientsCtx(ctx context.Context) (clients []*Info1, errors []error, err error)

NewInfo1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewInfo1ClientsFromRootDevice

func NewInfo1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Info1, error)

NewInfo1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Info1) Counters

func (client *Info1) Counters() (TrackCount uint32, DetailsCount uint32, MetatextCount uint32, err error)

Counters is the legacy version of CountersCtx, but uses context.Background() as the context.

func (*Info1) CountersCtx

func (client *Info1) CountersCtx(
	ctx context.Context,
) (TrackCount uint32, DetailsCount uint32, MetatextCount uint32, err error)

func (*Info1) Details

func (client *Info1) Details() (Duration uint32, BitRate uint32, BitDepth uint32, SampleRate uint32, Lossless bool, CodecName string, err error)

Details is the legacy version of DetailsCtx, but uses context.Background() as the context.

func (*Info1) DetailsCtx

func (client *Info1) DetailsCtx(
	ctx context.Context,
) (Duration uint32, BitRate uint32, BitDepth uint32, SampleRate uint32, Lossless bool, CodecName string, err error)

func (*Info1) Metatext

func (client *Info1) Metatext() (Value string, err error)

Metatext is the legacy version of MetatextCtx, but uses context.Background() as the context.

func (*Info1) MetatextCtx

func (client *Info1) MetatextCtx(
	ctx context.Context,
) (Value string, err error)

func (*Info1) Track

func (client *Info1) Track() (Uri string, Metadata string, err error)

Track is the legacy version of TrackCtx, but uses context.Background() as the context.

func (*Info1) TrackCtx

func (client *Info1) TrackCtx(
	ctx context.Context,
) (Uri string, Metadata string, err error)

type MediaServer1

type MediaServer1 struct {
	goupnp.ServiceClient
}

MediaServer1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:MediaServer:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewMediaServer1Clients

func NewMediaServer1Clients() (clients []*MediaServer1, errors []error, err error)

NewMediaServer1Clients is the legacy version of NewMediaServer1ClientsCtx, but uses context.Background() as the context.

func NewMediaServer1ClientsByURL

func NewMediaServer1ClientsByURL(loc *url.URL) ([]*MediaServer1, error)

NewMediaServer1ClientsByURL is the legacy version of NewMediaServer1ClientsByURLCtx, but uses context.Background() as the context.

func NewMediaServer1ClientsByURLCtx

func NewMediaServer1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*MediaServer1, error)

NewMediaServer1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewMediaServer1ClientsCtx

func NewMediaServer1ClientsCtx(ctx context.Context) (clients []*MediaServer1, errors []error, err error)

NewMediaServer1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewMediaServer1ClientsFromRootDevice

func NewMediaServer1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*MediaServer1, error)

NewMediaServer1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*MediaServer1) Attributes

func (client *MediaServer1) Attributes() (Value string, err error)

Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.

func (*MediaServer1) AttributesCtx

func (client *MediaServer1) AttributesCtx(
	ctx context.Context,
) (Value string, err error)

func (*MediaServer1) BrowsePort

func (client *MediaServer1) BrowsePort() (Value uint32, err error)

BrowsePort is the legacy version of BrowsePortCtx, but uses context.Background() as the context.

func (*MediaServer1) BrowsePortCtx

func (client *MediaServer1) BrowsePortCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*MediaServer1) Manufacturer

func (client *MediaServer1) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)

Manufacturer is the legacy version of ManufacturerCtx, but uses context.Background() as the context.

func (*MediaServer1) ManufacturerCtx

func (client *MediaServer1) ManufacturerCtx(
	ctx context.Context,
) (Name string, Info string, Url string, ImageUri string, err error)

func (*MediaServer1) Model

func (client *MediaServer1) Model() (Name string, Info string, Url string, ImageUri string, err error)

Model is the legacy version of ModelCtx, but uses context.Background() as the context.

func (*MediaServer1) ModelCtx

func (client *MediaServer1) ModelCtx(
	ctx context.Context,
) (Name string, Info string, Url string, ImageUri string, err error)

func (*MediaServer1) Product

func (client *MediaServer1) Product() (Name string, Info string, Url string, ImageUri string, err error)

Product is the legacy version of ProductCtx, but uses context.Background() as the context.

func (*MediaServer1) ProductCtx

func (client *MediaServer1) ProductCtx(
	ctx context.Context,
) (Name string, Info string, Url string, ImageUri string, err error)

func (*MediaServer1) QueryPort

func (client *MediaServer1) QueryPort() (Value uint32, err error)

QueryPort is the legacy version of QueryPortCtx, but uses context.Background() as the context.

func (*MediaServer1) QueryPortCtx

func (client *MediaServer1) QueryPortCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*MediaServer1) UpdateCount

func (client *MediaServer1) UpdateCount() (Value uint32, err error)

UpdateCount is the legacy version of UpdateCountCtx, but uses context.Background() as the context.

func (*MediaServer1) UpdateCountCtx

func (client *MediaServer1) UpdateCountCtx(
	ctx context.Context,
) (Value uint32, err error)

type NetworkMonitor1

type NetworkMonitor1 struct {
	goupnp.ServiceClient
}

NetworkMonitor1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:NetworkMonitor:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewNetworkMonitor1Clients

func NewNetworkMonitor1Clients() (clients []*NetworkMonitor1, errors []error, err error)

NewNetworkMonitor1Clients is the legacy version of NewNetworkMonitor1ClientsCtx, but uses context.Background() as the context.

func NewNetworkMonitor1ClientsByURL

func NewNetworkMonitor1ClientsByURL(loc *url.URL) ([]*NetworkMonitor1, error)

NewNetworkMonitor1ClientsByURL is the legacy version of NewNetworkMonitor1ClientsByURLCtx, but uses context.Background() as the context.

func NewNetworkMonitor1ClientsByURLCtx

func NewNetworkMonitor1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*NetworkMonitor1, error)

NewNetworkMonitor1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewNetworkMonitor1ClientsCtx

func NewNetworkMonitor1ClientsCtx(ctx context.Context) (clients []*NetworkMonitor1, errors []error, err error)

NewNetworkMonitor1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewNetworkMonitor1ClientsFromRootDevice

func NewNetworkMonitor1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*NetworkMonitor1, error)

NewNetworkMonitor1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*NetworkMonitor1) Name

func (client *NetworkMonitor1) Name() (Name string, err error)

Name is the legacy version of NameCtx, but uses context.Background() as the context.

func (*NetworkMonitor1) NameCtx

func (client *NetworkMonitor1) NameCtx(
	ctx context.Context,
) (Name string, err error)

func (*NetworkMonitor1) Ports

func (client *NetworkMonitor1) Ports() (Sender uint32, Receiver uint32, Results uint32, err error)

Ports is the legacy version of PortsCtx, but uses context.Background() as the context.

func (*NetworkMonitor1) PortsCtx

func (client *NetworkMonitor1) PortsCtx(
	ctx context.Context,
) (Sender uint32, Receiver uint32, Results uint32, err error)

type Pins1

type Pins1 struct {
	goupnp.ServiceClient
}

Pins1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Pins:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewPins1Clients

func NewPins1Clients() (clients []*Pins1, errors []error, err error)

NewPins1Clients is the legacy version of NewPins1ClientsCtx, but uses context.Background() as the context.

func NewPins1ClientsByURL

func NewPins1ClientsByURL(loc *url.URL) ([]*Pins1, error)

NewPins1ClientsByURL is the legacy version of NewPins1ClientsByURLCtx, but uses context.Background() as the context.

func NewPins1ClientsByURLCtx

func NewPins1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Pins1, error)

NewPins1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewPins1ClientsCtx

func NewPins1ClientsCtx(ctx context.Context) (clients []*Pins1, errors []error, err error)

NewPins1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewPins1ClientsFromRootDevice

func NewPins1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Pins1, error)

NewPins1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Pins1) Clear

func (client *Pins1) Clear(Id uint32) (err error)

Clear is the legacy version of ClearCtx, but uses context.Background() as the context.

func (*Pins1) ClearCtx

func (client *Pins1) ClearCtx(
	ctx context.Context,
	Id uint32,
) (err error)

func (*Pins1) GetDeviceAccountMax

func (client *Pins1) GetDeviceAccountMax() (DeviceMax uint32, AccountMax uint32, err error)

GetDeviceAccountMax is the legacy version of GetDeviceAccountMaxCtx, but uses context.Background() as the context.

func (*Pins1) GetDeviceAccountMaxCtx

func (client *Pins1) GetDeviceAccountMaxCtx(
	ctx context.Context,
) (DeviceMax uint32, AccountMax uint32, err error)

func (*Pins1) GetIdArray

func (client *Pins1) GetIdArray() (IdArray string, err error)

GetIdArray is the legacy version of GetIdArrayCtx, but uses context.Background() as the context.

func (*Pins1) GetIdArrayCtx

func (client *Pins1) GetIdArrayCtx(
	ctx context.Context,
) (IdArray string, err error)

func (*Pins1) GetModes

func (client *Pins1) GetModes() (Modes string, err error)

GetModes is the legacy version of GetModesCtx, but uses context.Background() as the context.

func (*Pins1) GetModesCtx

func (client *Pins1) GetModesCtx(
	ctx context.Context,
) (Modes string, err error)

func (*Pins1) InvokeId

func (client *Pins1) InvokeId(Id uint32) (err error)

InvokeId is the legacy version of InvokeIdCtx, but uses context.Background() as the context.

func (*Pins1) InvokeIdCtx

func (client *Pins1) InvokeIdCtx(
	ctx context.Context,
	Id uint32,
) (err error)

func (*Pins1) InvokeIndex

func (client *Pins1) InvokeIndex(Index uint32) (err error)

InvokeIndex is the legacy version of InvokeIndexCtx, but uses context.Background() as the context.

func (*Pins1) InvokeIndexCtx

func (client *Pins1) InvokeIndexCtx(
	ctx context.Context,
	Index uint32,
) (err error)

func (*Pins1) ReadList

func (client *Pins1) ReadList(Ids string) (List string, err error)

ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.

func (*Pins1) ReadListCtx

func (client *Pins1) ReadListCtx(
	ctx context.Context,
	Ids string,
) (List string, err error)

func (*Pins1) SetAccount

func (client *Pins1) SetAccount(Index uint32, Mode string, Type string, Uri string, Title string, Description string, ArtworkUri string, Shuffle bool) (err error)

SetAccount is the legacy version of SetAccountCtx, but uses context.Background() as the context.

func (*Pins1) SetAccountCtx

func (client *Pins1) SetAccountCtx(
	ctx context.Context,
	Index uint32,
	Mode string,
	Type string,
	Uri string,
	Title string,
	Description string,
	ArtworkUri string,
	Shuffle bool,
) (err error)

func (*Pins1) SetDevice

func (client *Pins1) SetDevice(Index uint32, Mode string, Type string, Uri string, Title string, Description string, ArtworkUri string, Shuffle bool) (err error)

SetDevice is the legacy version of SetDeviceCtx, but uses context.Background() as the context.

func (*Pins1) SetDeviceCtx

func (client *Pins1) SetDeviceCtx(
	ctx context.Context,
	Index uint32,
	Mode string,
	Type string,
	Uri string,
	Title string,
	Description string,
	ArtworkUri string,
	Shuffle bool,
) (err error)

func (*Pins1) Swap

func (client *Pins1) Swap(Index1 uint32, Index2 uint32) (err error)

Swap is the legacy version of SwapCtx, but uses context.Background() as the context.

func (*Pins1) SwapCtx

func (client *Pins1) SwapCtx(
	ctx context.Context,
	Index1 uint32,
	Index2 uint32,
) (err error)

type Playlist1

type Playlist1 struct {
	goupnp.ServiceClient
}

Playlist1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Playlist:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewPlaylist1Clients

func NewPlaylist1Clients() (clients []*Playlist1, errors []error, err error)

NewPlaylist1Clients is the legacy version of NewPlaylist1ClientsCtx, but uses context.Background() as the context.

func NewPlaylist1ClientsByURL

func NewPlaylist1ClientsByURL(loc *url.URL) ([]*Playlist1, error)

NewPlaylist1ClientsByURL is the legacy version of NewPlaylist1ClientsByURLCtx, but uses context.Background() as the context.

func NewPlaylist1ClientsByURLCtx

func NewPlaylist1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Playlist1, error)

NewPlaylist1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewPlaylist1ClientsCtx

func NewPlaylist1ClientsCtx(ctx context.Context) (clients []*Playlist1, errors []error, err error)

NewPlaylist1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewPlaylist1ClientsFromRootDevice

func NewPlaylist1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Playlist1, error)

NewPlaylist1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Playlist1) DeleteAll

func (client *Playlist1) DeleteAll() (err error)

DeleteAll is the legacy version of DeleteAllCtx, but uses context.Background() as the context.

func (*Playlist1) DeleteAllCtx

func (client *Playlist1) DeleteAllCtx(
	ctx context.Context,
) (err error)

func (*Playlist1) DeleteId

func (client *Playlist1) DeleteId(Value uint32) (err error)

DeleteId is the legacy version of DeleteIdCtx, but uses context.Background() as the context.

func (*Playlist1) DeleteIdCtx

func (client *Playlist1) DeleteIdCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Playlist1) Id

func (client *Playlist1) Id() (Value uint32, err error)

Id is the legacy version of IdCtx, but uses context.Background() as the context.

func (*Playlist1) IdArray

func (client *Playlist1) IdArray() (Token uint32, Array []byte, err error)

IdArray is the legacy version of IdArrayCtx, but uses context.Background() as the context.

func (*Playlist1) IdArrayChanged

func (client *Playlist1) IdArrayChanged(Token uint32) (Value bool, err error)

IdArrayChanged is the legacy version of IdArrayChangedCtx, but uses context.Background() as the context.

func (*Playlist1) IdArrayChangedCtx

func (client *Playlist1) IdArrayChangedCtx(
	ctx context.Context,
	Token uint32,
) (Value bool, err error)

func (*Playlist1) IdArrayCtx

func (client *Playlist1) IdArrayCtx(
	ctx context.Context,
) (Token uint32, Array []byte, err error)

func (*Playlist1) IdCtx

func (client *Playlist1) IdCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Playlist1) Insert

func (client *Playlist1) Insert(AfterId uint32, Uri string, Metadata string) (NewId uint32, err error)

Insert is the legacy version of InsertCtx, but uses context.Background() as the context.

func (*Playlist1) InsertCtx

func (client *Playlist1) InsertCtx(
	ctx context.Context,
	AfterId uint32,
	Uri string,
	Metadata string,
) (NewId uint32, err error)

func (*Playlist1) Next

func (client *Playlist1) Next() (err error)

Next is the legacy version of NextCtx, but uses context.Background() as the context.

func (*Playlist1) NextCtx

func (client *Playlist1) NextCtx(
	ctx context.Context,
) (err error)

func (*Playlist1) Pause

func (client *Playlist1) Pause() (err error)

Pause is the legacy version of PauseCtx, but uses context.Background() as the context.

func (*Playlist1) PauseCtx

func (client *Playlist1) PauseCtx(
	ctx context.Context,
) (err error)

func (*Playlist1) Play

func (client *Playlist1) Play() (err error)

Play is the legacy version of PlayCtx, but uses context.Background() as the context.

func (*Playlist1) PlayCtx

func (client *Playlist1) PlayCtx(
	ctx context.Context,
) (err error)

func (*Playlist1) Previous

func (client *Playlist1) Previous() (err error)

Previous is the legacy version of PreviousCtx, but uses context.Background() as the context.

func (*Playlist1) PreviousCtx

func (client *Playlist1) PreviousCtx(
	ctx context.Context,
) (err error)

func (*Playlist1) ProtocolInfo

func (client *Playlist1) ProtocolInfo() (Value string, err error)

ProtocolInfo is the legacy version of ProtocolInfoCtx, but uses context.Background() as the context.

func (*Playlist1) ProtocolInfoCtx

func (client *Playlist1) ProtocolInfoCtx(
	ctx context.Context,
) (Value string, err error)

func (*Playlist1) Read

func (client *Playlist1) Read(Id uint32) (Uri string, Metadata string, err error)

Read is the legacy version of ReadCtx, but uses context.Background() as the context.

func (*Playlist1) ReadCtx

func (client *Playlist1) ReadCtx(
	ctx context.Context,
	Id uint32,
) (Uri string, Metadata string, err error)

func (*Playlist1) ReadList

func (client *Playlist1) ReadList(IdList string) (TrackList string, err error)

ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.

func (*Playlist1) ReadListCtx

func (client *Playlist1) ReadListCtx(
	ctx context.Context,
	IdList string,
) (TrackList string, err error)

func (*Playlist1) Repeat

func (client *Playlist1) Repeat() (Value bool, err error)

Repeat is the legacy version of RepeatCtx, but uses context.Background() as the context.

func (*Playlist1) RepeatCtx

func (client *Playlist1) RepeatCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Playlist1) SeekId

func (client *Playlist1) SeekId(Value uint32) (err error)

SeekId is the legacy version of SeekIdCtx, but uses context.Background() as the context.

func (*Playlist1) SeekIdCtx

func (client *Playlist1) SeekIdCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Playlist1) SeekIndex

func (client *Playlist1) SeekIndex(Value uint32) (err error)

SeekIndex is the legacy version of SeekIndexCtx, but uses context.Background() as the context.

func (*Playlist1) SeekIndexCtx

func (client *Playlist1) SeekIndexCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Playlist1) SeekSecondAbsolute

func (client *Playlist1) SeekSecondAbsolute(Value uint32) (err error)

SeekSecondAbsolute is the legacy version of SeekSecondAbsoluteCtx, but uses context.Background() as the context.

func (*Playlist1) SeekSecondAbsoluteCtx

func (client *Playlist1) SeekSecondAbsoluteCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Playlist1) SeekSecondRelative

func (client *Playlist1) SeekSecondRelative(Value int32) (err error)

SeekSecondRelative is the legacy version of SeekSecondRelativeCtx, but uses context.Background() as the context.

func (*Playlist1) SeekSecondRelativeCtx

func (client *Playlist1) SeekSecondRelativeCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Playlist1) SetRepeat

func (client *Playlist1) SetRepeat(Value bool) (err error)

SetRepeat is the legacy version of SetRepeatCtx, but uses context.Background() as the context.

func (*Playlist1) SetRepeatCtx

func (client *Playlist1) SetRepeatCtx(
	ctx context.Context,
	Value bool,
) (err error)

func (*Playlist1) SetShuffle

func (client *Playlist1) SetShuffle(Value bool) (err error)

SetShuffle is the legacy version of SetShuffleCtx, but uses context.Background() as the context.

func (*Playlist1) SetShuffleCtx

func (client *Playlist1) SetShuffleCtx(
	ctx context.Context,
	Value bool,
) (err error)

func (*Playlist1) Shuffle

func (client *Playlist1) Shuffle() (Value bool, err error)

Shuffle is the legacy version of ShuffleCtx, but uses context.Background() as the context.

func (*Playlist1) ShuffleCtx

func (client *Playlist1) ShuffleCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Playlist1) Stop

func (client *Playlist1) Stop() (err error)

Stop is the legacy version of StopCtx, but uses context.Background() as the context.

func (*Playlist1) StopCtx

func (client *Playlist1) StopCtx(
	ctx context.Context,
) (err error)

func (*Playlist1) TracksMax

func (client *Playlist1) TracksMax() (Value uint32, err error)

TracksMax is the legacy version of TracksMaxCtx, but uses context.Background() as the context.

func (*Playlist1) TracksMaxCtx

func (client *Playlist1) TracksMaxCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Playlist1) TransportState

func (client *Playlist1) TransportState() (Value string, err error)

TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.

func (*Playlist1) TransportStateCtx

func (client *Playlist1) TransportStateCtx(
	ctx context.Context,
) (Value string, err error)

Return values:

* Value: allowed values: Playing, Paused, Stopped, Buffering

type PlaylistManager1

type PlaylistManager1 struct {
	goupnp.ServiceClient
}

PlaylistManager1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:PlaylistManager:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewPlaylistManager1Clients

func NewPlaylistManager1Clients() (clients []*PlaylistManager1, errors []error, err error)

NewPlaylistManager1Clients is the legacy version of NewPlaylistManager1ClientsCtx, but uses context.Background() as the context.

func NewPlaylistManager1ClientsByURL

func NewPlaylistManager1ClientsByURL(loc *url.URL) ([]*PlaylistManager1, error)

NewPlaylistManager1ClientsByURL is the legacy version of NewPlaylistManager1ClientsByURLCtx, but uses context.Background() as the context.

func NewPlaylistManager1ClientsByURLCtx

func NewPlaylistManager1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*PlaylistManager1, error)

NewPlaylistManager1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewPlaylistManager1ClientsCtx

func NewPlaylistManager1ClientsCtx(ctx context.Context) (clients []*PlaylistManager1, errors []error, err error)

NewPlaylistManager1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewPlaylistManager1ClientsFromRootDevice

func NewPlaylistManager1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*PlaylistManager1, error)

NewPlaylistManager1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*PlaylistManager1) DeleteAll

func (client *PlaylistManager1) DeleteAll(Id uint32) (err error)

DeleteAll is the legacy version of DeleteAllCtx, but uses context.Background() as the context.

func (*PlaylistManager1) DeleteAllCtx

func (client *PlaylistManager1) DeleteAllCtx(
	ctx context.Context,
	Id uint32,
) (err error)

func (*PlaylistManager1) DeleteId

func (client *PlaylistManager1) DeleteId(Id uint32, TrackId uint32) (err error)

DeleteId is the legacy version of DeleteIdCtx, but uses context.Background() as the context.

func (*PlaylistManager1) DeleteIdCtx

func (client *PlaylistManager1) DeleteIdCtx(
	ctx context.Context,
	Id uint32,
	TrackId uint32,
) (err error)

func (*PlaylistManager1) ImagesXml

func (client *PlaylistManager1) ImagesXml() (ImagesXml string, err error)

ImagesXml is the legacy version of ImagesXmlCtx, but uses context.Background() as the context.

func (*PlaylistManager1) ImagesXmlCtx

func (client *PlaylistManager1) ImagesXmlCtx(
	ctx context.Context,
) (ImagesXml string, err error)

func (*PlaylistManager1) Insert

func (client *PlaylistManager1) Insert(Id uint32, AfterTrackId uint32, Metadata string) (NewTrackId uint32, err error)

Insert is the legacy version of InsertCtx, but uses context.Background() as the context.

func (*PlaylistManager1) InsertCtx

func (client *PlaylistManager1) InsertCtx(
	ctx context.Context,
	Id uint32,
	AfterTrackId uint32,
	Metadata string,
) (NewTrackId uint32, err error)

func (*PlaylistManager1) Metadata

func (client *PlaylistManager1) Metadata() (Metadata string, err error)

Metadata is the legacy version of MetadataCtx, but uses context.Background() as the context.

func (*PlaylistManager1) MetadataCtx

func (client *PlaylistManager1) MetadataCtx(
	ctx context.Context,
) (Metadata string, err error)

func (*PlaylistManager1) PlaylistArrays

func (client *PlaylistManager1) PlaylistArrays() (Token uint32, IdArray []byte, TokenArray []byte, err error)

PlaylistArrays is the legacy version of PlaylistArraysCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistArraysChanged

func (client *PlaylistManager1) PlaylistArraysChanged(Token uint32) (Value bool, err error)

PlaylistArraysChanged is the legacy version of PlaylistArraysChangedCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistArraysChangedCtx

func (client *PlaylistManager1) PlaylistArraysChangedCtx(
	ctx context.Context,
	Token uint32,
) (Value bool, err error)

func (*PlaylistManager1) PlaylistArraysCtx

func (client *PlaylistManager1) PlaylistArraysCtx(
	ctx context.Context,
) (Token uint32, IdArray []byte, TokenArray []byte, err error)

func (*PlaylistManager1) PlaylistDeleteId

func (client *PlaylistManager1) PlaylistDeleteId(Value uint32) (err error)

PlaylistDeleteId is the legacy version of PlaylistDeleteIdCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistDeleteIdCtx

func (client *PlaylistManager1) PlaylistDeleteIdCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*PlaylistManager1) PlaylistInsert

func (client *PlaylistManager1) PlaylistInsert(AfterId uint32, Name string, Description string, ImageId uint32) (NewId uint32, err error)

PlaylistInsert is the legacy version of PlaylistInsertCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistInsertCtx

func (client *PlaylistManager1) PlaylistInsertCtx(
	ctx context.Context,
	AfterId uint32,
	Name string,
	Description string,
	ImageId uint32,
) (NewId uint32, err error)

func (*PlaylistManager1) PlaylistMove

func (client *PlaylistManager1) PlaylistMove(Id uint32, AfterId uint32) (err error)

PlaylistMove is the legacy version of PlaylistMoveCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistMoveCtx

func (client *PlaylistManager1) PlaylistMoveCtx(
	ctx context.Context,
	Id uint32,
	AfterId uint32,
) (err error)

func (*PlaylistManager1) PlaylistRead

func (client *PlaylistManager1) PlaylistRead(Id uint32) (Name string, Description string, ImageId uint32, err error)

PlaylistRead is the legacy version of PlaylistReadCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistReadArray

func (client *PlaylistManager1) PlaylistReadArray(Id uint32) (Array []byte, err error)

PlaylistReadArray is the legacy version of PlaylistReadArrayCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistReadArrayCtx

func (client *PlaylistManager1) PlaylistReadArrayCtx(
	ctx context.Context,
	Id uint32,
) (Array []byte, err error)

func (*PlaylistManager1) PlaylistReadCtx

func (client *PlaylistManager1) PlaylistReadCtx(
	ctx context.Context,
	Id uint32,
) (Name string, Description string, ImageId uint32, err error)

func (*PlaylistManager1) PlaylistReadList

func (client *PlaylistManager1) PlaylistReadList(IdList string) (PlaylistList string, err error)

PlaylistReadList is the legacy version of PlaylistReadListCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistReadListCtx

func (client *PlaylistManager1) PlaylistReadListCtx(
	ctx context.Context,
	IdList string,
) (PlaylistList string, err error)

func (*PlaylistManager1) PlaylistSetDescription

func (client *PlaylistManager1) PlaylistSetDescription(Id uint32, Description string) (err error)

PlaylistSetDescription is the legacy version of PlaylistSetDescriptionCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistSetDescriptionCtx

func (client *PlaylistManager1) PlaylistSetDescriptionCtx(
	ctx context.Context,
	Id uint32,
	Description string,
) (err error)

func (*PlaylistManager1) PlaylistSetImageId

func (client *PlaylistManager1) PlaylistSetImageId(Id uint32, ImageId uint32) (err error)

PlaylistSetImageId is the legacy version of PlaylistSetImageIdCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistSetImageIdCtx

func (client *PlaylistManager1) PlaylistSetImageIdCtx(
	ctx context.Context,
	Id uint32,
	ImageId uint32,
) (err error)

func (*PlaylistManager1) PlaylistSetName

func (client *PlaylistManager1) PlaylistSetName(Id uint32, Name string) (err error)

PlaylistSetName is the legacy version of PlaylistSetNameCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistSetNameCtx

func (client *PlaylistManager1) PlaylistSetNameCtx(
	ctx context.Context,
	Id uint32,
	Name string,
) (err error)

func (*PlaylistManager1) PlaylistsMax

func (client *PlaylistManager1) PlaylistsMax() (Value uint32, err error)

PlaylistsMax is the legacy version of PlaylistsMaxCtx, but uses context.Background() as the context.

func (*PlaylistManager1) PlaylistsMaxCtx

func (client *PlaylistManager1) PlaylistsMaxCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*PlaylistManager1) Read

func (client *PlaylistManager1) Read(Id uint32, TrackId uint32) (Metadata string, err error)

Read is the legacy version of ReadCtx, but uses context.Background() as the context.

func (*PlaylistManager1) ReadCtx

func (client *PlaylistManager1) ReadCtx(
	ctx context.Context,
	Id uint32,
	TrackId uint32,
) (Metadata string, err error)

func (*PlaylistManager1) ReadList

func (client *PlaylistManager1) ReadList(Id uint32, TrackIdList string) (TrackList string, err error)

ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.

func (*PlaylistManager1) ReadListCtx

func (client *PlaylistManager1) ReadListCtx(
	ctx context.Context,
	Id uint32,
	TrackIdList string,
) (TrackList string, err error)

func (*PlaylistManager1) TracksMax

func (client *PlaylistManager1) TracksMax() (Value uint32, err error)

TracksMax is the legacy version of TracksMaxCtx, but uses context.Background() as the context.

func (*PlaylistManager1) TracksMaxCtx

func (client *PlaylistManager1) TracksMaxCtx(
	ctx context.Context,
) (Value uint32, err error)

type Product1

type Product1 struct {
	goupnp.ServiceClient
}

Product1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Product:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewProduct1Clients

func NewProduct1Clients() (clients []*Product1, errors []error, err error)

NewProduct1Clients is the legacy version of NewProduct1ClientsCtx, but uses context.Background() as the context.

func NewProduct1ClientsByURL

func NewProduct1ClientsByURL(loc *url.URL) ([]*Product1, error)

NewProduct1ClientsByURL is the legacy version of NewProduct1ClientsByURLCtx, but uses context.Background() as the context.

func NewProduct1ClientsByURLCtx

func NewProduct1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Product1, error)

NewProduct1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewProduct1ClientsCtx

func NewProduct1ClientsCtx(ctx context.Context) (clients []*Product1, errors []error, err error)

NewProduct1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewProduct1ClientsFromRootDevice

func NewProduct1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Product1, error)

NewProduct1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Product1) Attributes

func (client *Product1) Attributes() (Value string, err error)

Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.

func (*Product1) AttributesCtx

func (client *Product1) AttributesCtx(
	ctx context.Context,
) (Value string, err error)

func (*Product1) Manufacturer

func (client *Product1) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)

Manufacturer is the legacy version of ManufacturerCtx, but uses context.Background() as the context.

func (*Product1) ManufacturerCtx

func (client *Product1) ManufacturerCtx(
	ctx context.Context,
) (Name string, Info string, Url string, ImageUri string, err error)

func (*Product1) Model

func (client *Product1) Model() (Name string, Info string, Url string, ImageUri string, err error)

Model is the legacy version of ModelCtx, but uses context.Background() as the context.

func (*Product1) ModelCtx

func (client *Product1) ModelCtx(
	ctx context.Context,
) (Name string, Info string, Url string, ImageUri string, err error)

func (*Product1) Product

func (client *Product1) Product() (Room string, Name string, Info string, Url string, ImageUri string, err error)

Product is the legacy version of ProductCtx, but uses context.Background() as the context.

func (*Product1) ProductCtx

func (client *Product1) ProductCtx(
	ctx context.Context,
) (Room string, Name string, Info string, Url string, ImageUri string, err error)

func (*Product1) SetSourceIndex

func (client *Product1) SetSourceIndex(Value uint32) (err error)

SetSourceIndex is the legacy version of SetSourceIndexCtx, but uses context.Background() as the context.

func (*Product1) SetSourceIndexByName

func (client *Product1) SetSourceIndexByName(Value string) (err error)

SetSourceIndexByName is the legacy version of SetSourceIndexByNameCtx, but uses context.Background() as the context.

func (*Product1) SetSourceIndexByNameCtx

func (client *Product1) SetSourceIndexByNameCtx(
	ctx context.Context,
	Value string,
) (err error)

func (*Product1) SetSourceIndexCtx

func (client *Product1) SetSourceIndexCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Product1) SetStandby

func (client *Product1) SetStandby(Value bool) (err error)

SetStandby is the legacy version of SetStandbyCtx, but uses context.Background() as the context.

func (*Product1) SetStandbyCtx

func (client *Product1) SetStandbyCtx(
	ctx context.Context,
	Value bool,
) (err error)

func (*Product1) Source

func (client *Product1) Source(Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)

Source is the legacy version of SourceCtx, but uses context.Background() as the context.

func (*Product1) SourceCount

func (client *Product1) SourceCount() (Value uint32, err error)

SourceCount is the legacy version of SourceCountCtx, but uses context.Background() as the context.

func (*Product1) SourceCountCtx

func (client *Product1) SourceCountCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Product1) SourceCtx

func (client *Product1) SourceCtx(
	ctx context.Context,
	Index uint32,
) (SystemName string, Type string, Name string, Visible bool, err error)

func (*Product1) SourceIndex

func (client *Product1) SourceIndex() (Value uint32, err error)

SourceIndex is the legacy version of SourceIndexCtx, but uses context.Background() as the context.

func (*Product1) SourceIndexCtx

func (client *Product1) SourceIndexCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Product1) SourceXml

func (client *Product1) SourceXml() (Value string, err error)

SourceXml is the legacy version of SourceXmlCtx, but uses context.Background() as the context.

func (*Product1) SourceXmlChangeCount

func (client *Product1) SourceXmlChangeCount() (Value uint32, err error)

SourceXmlChangeCount is the legacy version of SourceXmlChangeCountCtx, but uses context.Background() as the context.

func (*Product1) SourceXmlChangeCountCtx

func (client *Product1) SourceXmlChangeCountCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Product1) SourceXmlCtx

func (client *Product1) SourceXmlCtx(
	ctx context.Context,
) (Value string, err error)

func (*Product1) Standby

func (client *Product1) Standby() (Value bool, err error)

Standby is the legacy version of StandbyCtx, but uses context.Background() as the context.

func (*Product1) StandbyCtx

func (client *Product1) StandbyCtx(
	ctx context.Context,
) (Value bool, err error)

type Product2

type Product2 struct {
	goupnp.ServiceClient
}

Product2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Product:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewProduct2Clients

func NewProduct2Clients() (clients []*Product2, errors []error, err error)

NewProduct2Clients is the legacy version of NewProduct2ClientsCtx, but uses context.Background() as the context.

func NewProduct2ClientsByURL

func NewProduct2ClientsByURL(loc *url.URL) ([]*Product2, error)

NewProduct2ClientsByURL is the legacy version of NewProduct2ClientsByURLCtx, but uses context.Background() as the context.

func NewProduct2ClientsByURLCtx

func NewProduct2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Product2, error)

NewProduct2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewProduct2ClientsCtx

func NewProduct2ClientsCtx(ctx context.Context) (clients []*Product2, errors []error, err error)

NewProduct2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewProduct2ClientsFromRootDevice

func NewProduct2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Product2, error)

NewProduct2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Product2) Attributes

func (client *Product2) Attributes() (Value string, err error)

Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.

func (*Product2) AttributesCtx

func (client *Product2) AttributesCtx(
	ctx context.Context,
) (Value string, err error)

func (*Product2) Manufacturer

func (client *Product2) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)

Manufacturer is the legacy version of ManufacturerCtx, but uses context.Background() as the context.

func (*Product2) ManufacturerCtx

func (client *Product2) ManufacturerCtx(
	ctx context.Context,
) (Name string, Info string, Url string, ImageUri string, err error)

func (*Product2) Model

func (client *Product2) Model() (Name string, Info string, Url string, ImageUri string, err error)

Model is the legacy version of ModelCtx, but uses context.Background() as the context.

func (*Product2) ModelCtx

func (client *Product2) ModelCtx(
	ctx context.Context,
) (Name string, Info string, Url string, ImageUri string, err error)

func (*Product2) Product

func (client *Product2) Product() (Room string, Name string, Info string, Url string, ImageUri string, err error)

Product is the legacy version of ProductCtx, but uses context.Background() as the context.

func (*Product2) ProductCtx

func (client *Product2) ProductCtx(
	ctx context.Context,
) (Room string, Name string, Info string, Url string, ImageUri string, err error)

func (*Product2) SetSourceBySystemName

func (client *Product2) SetSourceBySystemName(Value string) (err error)

SetSourceBySystemName is the legacy version of SetSourceBySystemNameCtx, but uses context.Background() as the context.

func (*Product2) SetSourceBySystemNameCtx

func (client *Product2) SetSourceBySystemNameCtx(
	ctx context.Context,
	Value string,
) (err error)

func (*Product2) SetSourceIndex

func (client *Product2) SetSourceIndex(Value uint32) (err error)

SetSourceIndex is the legacy version of SetSourceIndexCtx, but uses context.Background() as the context.

func (*Product2) SetSourceIndexByName

func (client *Product2) SetSourceIndexByName(Value string) (err error)

SetSourceIndexByName is the legacy version of SetSourceIndexByNameCtx, but uses context.Background() as the context.

func (*Product2) SetSourceIndexByNameCtx

func (client *Product2) SetSourceIndexByNameCtx(
	ctx context.Context,
	Value string,
) (err error)

func (*Product2) SetSourceIndexCtx

func (client *Product2) SetSourceIndexCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Product2) SetStandby

func (client *Product2) SetStandby(Value bool) (err error)

SetStandby is the legacy version of SetStandbyCtx, but uses context.Background() as the context.

func (*Product2) SetStandbyCtx

func (client *Product2) SetStandbyCtx(
	ctx context.Context,
	Value bool,
) (err error)

func (*Product2) Source

func (client *Product2) Source(Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)

Source is the legacy version of SourceCtx, but uses context.Background() as the context.

func (*Product2) SourceCount

func (client *Product2) SourceCount() (Value uint32, err error)

SourceCount is the legacy version of SourceCountCtx, but uses context.Background() as the context.

func (*Product2) SourceCountCtx

func (client *Product2) SourceCountCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Product2) SourceCtx

func (client *Product2) SourceCtx(
	ctx context.Context,
	Index uint32,
) (SystemName string, Type string, Name string, Visible bool, err error)

func (*Product2) SourceIndex

func (client *Product2) SourceIndex() (Value uint32, err error)

SourceIndex is the legacy version of SourceIndexCtx, but uses context.Background() as the context.

func (*Product2) SourceIndexCtx

func (client *Product2) SourceIndexCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Product2) SourceXml

func (client *Product2) SourceXml() (Value string, err error)

SourceXml is the legacy version of SourceXmlCtx, but uses context.Background() as the context.

func (*Product2) SourceXmlChangeCount

func (client *Product2) SourceXmlChangeCount() (Value uint32, err error)

SourceXmlChangeCount is the legacy version of SourceXmlChangeCountCtx, but uses context.Background() as the context.

func (*Product2) SourceXmlChangeCountCtx

func (client *Product2) SourceXmlChangeCountCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Product2) SourceXmlCtx

func (client *Product2) SourceXmlCtx(
	ctx context.Context,
) (Value string, err error)

func (*Product2) Standby

func (client *Product2) Standby() (Value bool, err error)

Standby is the legacy version of StandbyCtx, but uses context.Background() as the context.

func (*Product2) StandbyCtx

func (client *Product2) StandbyCtx(
	ctx context.Context,
) (Value bool, err error)

type Radio1

type Radio1 struct {
	goupnp.ServiceClient
}

Radio1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Radio:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewRadio1Clients

func NewRadio1Clients() (clients []*Radio1, errors []error, err error)

NewRadio1Clients is the legacy version of NewRadio1ClientsCtx, but uses context.Background() as the context.

func NewRadio1ClientsByURL

func NewRadio1ClientsByURL(loc *url.URL) ([]*Radio1, error)

NewRadio1ClientsByURL is the legacy version of NewRadio1ClientsByURLCtx, but uses context.Background() as the context.

func NewRadio1ClientsByURLCtx

func NewRadio1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Radio1, error)

NewRadio1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewRadio1ClientsCtx

func NewRadio1ClientsCtx(ctx context.Context) (clients []*Radio1, errors []error, err error)

NewRadio1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewRadio1ClientsFromRootDevice

func NewRadio1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Radio1, error)

NewRadio1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Radio1) Channel

func (client *Radio1) Channel() (Uri string, Metadata string, err error)

Channel is the legacy version of ChannelCtx, but uses context.Background() as the context.

func (*Radio1) ChannelCtx

func (client *Radio1) ChannelCtx(
	ctx context.Context,
) (Uri string, Metadata string, err error)

func (*Radio1) ChannelsMax

func (client *Radio1) ChannelsMax() (Value uint32, err error)

ChannelsMax is the legacy version of ChannelsMaxCtx, but uses context.Background() as the context.

func (*Radio1) ChannelsMaxCtx

func (client *Radio1) ChannelsMaxCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Radio1) Id

func (client *Radio1) Id() (Value uint32, err error)

Id is the legacy version of IdCtx, but uses context.Background() as the context.

func (*Radio1) IdArray

func (client *Radio1) IdArray() (Token uint32, Array []byte, err error)

IdArray is the legacy version of IdArrayCtx, but uses context.Background() as the context.

func (*Radio1) IdArrayChanged

func (client *Radio1) IdArrayChanged(Token uint32) (Value bool, err error)

IdArrayChanged is the legacy version of IdArrayChangedCtx, but uses context.Background() as the context.

func (*Radio1) IdArrayChangedCtx

func (client *Radio1) IdArrayChangedCtx(
	ctx context.Context,
	Token uint32,
) (Value bool, err error)

func (*Radio1) IdArrayCtx

func (client *Radio1) IdArrayCtx(
	ctx context.Context,
) (Token uint32, Array []byte, err error)

func (*Radio1) IdCtx

func (client *Radio1) IdCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Radio1) Pause

func (client *Radio1) Pause() (err error)

Pause is the legacy version of PauseCtx, but uses context.Background() as the context.

func (*Radio1) PauseCtx

func (client *Radio1) PauseCtx(
	ctx context.Context,
) (err error)

func (*Radio1) Play

func (client *Radio1) Play() (err error)

Play is the legacy version of PlayCtx, but uses context.Background() as the context.

func (*Radio1) PlayCtx

func (client *Radio1) PlayCtx(
	ctx context.Context,
) (err error)

func (*Radio1) ProtocolInfo

func (client *Radio1) ProtocolInfo() (Value string, err error)

ProtocolInfo is the legacy version of ProtocolInfoCtx, but uses context.Background() as the context.

func (*Radio1) ProtocolInfoCtx

func (client *Radio1) ProtocolInfoCtx(
	ctx context.Context,
) (Value string, err error)

func (*Radio1) Read

func (client *Radio1) Read(Id uint32) (Metadata string, err error)

Read is the legacy version of ReadCtx, but uses context.Background() as the context.

func (*Radio1) ReadCtx

func (client *Radio1) ReadCtx(
	ctx context.Context,
	Id uint32,
) (Metadata string, err error)

func (*Radio1) ReadList

func (client *Radio1) ReadList(IdList string) (ChannelList string, err error)

ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.

func (*Radio1) ReadListCtx

func (client *Radio1) ReadListCtx(
	ctx context.Context,
	IdList string,
) (ChannelList string, err error)

func (*Radio1) SeekSecondAbsolute

func (client *Radio1) SeekSecondAbsolute(Value uint32) (err error)

SeekSecondAbsolute is the legacy version of SeekSecondAbsoluteCtx, but uses context.Background() as the context.

func (*Radio1) SeekSecondAbsoluteCtx

func (client *Radio1) SeekSecondAbsoluteCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Radio1) SeekSecondRelative

func (client *Radio1) SeekSecondRelative(Value int32) (err error)

SeekSecondRelative is the legacy version of SeekSecondRelativeCtx, but uses context.Background() as the context.

func (*Radio1) SeekSecondRelativeCtx

func (client *Radio1) SeekSecondRelativeCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Radio1) SetChannel

func (client *Radio1) SetChannel(Uri string, Metadata string) (err error)

SetChannel is the legacy version of SetChannelCtx, but uses context.Background() as the context.

func (*Radio1) SetChannelCtx

func (client *Radio1) SetChannelCtx(
	ctx context.Context,
	Uri string,
	Metadata string,
) (err error)

func (*Radio1) SetId

func (client *Radio1) SetId(Value uint32, Uri string) (err error)

SetId is the legacy version of SetIdCtx, but uses context.Background() as the context.

func (*Radio1) SetIdCtx

func (client *Radio1) SetIdCtx(
	ctx context.Context,
	Value uint32,
	Uri string,
) (err error)

func (*Radio1) Stop

func (client *Radio1) Stop() (err error)

Stop is the legacy version of StopCtx, but uses context.Background() as the context.

func (*Radio1) StopCtx

func (client *Radio1) StopCtx(
	ctx context.Context,
) (err error)

func (*Radio1) TransportState

func (client *Radio1) TransportState() (Value string, err error)

TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.

func (*Radio1) TransportStateCtx

func (client *Radio1) TransportStateCtx(
	ctx context.Context,
) (Value string, err error)

Return values:

* Value: allowed values: Stopped, Playing, Paused, Buffering

type Receiver1

type Receiver1 struct {
	goupnp.ServiceClient
}

Receiver1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Receiver:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewReceiver1Clients

func NewReceiver1Clients() (clients []*Receiver1, errors []error, err error)

NewReceiver1Clients is the legacy version of NewReceiver1ClientsCtx, but uses context.Background() as the context.

func NewReceiver1ClientsByURL

func NewReceiver1ClientsByURL(loc *url.URL) ([]*Receiver1, error)

NewReceiver1ClientsByURL is the legacy version of NewReceiver1ClientsByURLCtx, but uses context.Background() as the context.

func NewReceiver1ClientsByURLCtx

func NewReceiver1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Receiver1, error)

NewReceiver1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewReceiver1ClientsCtx

func NewReceiver1ClientsCtx(ctx context.Context) (clients []*Receiver1, errors []error, err error)

NewReceiver1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewReceiver1ClientsFromRootDevice

func NewReceiver1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Receiver1, error)

NewReceiver1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Receiver1) Play

func (client *Receiver1) Play() (err error)

Play is the legacy version of PlayCtx, but uses context.Background() as the context.

func (*Receiver1) PlayCtx

func (client *Receiver1) PlayCtx(
	ctx context.Context,
) (err error)

func (*Receiver1) ProtocolInfo

func (client *Receiver1) ProtocolInfo() (Value string, err error)

ProtocolInfo is the legacy version of ProtocolInfoCtx, but uses context.Background() as the context.

func (*Receiver1) ProtocolInfoCtx

func (client *Receiver1) ProtocolInfoCtx(
	ctx context.Context,
) (Value string, err error)

func (*Receiver1) Sender

func (client *Receiver1) Sender() (Uri string, Metadata string, err error)

Sender is the legacy version of SenderCtx, but uses context.Background() as the context.

func (*Receiver1) SenderCtx

func (client *Receiver1) SenderCtx(
	ctx context.Context,
) (Uri string, Metadata string, err error)

func (*Receiver1) SetSender

func (client *Receiver1) SetSender(Uri string, Metadata string) (err error)

SetSender is the legacy version of SetSenderCtx, but uses context.Background() as the context.

func (*Receiver1) SetSenderCtx

func (client *Receiver1) SetSenderCtx(
	ctx context.Context,
	Uri string,
	Metadata string,
) (err error)

func (*Receiver1) Stop

func (client *Receiver1) Stop() (err error)

Stop is the legacy version of StopCtx, but uses context.Background() as the context.

func (*Receiver1) StopCtx

func (client *Receiver1) StopCtx(
	ctx context.Context,
) (err error)

func (*Receiver1) TransportState

func (client *Receiver1) TransportState() (Value string, err error)

TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.

func (*Receiver1) TransportStateCtx

func (client *Receiver1) TransportStateCtx(
	ctx context.Context,
) (Value string, err error)

Return values:

* Value: allowed values: Stopped, Playing, Waiting, Buffering

type Sender1

type Sender1 struct {
	goupnp.ServiceClient
}

Sender1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Sender:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewSender1Clients

func NewSender1Clients() (clients []*Sender1, errors []error, err error)

NewSender1Clients is the legacy version of NewSender1ClientsCtx, but uses context.Background() as the context.

func NewSender1ClientsByURL

func NewSender1ClientsByURL(loc *url.URL) ([]*Sender1, error)

NewSender1ClientsByURL is the legacy version of NewSender1ClientsByURLCtx, but uses context.Background() as the context.

func NewSender1ClientsByURLCtx

func NewSender1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Sender1, error)

NewSender1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewSender1ClientsCtx

func NewSender1ClientsCtx(ctx context.Context) (clients []*Sender1, errors []error, err error)

NewSender1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewSender1ClientsFromRootDevice

func NewSender1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Sender1, error)

NewSender1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Sender1) Attributes

func (client *Sender1) Attributes() (Value string, err error)

Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.

func (*Sender1) AttributesCtx

func (client *Sender1) AttributesCtx(
	ctx context.Context,
) (Value string, err error)

func (*Sender1) Audio

func (client *Sender1) Audio() (Value bool, err error)

Audio is the legacy version of AudioCtx, but uses context.Background() as the context.

func (*Sender1) AudioCtx

func (client *Sender1) AudioCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Sender1) Metadata

func (client *Sender1) Metadata() (Value string, err error)

Metadata is the legacy version of MetadataCtx, but uses context.Background() as the context.

func (*Sender1) MetadataCtx

func (client *Sender1) MetadataCtx(
	ctx context.Context,
) (Value string, err error)

func (*Sender1) PresentationUrl

func (client *Sender1) PresentationUrl() (Value string, err error)

PresentationUrl is the legacy version of PresentationUrlCtx, but uses context.Background() as the context.

func (*Sender1) PresentationUrlCtx

func (client *Sender1) PresentationUrlCtx(
	ctx context.Context,
) (Value string, err error)

func (*Sender1) Status

func (client *Sender1) Status() (Value string, err error)

Status is the legacy version of StatusCtx, but uses context.Background() as the context.

func (*Sender1) StatusCtx

func (client *Sender1) StatusCtx(
	ctx context.Context,
) (Value string, err error)

Return values:

* Value: allowed values: Enabled, Disabled, Blocked

type Sender2

type Sender2 struct {
	goupnp.ServiceClient
}

Sender2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Sender:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewSender2Clients

func NewSender2Clients() (clients []*Sender2, errors []error, err error)

NewSender2Clients is the legacy version of NewSender2ClientsCtx, but uses context.Background() as the context.

func NewSender2ClientsByURL

func NewSender2ClientsByURL(loc *url.URL) ([]*Sender2, error)

NewSender2ClientsByURL is the legacy version of NewSender2ClientsByURLCtx, but uses context.Background() as the context.

func NewSender2ClientsByURLCtx

func NewSender2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Sender2, error)

NewSender2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewSender2ClientsCtx

func NewSender2ClientsCtx(ctx context.Context) (clients []*Sender2, errors []error, err error)

NewSender2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewSender2ClientsFromRootDevice

func NewSender2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Sender2, error)

NewSender2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Sender2) Attributes

func (client *Sender2) Attributes() (Value string, err error)

Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.

func (*Sender2) AttributesCtx

func (client *Sender2) AttributesCtx(
	ctx context.Context,
) (Value string, err error)

func (*Sender2) Audio

func (client *Sender2) Audio() (Value bool, err error)

Audio is the legacy version of AudioCtx, but uses context.Background() as the context.

func (*Sender2) AudioCtx

func (client *Sender2) AudioCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Sender2) Enabled

func (client *Sender2) Enabled() (Value bool, err error)

Enabled is the legacy version of EnabledCtx, but uses context.Background() as the context.

func (*Sender2) EnabledCtx

func (client *Sender2) EnabledCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Sender2) Metadata

func (client *Sender2) Metadata() (Value string, err error)

Metadata is the legacy version of MetadataCtx, but uses context.Background() as the context.

func (*Sender2) MetadataCtx

func (client *Sender2) MetadataCtx(
	ctx context.Context,
) (Value string, err error)

func (*Sender2) PresentationUrl

func (client *Sender2) PresentationUrl() (Value string, err error)

PresentationUrl is the legacy version of PresentationUrlCtx, but uses context.Background() as the context.

func (*Sender2) PresentationUrlCtx

func (client *Sender2) PresentationUrlCtx(
	ctx context.Context,
) (Value string, err error)

func (*Sender2) Status

func (client *Sender2) Status() (Value string, err error)

Status is the legacy version of StatusCtx, but uses context.Background() as the context.

func (*Sender2) Status2

func (client *Sender2) Status2() (Value string, err error)

Status2 is the legacy version of Status2Ctx, but uses context.Background() as the context.

func (*Sender2) Status2Ctx

func (client *Sender2) Status2Ctx(
	ctx context.Context,
) (Value string, err error)

Return values:

* Value: allowed values: Sending, Ready, Blocked, Inactive, Disabled

func (*Sender2) StatusCtx

func (client *Sender2) StatusCtx(
	ctx context.Context,
) (Value string, err error)

Return values:

* Value: allowed values: Enabled, Disabled, Blocked

type SubscriptionLongPoll1

type SubscriptionLongPoll1 struct {
	goupnp.ServiceClient
}

SubscriptionLongPoll1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:SubscriptionLongPoll:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewSubscriptionLongPoll1Clients

func NewSubscriptionLongPoll1Clients() (clients []*SubscriptionLongPoll1, errors []error, err error)

NewSubscriptionLongPoll1Clients is the legacy version of NewSubscriptionLongPoll1ClientsCtx, but uses context.Background() as the context.

func NewSubscriptionLongPoll1ClientsByURL

func NewSubscriptionLongPoll1ClientsByURL(loc *url.URL) ([]*SubscriptionLongPoll1, error)

NewSubscriptionLongPoll1ClientsByURL is the legacy version of NewSubscriptionLongPoll1ClientsByURLCtx, but uses context.Background() as the context.

func NewSubscriptionLongPoll1ClientsByURLCtx

func NewSubscriptionLongPoll1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*SubscriptionLongPoll1, error)

NewSubscriptionLongPoll1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewSubscriptionLongPoll1ClientsCtx

func NewSubscriptionLongPoll1ClientsCtx(ctx context.Context) (clients []*SubscriptionLongPoll1, errors []error, err error)

NewSubscriptionLongPoll1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewSubscriptionLongPoll1ClientsFromRootDevice

func NewSubscriptionLongPoll1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*SubscriptionLongPoll1, error)

NewSubscriptionLongPoll1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*SubscriptionLongPoll1) GetPropertyUpdates

func (client *SubscriptionLongPoll1) GetPropertyUpdates(ClientId string) (Updates string, err error)

GetPropertyUpdates is the legacy version of GetPropertyUpdatesCtx, but uses context.Background() as the context.

func (*SubscriptionLongPoll1) GetPropertyUpdatesCtx

func (client *SubscriptionLongPoll1) GetPropertyUpdatesCtx(
	ctx context.Context,
	ClientId string,
) (Updates string, err error)

func (*SubscriptionLongPoll1) Renew

func (client *SubscriptionLongPoll1) Renew(Sid string, RequestedDuration uint32) (Duration uint32, err error)

Renew is the legacy version of RenewCtx, but uses context.Background() as the context.

func (*SubscriptionLongPoll1) RenewCtx

func (client *SubscriptionLongPoll1) RenewCtx(
	ctx context.Context,
	Sid string,
	RequestedDuration uint32,
) (Duration uint32, err error)

func (*SubscriptionLongPoll1) Subscribe

func (client *SubscriptionLongPoll1) Subscribe(ClientId string, Udn string, Service string, RequestedDuration uint32) (Sid string, Duration uint32, err error)

Subscribe is the legacy version of SubscribeCtx, but uses context.Background() as the context.

func (*SubscriptionLongPoll1) SubscribeCtx

func (client *SubscriptionLongPoll1) SubscribeCtx(
	ctx context.Context,
	ClientId string,
	Udn string,
	Service string,
	RequestedDuration uint32,
) (Sid string, Duration uint32, err error)

func (*SubscriptionLongPoll1) Unsubscribe

func (client *SubscriptionLongPoll1) Unsubscribe(Sid string) (err error)

Unsubscribe is the legacy version of UnsubscribeCtx, but uses context.Background() as the context.

func (*SubscriptionLongPoll1) UnsubscribeCtx

func (client *SubscriptionLongPoll1) UnsubscribeCtx(
	ctx context.Context,
	Sid string,
) (err error)

type Time1

type Time1 struct {
	goupnp.ServiceClient
}

Time1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Time:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewTime1Clients

func NewTime1Clients() (clients []*Time1, errors []error, err error)

NewTime1Clients is the legacy version of NewTime1ClientsCtx, but uses context.Background() as the context.

func NewTime1ClientsByURL

func NewTime1ClientsByURL(loc *url.URL) ([]*Time1, error)

NewTime1ClientsByURL is the legacy version of NewTime1ClientsByURLCtx, but uses context.Background() as the context.

func NewTime1ClientsByURLCtx

func NewTime1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Time1, error)

NewTime1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewTime1ClientsCtx

func NewTime1ClientsCtx(ctx context.Context) (clients []*Time1, errors []error, err error)

NewTime1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewTime1ClientsFromRootDevice

func NewTime1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Time1, error)

NewTime1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Time1) Time

func (client *Time1) Time() (TrackCount uint32, Duration uint32, Seconds uint32, err error)

Time is the legacy version of TimeCtx, but uses context.Background() as the context.

func (*Time1) TimeCtx

func (client *Time1) TimeCtx(
	ctx context.Context,
) (TrackCount uint32, Duration uint32, Seconds uint32, err error)

type Transport1

type Transport1 struct {
	goupnp.ServiceClient
}

Transport1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Transport:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewTransport1Clients

func NewTransport1Clients() (clients []*Transport1, errors []error, err error)

NewTransport1Clients is the legacy version of NewTransport1ClientsCtx, but uses context.Background() as the context.

func NewTransport1ClientsByURL

func NewTransport1ClientsByURL(loc *url.URL) ([]*Transport1, error)

NewTransport1ClientsByURL is the legacy version of NewTransport1ClientsByURLCtx, but uses context.Background() as the context.

func NewTransport1ClientsByURLCtx

func NewTransport1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Transport1, error)

NewTransport1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewTransport1ClientsCtx

func NewTransport1ClientsCtx(ctx context.Context) (clients []*Transport1, errors []error, err error)

NewTransport1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewTransport1ClientsFromRootDevice

func NewTransport1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Transport1, error)

NewTransport1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Transport1) ModeInfo

func (client *Transport1) ModeInfo() (CanSkipNext bool, CanSkipPrevious bool, CanRepeat bool, CanShuffle bool, err error)

ModeInfo is the legacy version of ModeInfoCtx, but uses context.Background() as the context.

func (*Transport1) ModeInfoCtx

func (client *Transport1) ModeInfoCtx(
	ctx context.Context,
) (CanSkipNext bool, CanSkipPrevious bool, CanRepeat bool, CanShuffle bool, err error)

func (*Transport1) Modes

func (client *Transport1) Modes() (Modes string, err error)

Modes is the legacy version of ModesCtx, but uses context.Background() as the context.

func (*Transport1) ModesCtx

func (client *Transport1) ModesCtx(
	ctx context.Context,
) (Modes string, err error)

func (*Transport1) Pause

func (client *Transport1) Pause() (err error)

Pause is the legacy version of PauseCtx, but uses context.Background() as the context.

func (*Transport1) PauseCtx

func (client *Transport1) PauseCtx(
	ctx context.Context,
) (err error)

func (*Transport1) Play

func (client *Transport1) Play() (err error)

Play is the legacy version of PlayCtx, but uses context.Background() as the context.

func (*Transport1) PlayAs

func (client *Transport1) PlayAs(Mode string, Command string) (err error)

PlayAs is the legacy version of PlayAsCtx, but uses context.Background() as the context.

func (*Transport1) PlayAsCtx

func (client *Transport1) PlayAsCtx(
	ctx context.Context,
	Mode string,
	Command string,
) (err error)

func (*Transport1) PlayCtx

func (client *Transport1) PlayCtx(
	ctx context.Context,
) (err error)

func (*Transport1) Repeat

func (client *Transport1) Repeat() (Repeat bool, err error)

Repeat is the legacy version of RepeatCtx, but uses context.Background() as the context.

func (*Transport1) RepeatCtx

func (client *Transport1) RepeatCtx(
	ctx context.Context,
) (Repeat bool, err error)

func (*Transport1) SeekSecondAbsolute

func (client *Transport1) SeekSecondAbsolute(StreamId uint32, SecondAbsolute uint32) (err error)

SeekSecondAbsolute is the legacy version of SeekSecondAbsoluteCtx, but uses context.Background() as the context.

func (*Transport1) SeekSecondAbsoluteCtx

func (client *Transport1) SeekSecondAbsoluteCtx(
	ctx context.Context,
	StreamId uint32,
	SecondAbsolute uint32,
) (err error)

func (*Transport1) SeekSecondRelative

func (client *Transport1) SeekSecondRelative(StreamId uint32, SecondRelative int32) (err error)

SeekSecondRelative is the legacy version of SeekSecondRelativeCtx, but uses context.Background() as the context.

func (*Transport1) SeekSecondRelativeCtx

func (client *Transport1) SeekSecondRelativeCtx(
	ctx context.Context,
	StreamId uint32,
	SecondRelative int32,
) (err error)

func (*Transport1) SetRepeat

func (client *Transport1) SetRepeat(Repeat bool) (err error)

SetRepeat is the legacy version of SetRepeatCtx, but uses context.Background() as the context.

func (*Transport1) SetRepeatCtx

func (client *Transport1) SetRepeatCtx(
	ctx context.Context,
	Repeat bool,
) (err error)

func (*Transport1) SetShuffle

func (client *Transport1) SetShuffle(Shuffle bool) (err error)

SetShuffle is the legacy version of SetShuffleCtx, but uses context.Background() as the context.

func (*Transport1) SetShuffleCtx

func (client *Transport1) SetShuffleCtx(
	ctx context.Context,
	Shuffle bool,
) (err error)

func (*Transport1) Shuffle

func (client *Transport1) Shuffle() (Shuffle bool, err error)

Shuffle is the legacy version of ShuffleCtx, but uses context.Background() as the context.

func (*Transport1) ShuffleCtx

func (client *Transport1) ShuffleCtx(
	ctx context.Context,
) (Shuffle bool, err error)

func (*Transport1) SkipNext

func (client *Transport1) SkipNext() (err error)

SkipNext is the legacy version of SkipNextCtx, but uses context.Background() as the context.

func (*Transport1) SkipNextCtx

func (client *Transport1) SkipNextCtx(
	ctx context.Context,
) (err error)

func (*Transport1) SkipPrevious

func (client *Transport1) SkipPrevious() (err error)

SkipPrevious is the legacy version of SkipPreviousCtx, but uses context.Background() as the context.

func (*Transport1) SkipPreviousCtx

func (client *Transport1) SkipPreviousCtx(
	ctx context.Context,
) (err error)

func (*Transport1) Stop

func (client *Transport1) Stop() (err error)

Stop is the legacy version of StopCtx, but uses context.Background() as the context.

func (*Transport1) StopCtx

func (client *Transport1) StopCtx(
	ctx context.Context,
) (err error)

func (*Transport1) StreamId

func (client *Transport1) StreamId() (StreamId uint32, err error)

StreamId is the legacy version of StreamIdCtx, but uses context.Background() as the context.

func (*Transport1) StreamIdCtx

func (client *Transport1) StreamIdCtx(
	ctx context.Context,
) (StreamId uint32, err error)

func (*Transport1) StreamInfo

func (client *Transport1) StreamInfo() (StreamId uint32, CanSeek bool, CanPause bool, err error)

StreamInfo is the legacy version of StreamInfoCtx, but uses context.Background() as the context.

func (*Transport1) StreamInfoCtx

func (client *Transport1) StreamInfoCtx(
	ctx context.Context,
) (StreamId uint32, CanSeek bool, CanPause bool, err error)

func (*Transport1) TransportState

func (client *Transport1) TransportState() (State string, err error)

TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.

func (*Transport1) TransportStateCtx

func (client *Transport1) TransportStateCtx(
	ctx context.Context,
) (State string, err error)

Return values:

* State: allowed values: Playing, Paused, Stopped, Buffering, Waiting

type Volume1

type Volume1 struct {
	goupnp.ServiceClient
}

Volume1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Volume:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewVolume1Clients

func NewVolume1Clients() (clients []*Volume1, errors []error, err error)

NewVolume1Clients is the legacy version of NewVolume1ClientsCtx, but uses context.Background() as the context.

func NewVolume1ClientsByURL

func NewVolume1ClientsByURL(loc *url.URL) ([]*Volume1, error)

NewVolume1ClientsByURL is the legacy version of NewVolume1ClientsByURLCtx, but uses context.Background() as the context.

func NewVolume1ClientsByURLCtx

func NewVolume1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Volume1, error)

NewVolume1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewVolume1ClientsCtx

func NewVolume1ClientsCtx(ctx context.Context) (clients []*Volume1, errors []error, err error)

NewVolume1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewVolume1ClientsFromRootDevice

func NewVolume1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume1, error)

NewVolume1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Volume1) Balance

func (client *Volume1) Balance() (Value int32, err error)

Balance is the legacy version of BalanceCtx, but uses context.Background() as the context.

func (*Volume1) BalanceCtx

func (client *Volume1) BalanceCtx(
	ctx context.Context,
) (Value int32, err error)

func (*Volume1) BalanceDec

func (client *Volume1) BalanceDec() (err error)

BalanceDec is the legacy version of BalanceDecCtx, but uses context.Background() as the context.

func (*Volume1) BalanceDecCtx

func (client *Volume1) BalanceDecCtx(
	ctx context.Context,
) (err error)

func (*Volume1) BalanceInc

func (client *Volume1) BalanceInc() (err error)

BalanceInc is the legacy version of BalanceIncCtx, but uses context.Background() as the context.

func (*Volume1) BalanceIncCtx

func (client *Volume1) BalanceIncCtx(
	ctx context.Context,
) (err error)

func (*Volume1) Characteristics

func (client *Volume1) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)

Characteristics is the legacy version of CharacteristicsCtx, but uses context.Background() as the context.

func (*Volume1) CharacteristicsCtx

func (client *Volume1) CharacteristicsCtx(
	ctx context.Context,
) (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)

func (*Volume1) Fade

func (client *Volume1) Fade() (Value int32, err error)

Fade is the legacy version of FadeCtx, but uses context.Background() as the context.

func (*Volume1) FadeCtx

func (client *Volume1) FadeCtx(
	ctx context.Context,
) (Value int32, err error)

func (*Volume1) FadeDec

func (client *Volume1) FadeDec() (err error)

FadeDec is the legacy version of FadeDecCtx, but uses context.Background() as the context.

func (*Volume1) FadeDecCtx

func (client *Volume1) FadeDecCtx(
	ctx context.Context,
) (err error)

func (*Volume1) FadeInc

func (client *Volume1) FadeInc() (err error)

FadeInc is the legacy version of FadeIncCtx, but uses context.Background() as the context.

func (*Volume1) FadeIncCtx

func (client *Volume1) FadeIncCtx(
	ctx context.Context,
) (err error)

func (*Volume1) Mute

func (client *Volume1) Mute() (Value bool, err error)

Mute is the legacy version of MuteCtx, but uses context.Background() as the context.

func (*Volume1) MuteCtx

func (client *Volume1) MuteCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Volume1) SetBalance

func (client *Volume1) SetBalance(Value int32) (err error)

SetBalance is the legacy version of SetBalanceCtx, but uses context.Background() as the context.

func (*Volume1) SetBalanceCtx

func (client *Volume1) SetBalanceCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Volume1) SetFade

func (client *Volume1) SetFade(Value int32) (err error)

SetFade is the legacy version of SetFadeCtx, but uses context.Background() as the context.

func (*Volume1) SetFadeCtx

func (client *Volume1) SetFadeCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Volume1) SetMute

func (client *Volume1) SetMute(Value bool) (err error)

SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.

func (*Volume1) SetMuteCtx

func (client *Volume1) SetMuteCtx(
	ctx context.Context,
	Value bool,
) (err error)

func (*Volume1) SetVolume

func (client *Volume1) SetVolume(Value uint32) (err error)

SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.

func (*Volume1) SetVolumeCtx

func (client *Volume1) SetVolumeCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Volume1) Volume

func (client *Volume1) Volume() (Value uint32, err error)

Volume is the legacy version of VolumeCtx, but uses context.Background() as the context.

func (*Volume1) VolumeCtx

func (client *Volume1) VolumeCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Volume1) VolumeDec

func (client *Volume1) VolumeDec() (err error)

VolumeDec is the legacy version of VolumeDecCtx, but uses context.Background() as the context.

func (*Volume1) VolumeDecCtx

func (client *Volume1) VolumeDecCtx(
	ctx context.Context,
) (err error)

func (*Volume1) VolumeInc

func (client *Volume1) VolumeInc() (err error)

VolumeInc is the legacy version of VolumeIncCtx, but uses context.Background() as the context.

func (*Volume1) VolumeIncCtx

func (client *Volume1) VolumeIncCtx(
	ctx context.Context,
) (err error)

func (*Volume1) VolumeLimit

func (client *Volume1) VolumeLimit() (Value uint32, err error)

VolumeLimit is the legacy version of VolumeLimitCtx, but uses context.Background() as the context.

func (*Volume1) VolumeLimitCtx

func (client *Volume1) VolumeLimitCtx(
	ctx context.Context,
) (Value uint32, err error)

type Volume2

type Volume2 struct {
	goupnp.ServiceClient
}

Volume2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Volume:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewVolume2Clients

func NewVolume2Clients() (clients []*Volume2, errors []error, err error)

NewVolume2Clients is the legacy version of NewVolume2ClientsCtx, but uses context.Background() as the context.

func NewVolume2ClientsByURL

func NewVolume2ClientsByURL(loc *url.URL) ([]*Volume2, error)

NewVolume2ClientsByURL is the legacy version of NewVolume2ClientsByURLCtx, but uses context.Background() as the context.

func NewVolume2ClientsByURLCtx

func NewVolume2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Volume2, error)

NewVolume2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewVolume2ClientsCtx

func NewVolume2ClientsCtx(ctx context.Context) (clients []*Volume2, errors []error, err error)

NewVolume2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewVolume2ClientsFromRootDevice

func NewVolume2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume2, error)

NewVolume2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Volume2) Balance

func (client *Volume2) Balance() (Value int32, err error)

Balance is the legacy version of BalanceCtx, but uses context.Background() as the context.

func (*Volume2) BalanceCtx

func (client *Volume2) BalanceCtx(
	ctx context.Context,
) (Value int32, err error)

func (*Volume2) BalanceDec

func (client *Volume2) BalanceDec() (err error)

BalanceDec is the legacy version of BalanceDecCtx, but uses context.Background() as the context.

func (*Volume2) BalanceDecCtx

func (client *Volume2) BalanceDecCtx(
	ctx context.Context,
) (err error)

func (*Volume2) BalanceInc

func (client *Volume2) BalanceInc() (err error)

BalanceInc is the legacy version of BalanceIncCtx, but uses context.Background() as the context.

func (*Volume2) BalanceIncCtx

func (client *Volume2) BalanceIncCtx(
	ctx context.Context,
) (err error)

func (*Volume2) Characteristics

func (client *Volume2) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)

Characteristics is the legacy version of CharacteristicsCtx, but uses context.Background() as the context.

func (*Volume2) CharacteristicsCtx

func (client *Volume2) CharacteristicsCtx(
	ctx context.Context,
) (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)

func (*Volume2) Fade

func (client *Volume2) Fade() (Value int32, err error)

Fade is the legacy version of FadeCtx, but uses context.Background() as the context.

func (*Volume2) FadeCtx

func (client *Volume2) FadeCtx(
	ctx context.Context,
) (Value int32, err error)

func (*Volume2) FadeDec

func (client *Volume2) FadeDec() (err error)

FadeDec is the legacy version of FadeDecCtx, but uses context.Background() as the context.

func (*Volume2) FadeDecCtx

func (client *Volume2) FadeDecCtx(
	ctx context.Context,
) (err error)

func (*Volume2) FadeInc

func (client *Volume2) FadeInc() (err error)

FadeInc is the legacy version of FadeIncCtx, but uses context.Background() as the context.

func (*Volume2) FadeIncCtx

func (client *Volume2) FadeIncCtx(
	ctx context.Context,
) (err error)

func (*Volume2) Mute

func (client *Volume2) Mute() (Value bool, err error)

Mute is the legacy version of MuteCtx, but uses context.Background() as the context.

func (*Volume2) MuteCtx

func (client *Volume2) MuteCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Volume2) SetBalance

func (client *Volume2) SetBalance(Value int32) (err error)

SetBalance is the legacy version of SetBalanceCtx, but uses context.Background() as the context.

func (*Volume2) SetBalanceCtx

func (client *Volume2) SetBalanceCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Volume2) SetFade

func (client *Volume2) SetFade(Value int32) (err error)

SetFade is the legacy version of SetFadeCtx, but uses context.Background() as the context.

func (*Volume2) SetFadeCtx

func (client *Volume2) SetFadeCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Volume2) SetMute

func (client *Volume2) SetMute(Value bool) (err error)

SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.

func (*Volume2) SetMuteCtx

func (client *Volume2) SetMuteCtx(
	ctx context.Context,
	Value bool,
) (err error)

func (*Volume2) SetVolume

func (client *Volume2) SetVolume(Value uint32) (err error)

SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.

func (*Volume2) SetVolumeCtx

func (client *Volume2) SetVolumeCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Volume2) UnityGain

func (client *Volume2) UnityGain() (Value bool, err error)

UnityGain is the legacy version of UnityGainCtx, but uses context.Background() as the context.

func (*Volume2) UnityGainCtx

func (client *Volume2) UnityGainCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Volume2) Volume

func (client *Volume2) Volume() (Value uint32, err error)

Volume is the legacy version of VolumeCtx, but uses context.Background() as the context.

func (*Volume2) VolumeCtx

func (client *Volume2) VolumeCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Volume2) VolumeDec

func (client *Volume2) VolumeDec() (err error)

VolumeDec is the legacy version of VolumeDecCtx, but uses context.Background() as the context.

func (*Volume2) VolumeDecCtx

func (client *Volume2) VolumeDecCtx(
	ctx context.Context,
) (err error)

func (*Volume2) VolumeInc

func (client *Volume2) VolumeInc() (err error)

VolumeInc is the legacy version of VolumeIncCtx, but uses context.Background() as the context.

func (*Volume2) VolumeIncCtx

func (client *Volume2) VolumeIncCtx(
	ctx context.Context,
) (err error)

func (*Volume2) VolumeLimit

func (client *Volume2) VolumeLimit() (Value uint32, err error)

VolumeLimit is the legacy version of VolumeLimitCtx, but uses context.Background() as the context.

func (*Volume2) VolumeLimitCtx

func (client *Volume2) VolumeLimitCtx(
	ctx context.Context,
) (Value uint32, err error)

type Volume3

type Volume3 struct {
	goupnp.ServiceClient
}

Volume3 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Volume:3". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewVolume3Clients

func NewVolume3Clients() (clients []*Volume3, errors []error, err error)

NewVolume3Clients is the legacy version of NewVolume3ClientsCtx, but uses context.Background() as the context.

func NewVolume3ClientsByURL

func NewVolume3ClientsByURL(loc *url.URL) ([]*Volume3, error)

NewVolume3ClientsByURL is the legacy version of NewVolume3ClientsByURLCtx, but uses context.Background() as the context.

func NewVolume3ClientsByURLCtx

func NewVolume3ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Volume3, error)

NewVolume3ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.

This is a typical entry calling point into this package when reusing an previously discovered service URL.

func NewVolume3ClientsCtx

func NewVolume3ClientsCtx(ctx context.Context) (clients []*Volume3, errors []error, err error)

NewVolume3ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.

This is a typical entry calling point into this package.

func NewVolume3ClientsFromRootDevice

func NewVolume3ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume3, error)

NewVolume3ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).

This is a typical entry calling point into this package when reusing an previously discovered root device.

func (*Volume3) Balance

func (client *Volume3) Balance() (Value int32, err error)

Balance is the legacy version of BalanceCtx, but uses context.Background() as the context.

func (*Volume3) BalanceCtx

func (client *Volume3) BalanceCtx(
	ctx context.Context,
) (Value int32, err error)

func (*Volume3) BalanceDec

func (client *Volume3) BalanceDec() (err error)

BalanceDec is the legacy version of BalanceDecCtx, but uses context.Background() as the context.

func (*Volume3) BalanceDecCtx

func (client *Volume3) BalanceDecCtx(
	ctx context.Context,
) (err error)

func (*Volume3) BalanceInc

func (client *Volume3) BalanceInc() (err error)

BalanceInc is the legacy version of BalanceIncCtx, but uses context.Background() as the context.

func (*Volume3) BalanceIncCtx

func (client *Volume3) BalanceIncCtx(
	ctx context.Context,
) (err error)

func (*Volume3) Characteristics

func (client *Volume3) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)

Characteristics is the legacy version of CharacteristicsCtx, but uses context.Background() as the context.

func (*Volume3) CharacteristicsCtx

func (client *Volume3) CharacteristicsCtx(
	ctx context.Context,
) (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)

func (*Volume3) Fade

func (client *Volume3) Fade() (Value int32, err error)

Fade is the legacy version of FadeCtx, but uses context.Background() as the context.

func (*Volume3) FadeCtx

func (client *Volume3) FadeCtx(
	ctx context.Context,
) (Value int32, err error)

func (*Volume3) FadeDec

func (client *Volume3) FadeDec() (err error)

FadeDec is the legacy version of FadeDecCtx, but uses context.Background() as the context.

func (*Volume3) FadeDecCtx

func (client *Volume3) FadeDecCtx(
	ctx context.Context,
) (err error)

func (*Volume3) FadeInc

func (client *Volume3) FadeInc() (err error)

FadeInc is the legacy version of FadeIncCtx, but uses context.Background() as the context.

func (*Volume3) FadeIncCtx

func (client *Volume3) FadeIncCtx(
	ctx context.Context,
) (err error)

func (*Volume3) Mute

func (client *Volume3) Mute() (Value bool, err error)

Mute is the legacy version of MuteCtx, but uses context.Background() as the context.

func (*Volume3) MuteCtx

func (client *Volume3) MuteCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Volume3) SetBalance

func (client *Volume3) SetBalance(Value int32) (err error)

SetBalance is the legacy version of SetBalanceCtx, but uses context.Background() as the context.

func (*Volume3) SetBalanceCtx

func (client *Volume3) SetBalanceCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Volume3) SetFade

func (client *Volume3) SetFade(Value int32) (err error)

SetFade is the legacy version of SetFadeCtx, but uses context.Background() as the context.

func (*Volume3) SetFadeCtx

func (client *Volume3) SetFadeCtx(
	ctx context.Context,
	Value int32,
) (err error)

func (*Volume3) SetMute

func (client *Volume3) SetMute(Value bool) (err error)

SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.

func (*Volume3) SetMuteCtx

func (client *Volume3) SetMuteCtx(
	ctx context.Context,
	Value bool,
) (err error)

func (*Volume3) SetTrim

func (client *Volume3) SetTrim(Channel string, TrimBinaryMilliDb int32) (err error)

SetTrim is the legacy version of SetTrimCtx, but uses context.Background() as the context.

func (*Volume3) SetTrimCtx

func (client *Volume3) SetTrimCtx(
	ctx context.Context,
	Channel string,
	TrimBinaryMilliDb int32,
) (err error)

func (*Volume3) SetVolume

func (client *Volume3) SetVolume(Value uint32) (err error)

SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.

func (*Volume3) SetVolumeCtx

func (client *Volume3) SetVolumeCtx(
	ctx context.Context,
	Value uint32,
) (err error)

func (*Volume3) SetVolumeOffset

func (client *Volume3) SetVolumeOffset(Channel string, VolumeOffsetBinaryMilliDb int32) (err error)

SetVolumeOffset is the legacy version of SetVolumeOffsetCtx, but uses context.Background() as the context.

func (*Volume3) SetVolumeOffsetCtx

func (client *Volume3) SetVolumeOffsetCtx(
	ctx context.Context,
	Channel string,
	VolumeOffsetBinaryMilliDb int32,
) (err error)

func (*Volume3) Trim

func (client *Volume3) Trim(Channel string) (TrimBinaryMilliDb int32, err error)

Trim is the legacy version of TrimCtx, but uses context.Background() as the context.

func (*Volume3) TrimCtx

func (client *Volume3) TrimCtx(
	ctx context.Context,
	Channel string,
) (TrimBinaryMilliDb int32, err error)

func (*Volume3) UnityGain

func (client *Volume3) UnityGain() (Value bool, err error)

UnityGain is the legacy version of UnityGainCtx, but uses context.Background() as the context.

func (*Volume3) UnityGainCtx

func (client *Volume3) UnityGainCtx(
	ctx context.Context,
) (Value bool, err error)

func (*Volume3) Volume

func (client *Volume3) Volume() (Value uint32, err error)

Volume is the legacy version of VolumeCtx, but uses context.Background() as the context.

func (*Volume3) VolumeCtx

func (client *Volume3) VolumeCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Volume3) VolumeDec

func (client *Volume3) VolumeDec() (err error)

VolumeDec is the legacy version of VolumeDecCtx, but uses context.Background() as the context.

func (*Volume3) VolumeDecCtx

func (client *Volume3) VolumeDecCtx(
	ctx context.Context,
) (err error)

func (*Volume3) VolumeInc

func (client *Volume3) VolumeInc() (err error)

VolumeInc is the legacy version of VolumeIncCtx, but uses context.Background() as the context.

func (*Volume3) VolumeIncCtx

func (client *Volume3) VolumeIncCtx(
	ctx context.Context,
) (err error)

func (*Volume3) VolumeLimit

func (client *Volume3) VolumeLimit() (Value uint32, err error)

VolumeLimit is the legacy version of VolumeLimitCtx, but uses context.Background() as the context.

func (*Volume3) VolumeLimitCtx

func (client *Volume3) VolumeLimitCtx(
	ctx context.Context,
) (Value uint32, err error)

func (*Volume3) VolumeOffset

func (client *Volume3) VolumeOffset(Channel string) (VolumeOffsetBinaryMilliDb int32, err error)

VolumeOffset is the legacy version of VolumeOffsetCtx, but uses context.Background() as the context.

func (*Volume3) VolumeOffsetCtx

func (client *Volume3) VolumeOffsetCtx(
	ctx context.Context,
	Channel string,
) (VolumeOffsetBinaryMilliDb int32, err error)

Jump to

Keyboard shortcuts

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