av1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: BSD-2-Clause Imports: 5 Imported by: 7

Documentation

Overview

Client for UPnP Device Control Protocol MediaServer v1 and MediaRenderer v1.

This DCP is documented in detail at: - http://upnp.org/specs/av/av1/

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

Index

Constants

View Source
const (
	URN_AVTransport_1        = "urn:schemas-upnp-org:service:AVTransport:1"
	URN_AVTransport_2        = "urn:schemas-upnp-org:service:AVTransport:2"
	URN_ConnectionManager_1  = "urn:schemas-upnp-org:service:ConnectionManager:1"
	URN_ConnectionManager_2  = "urn:schemas-upnp-org:service:ConnectionManager:2"
	URN_ContentDirectory_1   = "urn:schemas-upnp-org:service:ContentDirectory:1"
	URN_ContentDirectory_2   = "urn:schemas-upnp-org:service:ContentDirectory:2"
	URN_ContentDirectory_3   = "urn:schemas-upnp-org:service:ContentDirectory:3"
	URN_RenderingControl_1   = "urn:schemas-upnp-org:service:RenderingControl:1"
	URN_RenderingControl_2   = "urn:schemas-upnp-org:service:RenderingControl:2"
	URN_ScheduledRecording_1 = "urn:schemas-upnp-org:service:ScheduledRecording:1"
	URN_ScheduledRecording_2 = "urn:schemas-upnp-org:service:ScheduledRecording:2"
)

Service URNs:

Variables

This section is empty.

Functions

This section is empty.

Types

type AVTransport1

type AVTransport1 struct {
	goupnp.ServiceClient
}

AVTransport1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:AVTransport:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewAVTransport1Clients

func NewAVTransport1Clients() (clients []*AVTransport1, errors []error, err error)

NewAVTransport1Clients is the legacy version of NewAVTransport1ClientsCtx, but uses context.Background() as the context.

func NewAVTransport1ClientsByURL

func NewAVTransport1ClientsByURL(loc *url.URL) ([]*AVTransport1, error)

NewAVTransport1ClientsByURL is the legacy version of NewAVTransport1ClientsByURLCtx, but uses context.Background() as the context.

func NewAVTransport1ClientsByURLCtx added in v1.1.0

func NewAVTransport1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*AVTransport1, error)

NewAVTransport1ClientsByURLCtx 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 NewAVTransport1ClientsCtx added in v1.1.0

func NewAVTransport1ClientsCtx(ctx context.Context) (clients []*AVTransport1, errors []error, err error)

NewAVTransport1ClientsCtx 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 NewAVTransport1ClientsFromRootDevice

func NewAVTransport1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*AVTransport1, error)

NewAVTransport1ClientsFromRootDevice 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 (*AVTransport1) GetCurrentTransportActions

func (client *AVTransport1) GetCurrentTransportActions(InstanceID uint32) (Actions string, err error)

GetCurrentTransportActions is the legacy version of GetCurrentTransportActionsCtx, but uses context.Background() as the context.

func (*AVTransport1) GetCurrentTransportActionsCtx added in v1.0.2

func (client *AVTransport1) GetCurrentTransportActionsCtx(
	ctx context.Context,
	InstanceID uint32,
) (Actions string, err error)

func (*AVTransport1) GetDeviceCapabilities

func (client *AVTransport1) GetDeviceCapabilities(InstanceID uint32) (PlayMedia string, RecMedia string, RecQualityModes string, err error)

GetDeviceCapabilities is the legacy version of GetDeviceCapabilitiesCtx, but uses context.Background() as the context.

func (*AVTransport1) GetDeviceCapabilitiesCtx added in v1.0.2

func (client *AVTransport1) GetDeviceCapabilitiesCtx(
	ctx context.Context,
	InstanceID uint32,
) (PlayMedia string, RecMedia string, RecQualityModes string, err error)

func (*AVTransport1) GetMediaInfo

func (client *AVTransport1) GetMediaInfo(InstanceID uint32) (NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

GetMediaInfo is the legacy version of GetMediaInfoCtx, but uses context.Background() as the context.

func (*AVTransport1) GetMediaInfoCtx added in v1.0.2

func (client *AVTransport1) GetMediaInfoCtx(
	ctx context.Context,
	InstanceID uint32,
) (NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

Return values:

* NrTracks: allowed value range: minimum=0

func (*AVTransport1) GetPositionInfo

func (client *AVTransport1) GetPositionInfo(InstanceID uint32) (Track uint32, TrackDuration string, TrackMetaData string, TrackURI string, RelTime string, AbsTime string, RelCount int32, AbsCount int32, err error)

GetPositionInfo is the legacy version of GetPositionInfoCtx, but uses context.Background() as the context.

func (*AVTransport1) GetPositionInfoCtx added in v1.0.2

func (client *AVTransport1) GetPositionInfoCtx(
	ctx context.Context,
	InstanceID uint32,
) (Track uint32, TrackDuration string, TrackMetaData string, TrackURI string, RelTime string, AbsTime string, RelCount int32, AbsCount int32, err error)

Return values:

* Track: allowed value range: minimum=0, step=1

func (*AVTransport1) GetTransportInfo

func (client *AVTransport1) GetTransportInfo(InstanceID uint32) (CurrentTransportState string, CurrentTransportStatus string, CurrentSpeed string, err error)

GetTransportInfo is the legacy version of GetTransportInfoCtx, but uses context.Background() as the context.

func (*AVTransport1) GetTransportInfoCtx added in v1.0.2

func (client *AVTransport1) GetTransportInfoCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentTransportState string, CurrentTransportStatus string, CurrentSpeed string, err error)

Return values:

* CurrentTransportState: allowed values: STOPPED, PLAYING

* CurrentTransportStatus: allowed values: OK, ERROR_OCCURRED

* CurrentSpeed: allowed values: 1

func (*AVTransport1) GetTransportSettings

func (client *AVTransport1) GetTransportSettings(InstanceID uint32) (PlayMode string, RecQualityMode string, err error)

GetTransportSettings is the legacy version of GetTransportSettingsCtx, but uses context.Background() as the context.

func (*AVTransport1) GetTransportSettingsCtx added in v1.0.2

func (client *AVTransport1) GetTransportSettingsCtx(
	ctx context.Context,
	InstanceID uint32,
) (PlayMode string, RecQualityMode string, err error)

Return values:

* PlayMode: allowed values: NORMAL

func (*AVTransport1) Next

func (client *AVTransport1) Next(InstanceID uint32) (err error)

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

func (*AVTransport1) NextCtx added in v1.0.2

func (client *AVTransport1) NextCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport1) Pause

func (client *AVTransport1) Pause(InstanceID uint32) (err error)

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

func (*AVTransport1) PauseCtx added in v1.0.2

func (client *AVTransport1) PauseCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport1) Play

func (client *AVTransport1) Play(InstanceID uint32, Speed string) (err error)

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

func (*AVTransport1) PlayCtx added in v1.0.2

func (client *AVTransport1) PlayCtx(
	ctx context.Context,
	InstanceID uint32,
	Speed string,
) (err error)

func (*AVTransport1) Previous

func (client *AVTransport1) Previous(InstanceID uint32) (err error)

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

func (*AVTransport1) PreviousCtx added in v1.0.2

func (client *AVTransport1) PreviousCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport1) Record

func (client *AVTransport1) Record(InstanceID uint32) (err error)

Record is the legacy version of RecordCtx, but uses context.Background() as the context.

func (*AVTransport1) RecordCtx added in v1.0.2

func (client *AVTransport1) RecordCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport1) Seek

func (client *AVTransport1) Seek(InstanceID uint32, Unit string, Target string) (err error)

Seek is the legacy version of SeekCtx, but uses context.Background() as the context.

func (*AVTransport1) SeekCtx added in v1.0.2

func (client *AVTransport1) SeekCtx(
	ctx context.Context,
	InstanceID uint32,
	Unit string,
	Target string,
) (err error)

func (*AVTransport1) SetAVTransportURI

func (client *AVTransport1) SetAVTransportURI(InstanceID uint32, CurrentURI string, CurrentURIMetaData string) (err error)

SetAVTransportURI is the legacy version of SetAVTransportURICtx, but uses context.Background() as the context.

func (*AVTransport1) SetAVTransportURICtx added in v1.0.2

func (client *AVTransport1) SetAVTransportURICtx(
	ctx context.Context,
	InstanceID uint32,
	CurrentURI string,
	CurrentURIMetaData string,
) (err error)

func (*AVTransport1) SetNextAVTransportURI

func (client *AVTransport1) SetNextAVTransportURI(InstanceID uint32, NextURI string, NextURIMetaData string) (err error)

SetNextAVTransportURI is the legacy version of SetNextAVTransportURICtx, but uses context.Background() as the context.

func (*AVTransport1) SetNextAVTransportURICtx added in v1.0.2

func (client *AVTransport1) SetNextAVTransportURICtx(
	ctx context.Context,
	InstanceID uint32,
	NextURI string,
	NextURIMetaData string,
) (err error)

func (*AVTransport1) SetPlayMode

func (client *AVTransport1) SetPlayMode(InstanceID uint32, NewPlayMode string) (err error)

SetPlayMode is the legacy version of SetPlayModeCtx, but uses context.Background() as the context.

func (*AVTransport1) SetPlayModeCtx added in v1.0.2

func (client *AVTransport1) SetPlayModeCtx(
	ctx context.Context,
	InstanceID uint32,
	NewPlayMode string,
) (err error)

func (*AVTransport1) SetRecordQualityMode

func (client *AVTransport1) SetRecordQualityMode(InstanceID uint32, NewRecordQualityMode string) (err error)

SetRecordQualityMode is the legacy version of SetRecordQualityModeCtx, but uses context.Background() as the context.

func (*AVTransport1) SetRecordQualityModeCtx added in v1.0.2

func (client *AVTransport1) SetRecordQualityModeCtx(
	ctx context.Context,
	InstanceID uint32,
	NewRecordQualityMode string,
) (err error)

func (*AVTransport1) Stop

func (client *AVTransport1) Stop(InstanceID uint32) (err error)

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

func (*AVTransport1) StopCtx added in v1.0.2

func (client *AVTransport1) StopCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

type AVTransport2

type AVTransport2 struct {
	goupnp.ServiceClient
}

AVTransport2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:AVTransport:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewAVTransport2Clients

func NewAVTransport2Clients() (clients []*AVTransport2, errors []error, err error)

NewAVTransport2Clients is the legacy version of NewAVTransport2ClientsCtx, but uses context.Background() as the context.

func NewAVTransport2ClientsByURL

func NewAVTransport2ClientsByURL(loc *url.URL) ([]*AVTransport2, error)

NewAVTransport2ClientsByURL is the legacy version of NewAVTransport2ClientsByURLCtx, but uses context.Background() as the context.

func NewAVTransport2ClientsByURLCtx added in v1.1.0

func NewAVTransport2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*AVTransport2, error)

NewAVTransport2ClientsByURLCtx 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 NewAVTransport2ClientsCtx added in v1.1.0

func NewAVTransport2ClientsCtx(ctx context.Context) (clients []*AVTransport2, errors []error, err error)

NewAVTransport2ClientsCtx 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 NewAVTransport2ClientsFromRootDevice

func NewAVTransport2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*AVTransport2, error)

NewAVTransport2ClientsFromRootDevice 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 (*AVTransport2) GetCurrentTransportActions

func (client *AVTransport2) GetCurrentTransportActions(InstanceID uint32) (Actions string, err error)

GetCurrentTransportActions is the legacy version of GetCurrentTransportActionsCtx, but uses context.Background() as the context.

func (*AVTransport2) GetCurrentTransportActionsCtx added in v1.0.2

func (client *AVTransport2) GetCurrentTransportActionsCtx(
	ctx context.Context,
	InstanceID uint32,
) (Actions string, err error)

func (*AVTransport2) GetDRMState

func (client *AVTransport2) GetDRMState(InstanceID uint32) (CurrentDRMState string, err error)

GetDRMState is the legacy version of GetDRMStateCtx, but uses context.Background() as the context.

func (*AVTransport2) GetDRMStateCtx added in v1.0.2

func (client *AVTransport2) GetDRMStateCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentDRMState string, err error)

Return values:

* CurrentDRMState: allowed values: OK

func (*AVTransport2) GetDeviceCapabilities

func (client *AVTransport2) GetDeviceCapabilities(InstanceID uint32) (PlayMedia string, RecMedia string, RecQualityModes string, err error)

GetDeviceCapabilities is the legacy version of GetDeviceCapabilitiesCtx, but uses context.Background() as the context.

func (*AVTransport2) GetDeviceCapabilitiesCtx added in v1.0.2

func (client *AVTransport2) GetDeviceCapabilitiesCtx(
	ctx context.Context,
	InstanceID uint32,
) (PlayMedia string, RecMedia string, RecQualityModes string, err error)

func (*AVTransport2) GetMediaInfo

func (client *AVTransport2) GetMediaInfo(InstanceID uint32) (NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

GetMediaInfo is the legacy version of GetMediaInfoCtx, but uses context.Background() as the context.

func (*AVTransport2) GetMediaInfoCtx added in v1.0.2

func (client *AVTransport2) GetMediaInfoCtx(
	ctx context.Context,
	InstanceID uint32,
) (NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

Return values:

* NrTracks: allowed value range: minimum=0

func (*AVTransport2) GetMediaInfo_Ext

func (client *AVTransport2) GetMediaInfo_Ext(InstanceID uint32) (CurrentType string, NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

GetMediaInfo_Ext is the legacy version of GetMediaInfo_ExtCtx, but uses context.Background() as the context.

func (*AVTransport2) GetMediaInfo_ExtCtx added in v1.0.2

func (client *AVTransport2) GetMediaInfo_ExtCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentType string, NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

Return values:

* CurrentType: allowed values: NO_MEDIA, TRACK_AWARE, TRACK_UNAWARE

* NrTracks: allowed value range: minimum=0

func (*AVTransport2) GetPositionInfo

func (client *AVTransport2) GetPositionInfo(InstanceID uint32) (Track uint32, TrackDuration string, TrackMetaData string, TrackURI string, RelTime string, AbsTime string, RelCount int32, AbsCount int32, err error)

GetPositionInfo is the legacy version of GetPositionInfoCtx, but uses context.Background() as the context.

func (*AVTransport2) GetPositionInfoCtx added in v1.0.2

func (client *AVTransport2) GetPositionInfoCtx(
	ctx context.Context,
	InstanceID uint32,
) (Track uint32, TrackDuration string, TrackMetaData string, TrackURI string, RelTime string, AbsTime string, RelCount int32, AbsCount int32, err error)

Return values:

* Track: allowed value range: minimum=0, step=1

func (*AVTransport2) GetStateVariables

func (client *AVTransport2) GetStateVariables(InstanceID uint32, StateVariableList string) (StateVariableValuePairs string, err error)

GetStateVariables is the legacy version of GetStateVariablesCtx, but uses context.Background() as the context.

func (*AVTransport2) GetStateVariablesCtx added in v1.0.2

func (client *AVTransport2) GetStateVariablesCtx(
	ctx context.Context,
	InstanceID uint32,
	StateVariableList string,
) (StateVariableValuePairs string, err error)

func (*AVTransport2) GetTransportInfo

func (client *AVTransport2) GetTransportInfo(InstanceID uint32) (CurrentTransportState string, CurrentTransportStatus string, CurrentSpeed string, err error)

GetTransportInfo is the legacy version of GetTransportInfoCtx, but uses context.Background() as the context.

func (*AVTransport2) GetTransportInfoCtx added in v1.0.2

func (client *AVTransport2) GetTransportInfoCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentTransportState string, CurrentTransportStatus string, CurrentSpeed string, err error)

Return values:

* CurrentTransportState: allowed values: STOPPED, PLAYING

* CurrentTransportStatus: allowed values: OK, ERROR_OCCURRED

* CurrentSpeed: allowed values: 1

func (*AVTransport2) GetTransportSettings

func (client *AVTransport2) GetTransportSettings(InstanceID uint32) (PlayMode string, RecQualityMode string, err error)

GetTransportSettings is the legacy version of GetTransportSettingsCtx, but uses context.Background() as the context.

func (*AVTransport2) GetTransportSettingsCtx added in v1.0.2

func (client *AVTransport2) GetTransportSettingsCtx(
	ctx context.Context,
	InstanceID uint32,
) (PlayMode string, RecQualityMode string, err error)

Return values:

* PlayMode: allowed values: NORMAL

func (*AVTransport2) Next

func (client *AVTransport2) Next(InstanceID uint32) (err error)

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

func (*AVTransport2) NextCtx added in v1.0.2

func (client *AVTransport2) NextCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport2) Pause

func (client *AVTransport2) Pause(InstanceID uint32) (err error)

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

func (*AVTransport2) PauseCtx added in v1.0.2

func (client *AVTransport2) PauseCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport2) Play

func (client *AVTransport2) Play(InstanceID uint32, Speed string) (err error)

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

func (*AVTransport2) PlayCtx added in v1.0.2

func (client *AVTransport2) PlayCtx(
	ctx context.Context,
	InstanceID uint32,
	Speed string,
) (err error)

func (*AVTransport2) Previous

func (client *AVTransport2) Previous(InstanceID uint32) (err error)

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

func (*AVTransport2) PreviousCtx added in v1.0.2

func (client *AVTransport2) PreviousCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport2) Record

func (client *AVTransport2) Record(InstanceID uint32) (err error)

Record is the legacy version of RecordCtx, but uses context.Background() as the context.

func (*AVTransport2) RecordCtx added in v1.0.2

func (client *AVTransport2) RecordCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

func (*AVTransport2) Seek

func (client *AVTransport2) Seek(InstanceID uint32, Unit string, Target string) (err error)

Seek is the legacy version of SeekCtx, but uses context.Background() as the context.

func (*AVTransport2) SeekCtx added in v1.0.2

func (client *AVTransport2) SeekCtx(
	ctx context.Context,
	InstanceID uint32,
	Unit string,
	Target string,
) (err error)

func (*AVTransport2) SetAVTransportURI

func (client *AVTransport2) SetAVTransportURI(InstanceID uint32, CurrentURI string, CurrentURIMetaData string) (err error)

SetAVTransportURI is the legacy version of SetAVTransportURICtx, but uses context.Background() as the context.

func (*AVTransport2) SetAVTransportURICtx added in v1.0.2

func (client *AVTransport2) SetAVTransportURICtx(
	ctx context.Context,
	InstanceID uint32,
	CurrentURI string,
	CurrentURIMetaData string,
) (err error)

func (*AVTransport2) SetNextAVTransportURI

func (client *AVTransport2) SetNextAVTransportURI(InstanceID uint32, NextURI string, NextURIMetaData string) (err error)

SetNextAVTransportURI is the legacy version of SetNextAVTransportURICtx, but uses context.Background() as the context.

func (*AVTransport2) SetNextAVTransportURICtx added in v1.0.2

func (client *AVTransport2) SetNextAVTransportURICtx(
	ctx context.Context,
	InstanceID uint32,
	NextURI string,
	NextURIMetaData string,
) (err error)

func (*AVTransport2) SetPlayMode

func (client *AVTransport2) SetPlayMode(InstanceID uint32, NewPlayMode string) (err error)

SetPlayMode is the legacy version of SetPlayModeCtx, but uses context.Background() as the context.

func (*AVTransport2) SetPlayModeCtx added in v1.0.2

func (client *AVTransport2) SetPlayModeCtx(
	ctx context.Context,
	InstanceID uint32,
	NewPlayMode string,
) (err error)

func (*AVTransport2) SetRecordQualityMode

func (client *AVTransport2) SetRecordQualityMode(InstanceID uint32, NewRecordQualityMode string) (err error)

SetRecordQualityMode is the legacy version of SetRecordQualityModeCtx, but uses context.Background() as the context.

func (*AVTransport2) SetRecordQualityModeCtx added in v1.0.2

func (client *AVTransport2) SetRecordQualityModeCtx(
	ctx context.Context,
	InstanceID uint32,
	NewRecordQualityMode string,
) (err error)

func (*AVTransport2) SetStateVariables

func (client *AVTransport2) SetStateVariables(InstanceID uint32, AVTransportUDN string, ServiceType string, ServiceId string, StateVariableValuePairs string) (StateVariableList string, err error)

SetStateVariables is the legacy version of SetStateVariablesCtx, but uses context.Background() as the context.

func (*AVTransport2) SetStateVariablesCtx added in v1.0.2

func (client *AVTransport2) SetStateVariablesCtx(
	ctx context.Context,
	InstanceID uint32,
	AVTransportUDN string,
	ServiceType string,
	ServiceId string,
	StateVariableValuePairs string,
) (StateVariableList string, err error)

func (*AVTransport2) Stop

func (client *AVTransport2) Stop(InstanceID uint32) (err error)

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

func (*AVTransport2) StopCtx added in v1.0.2

func (client *AVTransport2) StopCtx(
	ctx context.Context,
	InstanceID uint32,
) (err error)

type ConnectionManager1

type ConnectionManager1 struct {
	goupnp.ServiceClient
}

ConnectionManager1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ConnectionManager:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewConnectionManager1Clients

func NewConnectionManager1Clients() (clients []*ConnectionManager1, errors []error, err error)

NewConnectionManager1Clients is the legacy version of NewConnectionManager1ClientsCtx, but uses context.Background() as the context.

func NewConnectionManager1ClientsByURL

func NewConnectionManager1ClientsByURL(loc *url.URL) ([]*ConnectionManager1, error)

NewConnectionManager1ClientsByURL is the legacy version of NewConnectionManager1ClientsByURLCtx, but uses context.Background() as the context.

func NewConnectionManager1ClientsByURLCtx added in v1.1.0

func NewConnectionManager1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*ConnectionManager1, error)

NewConnectionManager1ClientsByURLCtx 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 NewConnectionManager1ClientsCtx added in v1.1.0

func NewConnectionManager1ClientsCtx(ctx context.Context) (clients []*ConnectionManager1, errors []error, err error)

NewConnectionManager1ClientsCtx 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 NewConnectionManager1ClientsFromRootDevice

func NewConnectionManager1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ConnectionManager1, error)

NewConnectionManager1ClientsFromRootDevice 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 (*ConnectionManager1) ConnectionComplete

func (client *ConnectionManager1) ConnectionComplete(ConnectionID int32) (err error)

ConnectionComplete is the legacy version of ConnectionCompleteCtx, but uses context.Background() as the context.

func (*ConnectionManager1) ConnectionCompleteCtx added in v1.0.2

func (client *ConnectionManager1) ConnectionCompleteCtx(
	ctx context.Context,
	ConnectionID int32,
) (err error)

func (*ConnectionManager1) GetCurrentConnectionIDs

func (client *ConnectionManager1) GetCurrentConnectionIDs() (ConnectionIDs string, err error)

GetCurrentConnectionIDs is the legacy version of GetCurrentConnectionIDsCtx, but uses context.Background() as the context.

func (*ConnectionManager1) GetCurrentConnectionIDsCtx added in v1.0.2

func (client *ConnectionManager1) GetCurrentConnectionIDsCtx(
	ctx context.Context,
) (ConnectionIDs string, err error)

func (*ConnectionManager1) GetCurrentConnectionInfo

func (client *ConnectionManager1) GetCurrentConnectionInfo(ConnectionID int32) (RcsID int32, AVTransportID int32, ProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string, Status string, err error)

GetCurrentConnectionInfo is the legacy version of GetCurrentConnectionInfoCtx, but uses context.Background() as the context.

func (*ConnectionManager1) GetCurrentConnectionInfoCtx added in v1.0.2

func (client *ConnectionManager1) GetCurrentConnectionInfoCtx(
	ctx context.Context,
	ConnectionID int32,
) (RcsID int32, AVTransportID int32, ProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string, Status string, err error)

Return values:

* Direction: allowed values: Input, Output

* Status: allowed values: OK, ContentFormatMismatch, InsufficientBandwidth, UnreliableChannel, Unknown

func (*ConnectionManager1) GetProtocolInfo

func (client *ConnectionManager1) GetProtocolInfo() (Source string, Sink string, err error)

GetProtocolInfo is the legacy version of GetProtocolInfoCtx, but uses context.Background() as the context.

func (*ConnectionManager1) GetProtocolInfoCtx added in v1.0.2

func (client *ConnectionManager1) GetProtocolInfoCtx(
	ctx context.Context,
) (Source string, Sink string, err error)

func (*ConnectionManager1) PrepareForConnection

func (client *ConnectionManager1) PrepareForConnection(RemoteProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string) (ConnectionID int32, AVTransportID int32, RcsID int32, err error)

PrepareForConnection is the legacy version of PrepareForConnectionCtx, but uses context.Background() as the context.

func (*ConnectionManager1) PrepareForConnectionCtx added in v1.0.2

func (client *ConnectionManager1) PrepareForConnectionCtx(
	ctx context.Context,
	RemoteProtocolInfo string,
	PeerConnectionManager string,
	PeerConnectionID int32,
	Direction string,
) (ConnectionID int32, AVTransportID int32, RcsID int32, err error)

type ConnectionManager2

type ConnectionManager2 struct {
	goupnp.ServiceClient
}

ConnectionManager2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ConnectionManager:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewConnectionManager2Clients

func NewConnectionManager2Clients() (clients []*ConnectionManager2, errors []error, err error)

NewConnectionManager2Clients is the legacy version of NewConnectionManager2ClientsCtx, but uses context.Background() as the context.

func NewConnectionManager2ClientsByURL

func NewConnectionManager2ClientsByURL(loc *url.URL) ([]*ConnectionManager2, error)

NewConnectionManager2ClientsByURL is the legacy version of NewConnectionManager2ClientsByURLCtx, but uses context.Background() as the context.

func NewConnectionManager2ClientsByURLCtx added in v1.1.0

func NewConnectionManager2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*ConnectionManager2, error)

NewConnectionManager2ClientsByURLCtx 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 NewConnectionManager2ClientsCtx added in v1.1.0

func NewConnectionManager2ClientsCtx(ctx context.Context) (clients []*ConnectionManager2, errors []error, err error)

NewConnectionManager2ClientsCtx 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 NewConnectionManager2ClientsFromRootDevice

func NewConnectionManager2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ConnectionManager2, error)

NewConnectionManager2ClientsFromRootDevice 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 (*ConnectionManager2) ConnectionComplete

func (client *ConnectionManager2) ConnectionComplete(ConnectionID int32) (err error)

ConnectionComplete is the legacy version of ConnectionCompleteCtx, but uses context.Background() as the context.

func (*ConnectionManager2) ConnectionCompleteCtx added in v1.0.2

func (client *ConnectionManager2) ConnectionCompleteCtx(
	ctx context.Context,
	ConnectionID int32,
) (err error)

func (*ConnectionManager2) GetCurrentConnectionIDs

func (client *ConnectionManager2) GetCurrentConnectionIDs() (ConnectionIDs string, err error)

GetCurrentConnectionIDs is the legacy version of GetCurrentConnectionIDsCtx, but uses context.Background() as the context.

func (*ConnectionManager2) GetCurrentConnectionIDsCtx added in v1.0.2

func (client *ConnectionManager2) GetCurrentConnectionIDsCtx(
	ctx context.Context,
) (ConnectionIDs string, err error)

func (*ConnectionManager2) GetCurrentConnectionInfo

func (client *ConnectionManager2) GetCurrentConnectionInfo(ConnectionID int32) (RcsID int32, AVTransportID int32, ProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string, Status string, err error)

GetCurrentConnectionInfo is the legacy version of GetCurrentConnectionInfoCtx, but uses context.Background() as the context.

func (*ConnectionManager2) GetCurrentConnectionInfoCtx added in v1.0.2

func (client *ConnectionManager2) GetCurrentConnectionInfoCtx(
	ctx context.Context,
	ConnectionID int32,
) (RcsID int32, AVTransportID int32, ProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string, Status string, err error)

Return values:

* Direction: allowed values: Input, Output

* Status: allowed values: OK, ContentFormatMismatch, InsufficientBandwidth, UnreliableChannel, Unknown

func (*ConnectionManager2) GetProtocolInfo

func (client *ConnectionManager2) GetProtocolInfo() (Source string, Sink string, err error)

GetProtocolInfo is the legacy version of GetProtocolInfoCtx, but uses context.Background() as the context.

func (*ConnectionManager2) GetProtocolInfoCtx added in v1.0.2

func (client *ConnectionManager2) GetProtocolInfoCtx(
	ctx context.Context,
) (Source string, Sink string, err error)

func (*ConnectionManager2) PrepareForConnection

func (client *ConnectionManager2) PrepareForConnection(RemoteProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string) (ConnectionID int32, AVTransportID int32, RcsID int32, err error)

PrepareForConnection is the legacy version of PrepareForConnectionCtx, but uses context.Background() as the context.

func (*ConnectionManager2) PrepareForConnectionCtx added in v1.0.2

func (client *ConnectionManager2) PrepareForConnectionCtx(
	ctx context.Context,
	RemoteProtocolInfo string,
	PeerConnectionManager string,
	PeerConnectionID int32,
	Direction string,
) (ConnectionID int32, AVTransportID int32, RcsID int32, err error)

type ContentDirectory1

type ContentDirectory1 struct {
	goupnp.ServiceClient
}

ContentDirectory1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ContentDirectory:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewContentDirectory1Clients

func NewContentDirectory1Clients() (clients []*ContentDirectory1, errors []error, err error)

NewContentDirectory1Clients is the legacy version of NewContentDirectory1ClientsCtx, but uses context.Background() as the context.

func NewContentDirectory1ClientsByURL

func NewContentDirectory1ClientsByURL(loc *url.URL) ([]*ContentDirectory1, error)

NewContentDirectory1ClientsByURL is the legacy version of NewContentDirectory1ClientsByURLCtx, but uses context.Background() as the context.

func NewContentDirectory1ClientsByURLCtx added in v1.1.0

func NewContentDirectory1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*ContentDirectory1, error)

NewContentDirectory1ClientsByURLCtx 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 NewContentDirectory1ClientsCtx added in v1.1.0

func NewContentDirectory1ClientsCtx(ctx context.Context) (clients []*ContentDirectory1, errors []error, err error)

NewContentDirectory1ClientsCtx 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 NewContentDirectory1ClientsFromRootDevice

func NewContentDirectory1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ContentDirectory1, error)

NewContentDirectory1ClientsFromRootDevice 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 (*ContentDirectory1) Browse

func (client *ContentDirectory1) Browse(ObjectID string, BrowseFlag string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

Browse is the legacy version of BrowseCtx, but uses context.Background() as the context.

func (*ContentDirectory1) BrowseCtx added in v1.0.2

func (client *ContentDirectory1) BrowseCtx(
	ctx context.Context,
	ObjectID string,
	BrowseFlag string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory1) CreateObject

func (client *ContentDirectory1) CreateObject(ContainerID string, Elements string) (ObjectID string, Result string, err error)

CreateObject is the legacy version of CreateObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory1) CreateObjectCtx added in v1.0.2

func (client *ContentDirectory1) CreateObjectCtx(
	ctx context.Context,
	ContainerID string,
	Elements string,
) (ObjectID string, Result string, err error)

func (*ContentDirectory1) CreateReference

func (client *ContentDirectory1) CreateReference(ContainerID string, ObjectID string) (NewID string, err error)

CreateReference is the legacy version of CreateReferenceCtx, but uses context.Background() as the context.

func (*ContentDirectory1) CreateReferenceCtx added in v1.0.2

func (client *ContentDirectory1) CreateReferenceCtx(
	ctx context.Context,
	ContainerID string,
	ObjectID string,
) (NewID string, err error)

func (*ContentDirectory1) DeleteResource

func (client *ContentDirectory1) DeleteResource(ResourceURI *url.URL) (err error)

DeleteResource is the legacy version of DeleteResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory1) DeleteResourceCtx added in v1.0.2

func (client *ContentDirectory1) DeleteResourceCtx(
	ctx context.Context,
	ResourceURI *url.URL,
) (err error)

func (*ContentDirectory1) DestroyObject

func (client *ContentDirectory1) DestroyObject(ObjectID string) (err error)

DestroyObject is the legacy version of DestroyObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory1) DestroyObjectCtx added in v1.0.2

func (client *ContentDirectory1) DestroyObjectCtx(
	ctx context.Context,
	ObjectID string,
) (err error)

func (*ContentDirectory1) ExportResource

func (client *ContentDirectory1) ExportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

ExportResource is the legacy version of ExportResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory1) ExportResourceCtx added in v1.0.2

func (client *ContentDirectory1) ExportResourceCtx(
	ctx context.Context,
	SourceURI *url.URL,
	DestinationURI *url.URL,
) (TransferID uint32, err error)

func (*ContentDirectory1) GetSearchCapabilities

func (client *ContentDirectory1) GetSearchCapabilities() (SearchCaps string, err error)

GetSearchCapabilities is the legacy version of GetSearchCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory1) GetSearchCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory1) GetSearchCapabilitiesCtx(
	ctx context.Context,
) (SearchCaps string, err error)

func (*ContentDirectory1) GetSortCapabilities

func (client *ContentDirectory1) GetSortCapabilities() (SortCaps string, err error)

GetSortCapabilities is the legacy version of GetSortCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory1) GetSortCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory1) GetSortCapabilitiesCtx(
	ctx context.Context,
) (SortCaps string, err error)

func (*ContentDirectory1) GetSystemUpdateID

func (client *ContentDirectory1) GetSystemUpdateID() (Id uint32, err error)

GetSystemUpdateID is the legacy version of GetSystemUpdateIDCtx, but uses context.Background() as the context.

func (*ContentDirectory1) GetSystemUpdateIDCtx added in v1.0.2

func (client *ContentDirectory1) GetSystemUpdateIDCtx(
	ctx context.Context,
) (Id uint32, err error)

func (*ContentDirectory1) GetTransferProgress

func (client *ContentDirectory1) GetTransferProgress(TransferID uint32) (TransferStatus string, TransferLength string, TransferTotal string, err error)

GetTransferProgress is the legacy version of GetTransferProgressCtx, but uses context.Background() as the context.

func (*ContentDirectory1) GetTransferProgressCtx added in v1.0.2

func (client *ContentDirectory1) GetTransferProgressCtx(
	ctx context.Context,
	TransferID uint32,
) (TransferStatus string, TransferLength string, TransferTotal string, err error)

Return values:

* TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED

func (*ContentDirectory1) ImportResource

func (client *ContentDirectory1) ImportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

ImportResource is the legacy version of ImportResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory1) ImportResourceCtx added in v1.0.2

func (client *ContentDirectory1) ImportResourceCtx(
	ctx context.Context,
	SourceURI *url.URL,
	DestinationURI *url.URL,
) (TransferID uint32, err error)

func (*ContentDirectory1) Search

func (client *ContentDirectory1) Search(ContainerID string, SearchCriteria string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

Search is the legacy version of SearchCtx, but uses context.Background() as the context.

func (*ContentDirectory1) SearchCtx added in v1.0.2

func (client *ContentDirectory1) SearchCtx(
	ctx context.Context,
	ContainerID string,
	SearchCriteria string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory1) StopTransferResource

func (client *ContentDirectory1) StopTransferResource(TransferID uint32) (err error)

StopTransferResource is the legacy version of StopTransferResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory1) StopTransferResourceCtx added in v1.0.2

func (client *ContentDirectory1) StopTransferResourceCtx(
	ctx context.Context,
	TransferID uint32,
) (err error)

func (*ContentDirectory1) UpdateObject

func (client *ContentDirectory1) UpdateObject(ObjectID string, CurrentTagValue string, NewTagValue string) (err error)

UpdateObject is the legacy version of UpdateObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory1) UpdateObjectCtx added in v1.0.2

func (client *ContentDirectory1) UpdateObjectCtx(
	ctx context.Context,
	ObjectID string,
	CurrentTagValue string,
	NewTagValue string,
) (err error)

type ContentDirectory2

type ContentDirectory2 struct {
	goupnp.ServiceClient
}

ContentDirectory2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ContentDirectory:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewContentDirectory2Clients

func NewContentDirectory2Clients() (clients []*ContentDirectory2, errors []error, err error)

NewContentDirectory2Clients is the legacy version of NewContentDirectory2ClientsCtx, but uses context.Background() as the context.

func NewContentDirectory2ClientsByURL

func NewContentDirectory2ClientsByURL(loc *url.URL) ([]*ContentDirectory2, error)

NewContentDirectory2ClientsByURL is the legacy version of NewContentDirectory2ClientsByURLCtx, but uses context.Background() as the context.

func NewContentDirectory2ClientsByURLCtx added in v1.1.0

func NewContentDirectory2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*ContentDirectory2, error)

NewContentDirectory2ClientsByURLCtx 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 NewContentDirectory2ClientsCtx added in v1.1.0

func NewContentDirectory2ClientsCtx(ctx context.Context) (clients []*ContentDirectory2, errors []error, err error)

NewContentDirectory2ClientsCtx 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 NewContentDirectory2ClientsFromRootDevice

func NewContentDirectory2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ContentDirectory2, error)

NewContentDirectory2ClientsFromRootDevice 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 (*ContentDirectory2) Browse

func (client *ContentDirectory2) Browse(ObjectID string, BrowseFlag string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

Browse is the legacy version of BrowseCtx, but uses context.Background() as the context.

func (*ContentDirectory2) BrowseCtx added in v1.0.2

func (client *ContentDirectory2) BrowseCtx(
	ctx context.Context,
	ObjectID string,
	BrowseFlag string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory2) CreateObject

func (client *ContentDirectory2) CreateObject(ContainerID string, Elements string) (ObjectID string, Result string, err error)

CreateObject is the legacy version of CreateObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory2) CreateObjectCtx added in v1.0.2

func (client *ContentDirectory2) CreateObjectCtx(
	ctx context.Context,
	ContainerID string,
	Elements string,
) (ObjectID string, Result string, err error)

func (*ContentDirectory2) CreateReference

func (client *ContentDirectory2) CreateReference(ContainerID string, ObjectID string) (NewID string, err error)

CreateReference is the legacy version of CreateReferenceCtx, but uses context.Background() as the context.

func (*ContentDirectory2) CreateReferenceCtx added in v1.0.2

func (client *ContentDirectory2) CreateReferenceCtx(
	ctx context.Context,
	ContainerID string,
	ObjectID string,
) (NewID string, err error)

func (*ContentDirectory2) DeleteResource

func (client *ContentDirectory2) DeleteResource(ResourceURI *url.URL) (err error)

DeleteResource is the legacy version of DeleteResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory2) DeleteResourceCtx added in v1.0.2

func (client *ContentDirectory2) DeleteResourceCtx(
	ctx context.Context,
	ResourceURI *url.URL,
) (err error)

func (*ContentDirectory2) DestroyObject

func (client *ContentDirectory2) DestroyObject(ObjectID string) (err error)

DestroyObject is the legacy version of DestroyObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory2) DestroyObjectCtx added in v1.0.2

func (client *ContentDirectory2) DestroyObjectCtx(
	ctx context.Context,
	ObjectID string,
) (err error)

func (*ContentDirectory2) ExportResource

func (client *ContentDirectory2) ExportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

ExportResource is the legacy version of ExportResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory2) ExportResourceCtx added in v1.0.2

func (client *ContentDirectory2) ExportResourceCtx(
	ctx context.Context,
	SourceURI *url.URL,
	DestinationURI *url.URL,
) (TransferID uint32, err error)

func (*ContentDirectory2) GetFeatureList

func (client *ContentDirectory2) GetFeatureList() (FeatureList string, err error)

GetFeatureList is the legacy version of GetFeatureListCtx, but uses context.Background() as the context.

func (*ContentDirectory2) GetFeatureListCtx added in v1.0.2

func (client *ContentDirectory2) GetFeatureListCtx(
	ctx context.Context,
) (FeatureList string, err error)

func (*ContentDirectory2) GetSearchCapabilities

func (client *ContentDirectory2) GetSearchCapabilities() (SearchCaps string, err error)

GetSearchCapabilities is the legacy version of GetSearchCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory2) GetSearchCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory2) GetSearchCapabilitiesCtx(
	ctx context.Context,
) (SearchCaps string, err error)

func (*ContentDirectory2) GetSortCapabilities

func (client *ContentDirectory2) GetSortCapabilities() (SortCaps string, err error)

GetSortCapabilities is the legacy version of GetSortCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory2) GetSortCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory2) GetSortCapabilitiesCtx(
	ctx context.Context,
) (SortCaps string, err error)

func (*ContentDirectory2) GetSortExtensionCapabilities

func (client *ContentDirectory2) GetSortExtensionCapabilities() (SortExtensionCaps string, err error)

GetSortExtensionCapabilities is the legacy version of GetSortExtensionCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory2) GetSortExtensionCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory2) GetSortExtensionCapabilitiesCtx(
	ctx context.Context,
) (SortExtensionCaps string, err error)

func (*ContentDirectory2) GetSystemUpdateID

func (client *ContentDirectory2) GetSystemUpdateID() (Id uint32, err error)

GetSystemUpdateID is the legacy version of GetSystemUpdateIDCtx, but uses context.Background() as the context.

func (*ContentDirectory2) GetSystemUpdateIDCtx added in v1.0.2

func (client *ContentDirectory2) GetSystemUpdateIDCtx(
	ctx context.Context,
) (Id uint32, err error)

func (*ContentDirectory2) GetTransferProgress

func (client *ContentDirectory2) GetTransferProgress(TransferID uint32) (TransferStatus string, TransferLength string, TransferTotal string, err error)

GetTransferProgress is the legacy version of GetTransferProgressCtx, but uses context.Background() as the context.

func (*ContentDirectory2) GetTransferProgressCtx added in v1.0.2

func (client *ContentDirectory2) GetTransferProgressCtx(
	ctx context.Context,
	TransferID uint32,
) (TransferStatus string, TransferLength string, TransferTotal string, err error)

Return values:

* TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED

func (*ContentDirectory2) ImportResource

func (client *ContentDirectory2) ImportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

ImportResource is the legacy version of ImportResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory2) ImportResourceCtx added in v1.0.2

func (client *ContentDirectory2) ImportResourceCtx(
	ctx context.Context,
	SourceURI *url.URL,
	DestinationURI *url.URL,
) (TransferID uint32, err error)

func (*ContentDirectory2) MoveObject

func (client *ContentDirectory2) MoveObject(ObjectID string, NewParentID string) (NewObjectID string, err error)

MoveObject is the legacy version of MoveObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory2) MoveObjectCtx added in v1.0.2

func (client *ContentDirectory2) MoveObjectCtx(
	ctx context.Context,
	ObjectID string,
	NewParentID string,
) (NewObjectID string, err error)

func (*ContentDirectory2) Search

func (client *ContentDirectory2) Search(ContainerID string, SearchCriteria string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

Search is the legacy version of SearchCtx, but uses context.Background() as the context.

func (*ContentDirectory2) SearchCtx added in v1.0.2

func (client *ContentDirectory2) SearchCtx(
	ctx context.Context,
	ContainerID string,
	SearchCriteria string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory2) StopTransferResource

func (client *ContentDirectory2) StopTransferResource(TransferID uint32) (err error)

StopTransferResource is the legacy version of StopTransferResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory2) StopTransferResourceCtx added in v1.0.2

func (client *ContentDirectory2) StopTransferResourceCtx(
	ctx context.Context,
	TransferID uint32,
) (err error)

func (*ContentDirectory2) UpdateObject

func (client *ContentDirectory2) UpdateObject(ObjectID string, CurrentTagValue string, NewTagValue string) (err error)

UpdateObject is the legacy version of UpdateObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory2) UpdateObjectCtx added in v1.0.2

func (client *ContentDirectory2) UpdateObjectCtx(
	ctx context.Context,
	ObjectID string,
	CurrentTagValue string,
	NewTagValue string,
) (err error)

type ContentDirectory3

type ContentDirectory3 struct {
	goupnp.ServiceClient
}

ContentDirectory3 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ContentDirectory:3". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewContentDirectory3Clients

func NewContentDirectory3Clients() (clients []*ContentDirectory3, errors []error, err error)

NewContentDirectory3Clients is the legacy version of NewContentDirectory3ClientsCtx, but uses context.Background() as the context.

func NewContentDirectory3ClientsByURL

func NewContentDirectory3ClientsByURL(loc *url.URL) ([]*ContentDirectory3, error)

NewContentDirectory3ClientsByURL is the legacy version of NewContentDirectory3ClientsByURLCtx, but uses context.Background() as the context.

func NewContentDirectory3ClientsByURLCtx added in v1.1.0

func NewContentDirectory3ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*ContentDirectory3, error)

NewContentDirectory3ClientsByURLCtx 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 NewContentDirectory3ClientsCtx added in v1.1.0

func NewContentDirectory3ClientsCtx(ctx context.Context) (clients []*ContentDirectory3, errors []error, err error)

NewContentDirectory3ClientsCtx 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 NewContentDirectory3ClientsFromRootDevice

func NewContentDirectory3ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ContentDirectory3, error)

NewContentDirectory3ClientsFromRootDevice 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 (*ContentDirectory3) Browse

func (client *ContentDirectory3) Browse(ObjectID string, BrowseFlag string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

Browse is the legacy version of BrowseCtx, but uses context.Background() as the context.

func (*ContentDirectory3) BrowseCtx added in v1.0.2

func (client *ContentDirectory3) BrowseCtx(
	ctx context.Context,
	ObjectID string,
	BrowseFlag string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory3) CreateObject

func (client *ContentDirectory3) CreateObject(ContainerID string, Elements string) (ObjectID string, Result string, err error)

CreateObject is the legacy version of CreateObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory3) CreateObjectCtx added in v1.0.2

func (client *ContentDirectory3) CreateObjectCtx(
	ctx context.Context,
	ContainerID string,
	Elements string,
) (ObjectID string, Result string, err error)

func (*ContentDirectory3) CreateReference

func (client *ContentDirectory3) CreateReference(ContainerID string, ObjectID string) (NewID string, err error)

CreateReference is the legacy version of CreateReferenceCtx, but uses context.Background() as the context.

func (*ContentDirectory3) CreateReferenceCtx added in v1.0.2

func (client *ContentDirectory3) CreateReferenceCtx(
	ctx context.Context,
	ContainerID string,
	ObjectID string,
) (NewID string, err error)

func (*ContentDirectory3) DeleteResource

func (client *ContentDirectory3) DeleteResource(ResourceURI *url.URL) (err error)

DeleteResource is the legacy version of DeleteResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory3) DeleteResourceCtx added in v1.0.2

func (client *ContentDirectory3) DeleteResourceCtx(
	ctx context.Context,
	ResourceURI *url.URL,
) (err error)

func (*ContentDirectory3) DestroyObject

func (client *ContentDirectory3) DestroyObject(ObjectID string) (err error)

DestroyObject is the legacy version of DestroyObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory3) DestroyObjectCtx added in v1.0.2

func (client *ContentDirectory3) DestroyObjectCtx(
	ctx context.Context,
	ObjectID string,
) (err error)

func (*ContentDirectory3) ExportResource

func (client *ContentDirectory3) ExportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

ExportResource is the legacy version of ExportResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory3) ExportResourceCtx added in v1.0.2

func (client *ContentDirectory3) ExportResourceCtx(
	ctx context.Context,
	SourceURI *url.URL,
	DestinationURI *url.URL,
) (TransferID uint32, err error)

func (*ContentDirectory3) FreeFormQuery

func (client *ContentDirectory3) FreeFormQuery(ContainerID string, CDSView uint32, QueryRequest string) (QueryResult string, UpdateID uint32, err error)

FreeFormQuery is the legacy version of FreeFormQueryCtx, but uses context.Background() as the context.

func (*ContentDirectory3) FreeFormQueryCtx added in v1.0.2

func (client *ContentDirectory3) FreeFormQueryCtx(
	ctx context.Context,
	ContainerID string,
	CDSView uint32,
	QueryRequest string,
) (QueryResult string, UpdateID uint32, err error)

func (*ContentDirectory3) GetFeatureList

func (client *ContentDirectory3) GetFeatureList() (FeatureList string, err error)

GetFeatureList is the legacy version of GetFeatureListCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetFeatureListCtx added in v1.0.2

func (client *ContentDirectory3) GetFeatureListCtx(
	ctx context.Context,
) (FeatureList string, err error)

func (*ContentDirectory3) GetFreeFormQueryCapabilities

func (client *ContentDirectory3) GetFreeFormQueryCapabilities() (FFQCapabilities string, err error)

GetFreeFormQueryCapabilities is the legacy version of GetFreeFormQueryCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetFreeFormQueryCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory3) GetFreeFormQueryCapabilitiesCtx(
	ctx context.Context,
) (FFQCapabilities string, err error)

func (*ContentDirectory3) GetSearchCapabilities

func (client *ContentDirectory3) GetSearchCapabilities() (SearchCaps string, err error)

GetSearchCapabilities is the legacy version of GetSearchCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetSearchCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory3) GetSearchCapabilitiesCtx(
	ctx context.Context,
) (SearchCaps string, err error)

func (*ContentDirectory3) GetServiceResetToken

func (client *ContentDirectory3) GetServiceResetToken() (ResetToken string, err error)

GetServiceResetToken is the legacy version of GetServiceResetTokenCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetServiceResetTokenCtx added in v1.0.2

func (client *ContentDirectory3) GetServiceResetTokenCtx(
	ctx context.Context,
) (ResetToken string, err error)

func (*ContentDirectory3) GetSortCapabilities

func (client *ContentDirectory3) GetSortCapabilities() (SortCaps string, err error)

GetSortCapabilities is the legacy version of GetSortCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetSortCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory3) GetSortCapabilitiesCtx(
	ctx context.Context,
) (SortCaps string, err error)

func (*ContentDirectory3) GetSortExtensionCapabilities

func (client *ContentDirectory3) GetSortExtensionCapabilities() (SortExtensionCaps string, err error)

GetSortExtensionCapabilities is the legacy version of GetSortExtensionCapabilitiesCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetSortExtensionCapabilitiesCtx added in v1.0.2

func (client *ContentDirectory3) GetSortExtensionCapabilitiesCtx(
	ctx context.Context,
) (SortExtensionCaps string, err error)

func (*ContentDirectory3) GetSystemUpdateID

func (client *ContentDirectory3) GetSystemUpdateID() (Id uint32, err error)

GetSystemUpdateID is the legacy version of GetSystemUpdateIDCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetSystemUpdateIDCtx added in v1.0.2

func (client *ContentDirectory3) GetSystemUpdateIDCtx(
	ctx context.Context,
) (Id uint32, err error)

func (*ContentDirectory3) GetTransferProgress

func (client *ContentDirectory3) GetTransferProgress(TransferID uint32) (TransferStatus string, TransferLength string, TransferTotal string, err error)

GetTransferProgress is the legacy version of GetTransferProgressCtx, but uses context.Background() as the context.

func (*ContentDirectory3) GetTransferProgressCtx added in v1.0.2

func (client *ContentDirectory3) GetTransferProgressCtx(
	ctx context.Context,
	TransferID uint32,
) (TransferStatus string, TransferLength string, TransferTotal string, err error)

Return values:

* TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED

func (*ContentDirectory3) ImportResource

func (client *ContentDirectory3) ImportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

ImportResource is the legacy version of ImportResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory3) ImportResourceCtx added in v1.0.2

func (client *ContentDirectory3) ImportResourceCtx(
	ctx context.Context,
	SourceURI *url.URL,
	DestinationURI *url.URL,
) (TransferID uint32, err error)

func (*ContentDirectory3) MoveObject

func (client *ContentDirectory3) MoveObject(ObjectID string, NewParentID string) (NewObjectID string, err error)

MoveObject is the legacy version of MoveObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory3) MoveObjectCtx added in v1.0.2

func (client *ContentDirectory3) MoveObjectCtx(
	ctx context.Context,
	ObjectID string,
	NewParentID string,
) (NewObjectID string, err error)

func (*ContentDirectory3) Search

func (client *ContentDirectory3) Search(ContainerID string, SearchCriteria string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

Search is the legacy version of SearchCtx, but uses context.Background() as the context.

func (*ContentDirectory3) SearchCtx added in v1.0.2

func (client *ContentDirectory3) SearchCtx(
	ctx context.Context,
	ContainerID string,
	SearchCriteria string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory3) StopTransferResource

func (client *ContentDirectory3) StopTransferResource(TransferID uint32) (err error)

StopTransferResource is the legacy version of StopTransferResourceCtx, but uses context.Background() as the context.

func (*ContentDirectory3) StopTransferResourceCtx added in v1.0.2

func (client *ContentDirectory3) StopTransferResourceCtx(
	ctx context.Context,
	TransferID uint32,
) (err error)

func (*ContentDirectory3) UpdateObject

func (client *ContentDirectory3) UpdateObject(ObjectID string, CurrentTagValue string, NewTagValue string) (err error)

UpdateObject is the legacy version of UpdateObjectCtx, but uses context.Background() as the context.

func (*ContentDirectory3) UpdateObjectCtx added in v1.0.2

func (client *ContentDirectory3) UpdateObjectCtx(
	ctx context.Context,
	ObjectID string,
	CurrentTagValue string,
	NewTagValue string,
) (err error)

type RenderingControl1

type RenderingControl1 struct {
	goupnp.ServiceClient
}

RenderingControl1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:RenderingControl:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewRenderingControl1Clients

func NewRenderingControl1Clients() (clients []*RenderingControl1, errors []error, err error)

NewRenderingControl1Clients is the legacy version of NewRenderingControl1ClientsCtx, but uses context.Background() as the context.

func NewRenderingControl1ClientsByURL

func NewRenderingControl1ClientsByURL(loc *url.URL) ([]*RenderingControl1, error)

NewRenderingControl1ClientsByURL is the legacy version of NewRenderingControl1ClientsByURLCtx, but uses context.Background() as the context.

func NewRenderingControl1ClientsByURLCtx added in v1.1.0

func NewRenderingControl1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*RenderingControl1, error)

NewRenderingControl1ClientsByURLCtx 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 NewRenderingControl1ClientsCtx added in v1.1.0

func NewRenderingControl1ClientsCtx(ctx context.Context) (clients []*RenderingControl1, errors []error, err error)

NewRenderingControl1ClientsCtx 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 NewRenderingControl1ClientsFromRootDevice

func NewRenderingControl1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*RenderingControl1, error)

NewRenderingControl1ClientsFromRootDevice 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 (*RenderingControl1) GetBlueVideoBlackLevel

func (client *RenderingControl1) GetBlueVideoBlackLevel(InstanceID uint32) (CurrentBlueVideoBlackLevel uint16, err error)

GetBlueVideoBlackLevel is the legacy version of GetBlueVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetBlueVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl1) GetBlueVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentBlueVideoBlackLevel uint16, err error)

Return values:

* CurrentBlueVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetBlueVideoGain

func (client *RenderingControl1) GetBlueVideoGain(InstanceID uint32) (CurrentBlueVideoGain uint16, err error)

GetBlueVideoGain is the legacy version of GetBlueVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetBlueVideoGainCtx added in v1.0.2

func (client *RenderingControl1) GetBlueVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentBlueVideoGain uint16, err error)

Return values:

* CurrentBlueVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetBrightness

func (client *RenderingControl1) GetBrightness(InstanceID uint32) (CurrentBrightness uint16, err error)

GetBrightness is the legacy version of GetBrightnessCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetBrightnessCtx added in v1.0.2

func (client *RenderingControl1) GetBrightnessCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentBrightness uint16, err error)

Return values:

* CurrentBrightness: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetColorTemperature

func (client *RenderingControl1) GetColorTemperature(InstanceID uint32) (CurrentColorTemperature uint16, err error)

GetColorTemperature is the legacy version of GetColorTemperatureCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetColorTemperatureCtx added in v1.0.2

func (client *RenderingControl1) GetColorTemperatureCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentColorTemperature uint16, err error)

Return values:

* CurrentColorTemperature: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetContrast

func (client *RenderingControl1) GetContrast(InstanceID uint32) (CurrentContrast uint16, err error)

GetContrast is the legacy version of GetContrastCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetContrastCtx added in v1.0.2

func (client *RenderingControl1) GetContrastCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentContrast uint16, err error)

Return values:

* CurrentContrast: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetGreenVideoBlackLevel

func (client *RenderingControl1) GetGreenVideoBlackLevel(InstanceID uint32) (CurrentGreenVideoBlackLevel uint16, err error)

GetGreenVideoBlackLevel is the legacy version of GetGreenVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetGreenVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl1) GetGreenVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentGreenVideoBlackLevel uint16, err error)

Return values:

* CurrentGreenVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetGreenVideoGain

func (client *RenderingControl1) GetGreenVideoGain(InstanceID uint32) (CurrentGreenVideoGain uint16, err error)

GetGreenVideoGain is the legacy version of GetGreenVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetGreenVideoGainCtx added in v1.0.2

func (client *RenderingControl1) GetGreenVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentGreenVideoGain uint16, err error)

Return values:

* CurrentGreenVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetHorizontalKeystone

func (client *RenderingControl1) GetHorizontalKeystone(InstanceID uint32) (CurrentHorizontalKeystone int16, err error)

GetHorizontalKeystone is the legacy version of GetHorizontalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetHorizontalKeystoneCtx added in v1.0.2

func (client *RenderingControl1) GetHorizontalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentHorizontalKeystone int16, err error)

Return values:

* CurrentHorizontalKeystone: allowed value range: step=1

func (*RenderingControl1) GetLoudness

func (client *RenderingControl1) GetLoudness(InstanceID uint32, Channel string) (CurrentLoudness bool, err error)

GetLoudness is the legacy version of GetLoudnessCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetLoudnessCtx added in v1.0.2

func (client *RenderingControl1) GetLoudnessCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentLoudness bool, err error)

func (*RenderingControl1) GetMute

func (client *RenderingControl1) GetMute(InstanceID uint32, Channel string) (CurrentMute bool, err error)

GetMute is the legacy version of GetMuteCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetMuteCtx added in v1.0.2

func (client *RenderingControl1) GetMuteCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentMute bool, err error)

func (*RenderingControl1) GetRedVideoBlackLevel

func (client *RenderingControl1) GetRedVideoBlackLevel(InstanceID uint32) (CurrentRedVideoBlackLevel uint16, err error)

GetRedVideoBlackLevel is the legacy version of GetRedVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetRedVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl1) GetRedVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentRedVideoBlackLevel uint16, err error)

Return values:

* CurrentRedVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetRedVideoGain

func (client *RenderingControl1) GetRedVideoGain(InstanceID uint32) (CurrentRedVideoGain uint16, err error)

GetRedVideoGain is the legacy version of GetRedVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetRedVideoGainCtx added in v1.0.2

func (client *RenderingControl1) GetRedVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentRedVideoGain uint16, err error)

func (*RenderingControl1) GetSharpness

func (client *RenderingControl1) GetSharpness(InstanceID uint32) (CurrentSharpness uint16, err error)

GetSharpness is the legacy version of GetSharpnessCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetSharpnessCtx added in v1.0.2

func (client *RenderingControl1) GetSharpnessCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentSharpness uint16, err error)

Return values:

* CurrentSharpness: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetVerticalKeystone

func (client *RenderingControl1) GetVerticalKeystone(InstanceID uint32) (CurrentVerticalKeystone int16, err error)

GetVerticalKeystone is the legacy version of GetVerticalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetVerticalKeystoneCtx added in v1.0.2

func (client *RenderingControl1) GetVerticalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentVerticalKeystone int16, err error)

Return values:

* CurrentVerticalKeystone: allowed value range: step=1

func (*RenderingControl1) GetVolume

func (client *RenderingControl1) GetVolume(InstanceID uint32, Channel string) (CurrentVolume uint16, err error)

GetVolume is the legacy version of GetVolumeCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetVolumeCtx added in v1.0.2

func (client *RenderingControl1) GetVolumeCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentVolume uint16, err error)

Return values:

* CurrentVolume: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetVolumeDB

func (client *RenderingControl1) GetVolumeDB(InstanceID uint32, Channel string) (CurrentVolume int16, err error)

GetVolumeDB is the legacy version of GetVolumeDBCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetVolumeDBCtx added in v1.0.2

func (client *RenderingControl1) GetVolumeDBCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentVolume int16, err error)

func (*RenderingControl1) GetVolumeDBRange

func (client *RenderingControl1) GetVolumeDBRange(InstanceID uint32, Channel string) (MinValue int16, MaxValue int16, err error)

GetVolumeDBRange is the legacy version of GetVolumeDBRangeCtx, but uses context.Background() as the context.

func (*RenderingControl1) GetVolumeDBRangeCtx added in v1.0.2

func (client *RenderingControl1) GetVolumeDBRangeCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (MinValue int16, MaxValue int16, err error)

func (*RenderingControl1) ListPresets

func (client *RenderingControl1) ListPresets(InstanceID uint32) (CurrentPresetNameList string, err error)

ListPresets is the legacy version of ListPresetsCtx, but uses context.Background() as the context.

func (*RenderingControl1) ListPresetsCtx added in v1.0.2

func (client *RenderingControl1) ListPresetsCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentPresetNameList string, err error)

func (*RenderingControl1) SelectPreset

func (client *RenderingControl1) SelectPreset(InstanceID uint32, PresetName string) (err error)

SelectPreset is the legacy version of SelectPresetCtx, but uses context.Background() as the context.

func (*RenderingControl1) SelectPresetCtx added in v1.0.2

func (client *RenderingControl1) SelectPresetCtx(
	ctx context.Context,
	InstanceID uint32,
	PresetName string,
) (err error)

func (*RenderingControl1) SetBlueVideoBlackLevel

func (client *RenderingControl1) SetBlueVideoBlackLevel(InstanceID uint32, DesiredBlueVideoBlackLevel uint16) (err error)

SetBlueVideoBlackLevel is the legacy version of SetBlueVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetBlueVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl1) SetBlueVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredBlueVideoBlackLevel uint16,
) (err error)

func (*RenderingControl1) SetBlueVideoGain

func (client *RenderingControl1) SetBlueVideoGain(InstanceID uint32, DesiredBlueVideoGain uint16) (err error)

SetBlueVideoGain is the legacy version of SetBlueVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetBlueVideoGainCtx added in v1.0.2

func (client *RenderingControl1) SetBlueVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredBlueVideoGain uint16,
) (err error)

func (*RenderingControl1) SetBrightness

func (client *RenderingControl1) SetBrightness(InstanceID uint32, DesiredBrightness uint16) (err error)

SetBrightness is the legacy version of SetBrightnessCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetBrightnessCtx added in v1.0.2

func (client *RenderingControl1) SetBrightnessCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredBrightness uint16,
) (err error)

func (*RenderingControl1) SetColorTemperature

func (client *RenderingControl1) SetColorTemperature(InstanceID uint32, DesiredColorTemperature uint16) (err error)

SetColorTemperature is the legacy version of SetColorTemperatureCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetColorTemperatureCtx added in v1.0.2

func (client *RenderingControl1) SetColorTemperatureCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredColorTemperature uint16,
) (err error)

func (*RenderingControl1) SetContrast

func (client *RenderingControl1) SetContrast(InstanceID uint32, DesiredContrast uint16) (err error)

SetContrast is the legacy version of SetContrastCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetContrastCtx added in v1.0.2

func (client *RenderingControl1) SetContrastCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredContrast uint16,
) (err error)

func (*RenderingControl1) SetGreenVideoBlackLevel

func (client *RenderingControl1) SetGreenVideoBlackLevel(InstanceID uint32, DesiredGreenVideoBlackLevel uint16) (err error)

SetGreenVideoBlackLevel is the legacy version of SetGreenVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetGreenVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl1) SetGreenVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredGreenVideoBlackLevel uint16,
) (err error)

func (*RenderingControl1) SetGreenVideoGain

func (client *RenderingControl1) SetGreenVideoGain(InstanceID uint32, DesiredGreenVideoGain uint16) (err error)

SetGreenVideoGain is the legacy version of SetGreenVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetGreenVideoGainCtx added in v1.0.2

func (client *RenderingControl1) SetGreenVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredGreenVideoGain uint16,
) (err error)

func (*RenderingControl1) SetHorizontalKeystone

func (client *RenderingControl1) SetHorizontalKeystone(InstanceID uint32, DesiredHorizontalKeystone int16) (err error)

SetHorizontalKeystone is the legacy version of SetHorizontalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetHorizontalKeystoneCtx added in v1.0.2

func (client *RenderingControl1) SetHorizontalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredHorizontalKeystone int16,
) (err error)

func (*RenderingControl1) SetLoudness

func (client *RenderingControl1) SetLoudness(InstanceID uint32, Channel string, DesiredLoudness bool) (err error)

SetLoudness is the legacy version of SetLoudnessCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetLoudnessCtx added in v1.0.2

func (client *RenderingControl1) SetLoudnessCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredLoudness bool,
) (err error)

func (*RenderingControl1) SetMute

func (client *RenderingControl1) SetMute(InstanceID uint32, Channel string, DesiredMute bool) (err error)

SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetMuteCtx added in v1.0.2

func (client *RenderingControl1) SetMuteCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredMute bool,
) (err error)

func (*RenderingControl1) SetRedVideoBlackLevel

func (client *RenderingControl1) SetRedVideoBlackLevel(InstanceID uint32, DesiredRedVideoBlackLevel uint16) (err error)

SetRedVideoBlackLevel is the legacy version of SetRedVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetRedVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl1) SetRedVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredRedVideoBlackLevel uint16,
) (err error)

func (*RenderingControl1) SetRedVideoGain

func (client *RenderingControl1) SetRedVideoGain(InstanceID uint32, DesiredRedVideoGain uint16) (err error)

SetRedVideoGain is the legacy version of SetRedVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetRedVideoGainCtx added in v1.0.2

func (client *RenderingControl1) SetRedVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredRedVideoGain uint16,
) (err error)

func (*RenderingControl1) SetSharpness

func (client *RenderingControl1) SetSharpness(InstanceID uint32, DesiredSharpness uint16) (err error)

SetSharpness is the legacy version of SetSharpnessCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetSharpnessCtx added in v1.0.2

func (client *RenderingControl1) SetSharpnessCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredSharpness uint16,
) (err error)

func (*RenderingControl1) SetVerticalKeystone

func (client *RenderingControl1) SetVerticalKeystone(InstanceID uint32, DesiredVerticalKeystone int16) (err error)

SetVerticalKeystone is the legacy version of SetVerticalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetVerticalKeystoneCtx added in v1.0.2

func (client *RenderingControl1) SetVerticalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredVerticalKeystone int16,
) (err error)

func (*RenderingControl1) SetVolume

func (client *RenderingControl1) SetVolume(InstanceID uint32, Channel string, DesiredVolume uint16) (err error)

SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetVolumeCtx added in v1.0.2

func (client *RenderingControl1) SetVolumeCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredVolume uint16,
) (err error)

func (*RenderingControl1) SetVolumeDB

func (client *RenderingControl1) SetVolumeDB(InstanceID uint32, Channel string, DesiredVolume int16) (err error)

SetVolumeDB is the legacy version of SetVolumeDBCtx, but uses context.Background() as the context.

func (*RenderingControl1) SetVolumeDBCtx added in v1.0.2

func (client *RenderingControl1) SetVolumeDBCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredVolume int16,
) (err error)

type RenderingControl2

type RenderingControl2 struct {
	goupnp.ServiceClient
}

RenderingControl2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:RenderingControl:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewRenderingControl2Clients

func NewRenderingControl2Clients() (clients []*RenderingControl2, errors []error, err error)

NewRenderingControl2Clients is the legacy version of NewRenderingControl2ClientsCtx, but uses context.Background() as the context.

func NewRenderingControl2ClientsByURL

func NewRenderingControl2ClientsByURL(loc *url.URL) ([]*RenderingControl2, error)

NewRenderingControl2ClientsByURL is the legacy version of NewRenderingControl2ClientsByURLCtx, but uses context.Background() as the context.

func NewRenderingControl2ClientsByURLCtx added in v1.1.0

func NewRenderingControl2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*RenderingControl2, error)

NewRenderingControl2ClientsByURLCtx 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 NewRenderingControl2ClientsCtx added in v1.1.0

func NewRenderingControl2ClientsCtx(ctx context.Context) (clients []*RenderingControl2, errors []error, err error)

NewRenderingControl2ClientsCtx 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 NewRenderingControl2ClientsFromRootDevice

func NewRenderingControl2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*RenderingControl2, error)

NewRenderingControl2ClientsFromRootDevice 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 (*RenderingControl2) GetBlueVideoBlackLevel

func (client *RenderingControl2) GetBlueVideoBlackLevel(InstanceID uint32) (CurrentBlueVideoBlackLevel uint16, err error)

GetBlueVideoBlackLevel is the legacy version of GetBlueVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetBlueVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl2) GetBlueVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentBlueVideoBlackLevel uint16, err error)

Return values:

* CurrentBlueVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetBlueVideoGain

func (client *RenderingControl2) GetBlueVideoGain(InstanceID uint32) (CurrentBlueVideoGain uint16, err error)

GetBlueVideoGain is the legacy version of GetBlueVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetBlueVideoGainCtx added in v1.0.2

func (client *RenderingControl2) GetBlueVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentBlueVideoGain uint16, err error)

Return values:

* CurrentBlueVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetBrightness

func (client *RenderingControl2) GetBrightness(InstanceID uint32) (CurrentBrightness uint16, err error)

GetBrightness is the legacy version of GetBrightnessCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetBrightnessCtx added in v1.0.2

func (client *RenderingControl2) GetBrightnessCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentBrightness uint16, err error)

Return values:

* CurrentBrightness: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetColorTemperature

func (client *RenderingControl2) GetColorTemperature(InstanceID uint32) (CurrentColorTemperature uint16, err error)

GetColorTemperature is the legacy version of GetColorTemperatureCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetColorTemperatureCtx added in v1.0.2

func (client *RenderingControl2) GetColorTemperatureCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentColorTemperature uint16, err error)

Return values:

* CurrentColorTemperature: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetContrast

func (client *RenderingControl2) GetContrast(InstanceID uint32) (CurrentContrast uint16, err error)

GetContrast is the legacy version of GetContrastCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetContrastCtx added in v1.0.2

func (client *RenderingControl2) GetContrastCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentContrast uint16, err error)

Return values:

* CurrentContrast: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetGreenVideoBlackLevel

func (client *RenderingControl2) GetGreenVideoBlackLevel(InstanceID uint32) (CurrentGreenVideoBlackLevel uint16, err error)

GetGreenVideoBlackLevel is the legacy version of GetGreenVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetGreenVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl2) GetGreenVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentGreenVideoBlackLevel uint16, err error)

Return values:

* CurrentGreenVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetGreenVideoGain

func (client *RenderingControl2) GetGreenVideoGain(InstanceID uint32) (CurrentGreenVideoGain uint16, err error)

GetGreenVideoGain is the legacy version of GetGreenVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetGreenVideoGainCtx added in v1.0.2

func (client *RenderingControl2) GetGreenVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentGreenVideoGain uint16, err error)

Return values:

* CurrentGreenVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetHorizontalKeystone

func (client *RenderingControl2) GetHorizontalKeystone(InstanceID uint32) (CurrentHorizontalKeystone int16, err error)

GetHorizontalKeystone is the legacy version of GetHorizontalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetHorizontalKeystoneCtx added in v1.0.2

func (client *RenderingControl2) GetHorizontalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentHorizontalKeystone int16, err error)

Return values:

* CurrentHorizontalKeystone: allowed value range: step=1

func (*RenderingControl2) GetLoudness

func (client *RenderingControl2) GetLoudness(InstanceID uint32, Channel string) (CurrentLoudness bool, err error)

GetLoudness is the legacy version of GetLoudnessCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetLoudnessCtx added in v1.0.2

func (client *RenderingControl2) GetLoudnessCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentLoudness bool, err error)

func (*RenderingControl2) GetMute

func (client *RenderingControl2) GetMute(InstanceID uint32, Channel string) (CurrentMute bool, err error)

GetMute is the legacy version of GetMuteCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetMuteCtx added in v1.0.2

func (client *RenderingControl2) GetMuteCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentMute bool, err error)

func (*RenderingControl2) GetRedVideoBlackLevel

func (client *RenderingControl2) GetRedVideoBlackLevel(InstanceID uint32) (CurrentRedVideoBlackLevel uint16, err error)

GetRedVideoBlackLevel is the legacy version of GetRedVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetRedVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl2) GetRedVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentRedVideoBlackLevel uint16, err error)

Return values:

* CurrentRedVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetRedVideoGain

func (client *RenderingControl2) GetRedVideoGain(InstanceID uint32) (CurrentRedVideoGain uint16, err error)

GetRedVideoGain is the legacy version of GetRedVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetRedVideoGainCtx added in v1.0.2

func (client *RenderingControl2) GetRedVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentRedVideoGain uint16, err error)

Return values:

* CurrentRedVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetSharpness

func (client *RenderingControl2) GetSharpness(InstanceID uint32) (CurrentSharpness uint16, err error)

GetSharpness is the legacy version of GetSharpnessCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetSharpnessCtx added in v1.0.2

func (client *RenderingControl2) GetSharpnessCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentSharpness uint16, err error)

Return values:

* CurrentSharpness: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetStateVariables

func (client *RenderingControl2) GetStateVariables(InstanceID uint32, StateVariableList string) (StateVariableValuePairs string, err error)

GetStateVariables is the legacy version of GetStateVariablesCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetStateVariablesCtx added in v1.0.2

func (client *RenderingControl2) GetStateVariablesCtx(
	ctx context.Context,
	InstanceID uint32,
	StateVariableList string,
) (StateVariableValuePairs string, err error)

func (*RenderingControl2) GetVerticalKeystone

func (client *RenderingControl2) GetVerticalKeystone(InstanceID uint32) (CurrentVerticalKeystone int16, err error)

GetVerticalKeystone is the legacy version of GetVerticalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetVerticalKeystoneCtx added in v1.0.2

func (client *RenderingControl2) GetVerticalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentVerticalKeystone int16, err error)

Return values:

* CurrentVerticalKeystone: allowed value range: step=1

func (*RenderingControl2) GetVolume

func (client *RenderingControl2) GetVolume(InstanceID uint32, Channel string) (CurrentVolume uint16, err error)

GetVolume is the legacy version of GetVolumeCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetVolumeCtx added in v1.0.2

func (client *RenderingControl2) GetVolumeCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentVolume uint16, err error)

Return values:

* CurrentVolume: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetVolumeDB

func (client *RenderingControl2) GetVolumeDB(InstanceID uint32, Channel string) (CurrentVolume int16, err error)

GetVolumeDB is the legacy version of GetVolumeDBCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetVolumeDBCtx added in v1.0.2

func (client *RenderingControl2) GetVolumeDBCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (CurrentVolume int16, err error)

func (*RenderingControl2) GetVolumeDBRange

func (client *RenderingControl2) GetVolumeDBRange(InstanceID uint32, Channel string) (MinValue int16, MaxValue int16, err error)

GetVolumeDBRange is the legacy version of GetVolumeDBRangeCtx, but uses context.Background() as the context.

func (*RenderingControl2) GetVolumeDBRangeCtx added in v1.0.2

func (client *RenderingControl2) GetVolumeDBRangeCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
) (MinValue int16, MaxValue int16, err error)

func (*RenderingControl2) ListPresets

func (client *RenderingControl2) ListPresets(InstanceID uint32) (CurrentPresetNameList string, err error)

ListPresets is the legacy version of ListPresetsCtx, but uses context.Background() as the context.

func (*RenderingControl2) ListPresetsCtx added in v1.0.2

func (client *RenderingControl2) ListPresetsCtx(
	ctx context.Context,
	InstanceID uint32,
) (CurrentPresetNameList string, err error)

func (*RenderingControl2) SelectPreset

func (client *RenderingControl2) SelectPreset(InstanceID uint32, PresetName string) (err error)

SelectPreset is the legacy version of SelectPresetCtx, but uses context.Background() as the context.

func (*RenderingControl2) SelectPresetCtx added in v1.0.2

func (client *RenderingControl2) SelectPresetCtx(
	ctx context.Context,
	InstanceID uint32,
	PresetName string,
) (err error)

func (*RenderingControl2) SetBlueVideoBlackLevel

func (client *RenderingControl2) SetBlueVideoBlackLevel(InstanceID uint32, DesiredBlueVideoBlackLevel uint16) (err error)

SetBlueVideoBlackLevel is the legacy version of SetBlueVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetBlueVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl2) SetBlueVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredBlueVideoBlackLevel uint16,
) (err error)

func (*RenderingControl2) SetBlueVideoGain

func (client *RenderingControl2) SetBlueVideoGain(InstanceID uint32, DesiredBlueVideoGain uint16) (err error)

SetBlueVideoGain is the legacy version of SetBlueVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetBlueVideoGainCtx added in v1.0.2

func (client *RenderingControl2) SetBlueVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredBlueVideoGain uint16,
) (err error)

func (*RenderingControl2) SetBrightness

func (client *RenderingControl2) SetBrightness(InstanceID uint32, DesiredBrightness uint16) (err error)

SetBrightness is the legacy version of SetBrightnessCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetBrightnessCtx added in v1.0.2

func (client *RenderingControl2) SetBrightnessCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredBrightness uint16,
) (err error)

func (*RenderingControl2) SetColorTemperature

func (client *RenderingControl2) SetColorTemperature(InstanceID uint32, DesiredColorTemperature uint16) (err error)

SetColorTemperature is the legacy version of SetColorTemperatureCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetColorTemperatureCtx added in v1.0.2

func (client *RenderingControl2) SetColorTemperatureCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredColorTemperature uint16,
) (err error)

func (*RenderingControl2) SetContrast

func (client *RenderingControl2) SetContrast(InstanceID uint32, DesiredContrast uint16) (err error)

SetContrast is the legacy version of SetContrastCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetContrastCtx added in v1.0.2

func (client *RenderingControl2) SetContrastCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredContrast uint16,
) (err error)

func (*RenderingControl2) SetGreenVideoBlackLevel

func (client *RenderingControl2) SetGreenVideoBlackLevel(InstanceID uint32, DesiredGreenVideoBlackLevel uint16) (err error)

SetGreenVideoBlackLevel is the legacy version of SetGreenVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetGreenVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl2) SetGreenVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredGreenVideoBlackLevel uint16,
) (err error)

func (*RenderingControl2) SetGreenVideoGain

func (client *RenderingControl2) SetGreenVideoGain(InstanceID uint32, DesiredGreenVideoGain uint16) (err error)

SetGreenVideoGain is the legacy version of SetGreenVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetGreenVideoGainCtx added in v1.0.2

func (client *RenderingControl2) SetGreenVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredGreenVideoGain uint16,
) (err error)

func (*RenderingControl2) SetHorizontalKeystone

func (client *RenderingControl2) SetHorizontalKeystone(InstanceID uint32, DesiredHorizontalKeystone int16) (err error)

SetHorizontalKeystone is the legacy version of SetHorizontalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetHorizontalKeystoneCtx added in v1.0.2

func (client *RenderingControl2) SetHorizontalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredHorizontalKeystone int16,
) (err error)

func (*RenderingControl2) SetLoudness

func (client *RenderingControl2) SetLoudness(InstanceID uint32, Channel string, DesiredLoudness bool) (err error)

SetLoudness is the legacy version of SetLoudnessCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetLoudnessCtx added in v1.0.2

func (client *RenderingControl2) SetLoudnessCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredLoudness bool,
) (err error)

func (*RenderingControl2) SetMute

func (client *RenderingControl2) SetMute(InstanceID uint32, Channel string, DesiredMute bool) (err error)

SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetMuteCtx added in v1.0.2

func (client *RenderingControl2) SetMuteCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredMute bool,
) (err error)

func (*RenderingControl2) SetRedVideoBlackLevel

func (client *RenderingControl2) SetRedVideoBlackLevel(InstanceID uint32, DesiredRedVideoBlackLevel uint16) (err error)

SetRedVideoBlackLevel is the legacy version of SetRedVideoBlackLevelCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetRedVideoBlackLevelCtx added in v1.0.2

func (client *RenderingControl2) SetRedVideoBlackLevelCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredRedVideoBlackLevel uint16,
) (err error)

func (*RenderingControl2) SetRedVideoGain

func (client *RenderingControl2) SetRedVideoGain(InstanceID uint32, DesiredRedVideoGain uint16) (err error)

SetRedVideoGain is the legacy version of SetRedVideoGainCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetRedVideoGainCtx added in v1.0.2

func (client *RenderingControl2) SetRedVideoGainCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredRedVideoGain uint16,
) (err error)

func (*RenderingControl2) SetSharpness

func (client *RenderingControl2) SetSharpness(InstanceID uint32, DesiredSharpness uint16) (err error)

SetSharpness is the legacy version of SetSharpnessCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetSharpnessCtx added in v1.0.2

func (client *RenderingControl2) SetSharpnessCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredSharpness uint16,
) (err error)

func (*RenderingControl2) SetStateVariables

func (client *RenderingControl2) SetStateVariables(InstanceID uint32, RenderingControlUDN string, ServiceType string, ServiceId string, StateVariableValuePairs string) (StateVariableList string, err error)

SetStateVariables is the legacy version of SetStateVariablesCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetStateVariablesCtx added in v1.0.2

func (client *RenderingControl2) SetStateVariablesCtx(
	ctx context.Context,
	InstanceID uint32,
	RenderingControlUDN string,
	ServiceType string,
	ServiceId string,
	StateVariableValuePairs string,
) (StateVariableList string, err error)

func (*RenderingControl2) SetVerticalKeystone

func (client *RenderingControl2) SetVerticalKeystone(InstanceID uint32, DesiredVerticalKeystone int16) (err error)

SetVerticalKeystone is the legacy version of SetVerticalKeystoneCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetVerticalKeystoneCtx added in v1.0.2

func (client *RenderingControl2) SetVerticalKeystoneCtx(
	ctx context.Context,
	InstanceID uint32,
	DesiredVerticalKeystone int16,
) (err error)

func (*RenderingControl2) SetVolume

func (client *RenderingControl2) SetVolume(InstanceID uint32, Channel string, DesiredVolume uint16) (err error)

SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetVolumeCtx added in v1.0.2

func (client *RenderingControl2) SetVolumeCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredVolume uint16,
) (err error)

func (*RenderingControl2) SetVolumeDB

func (client *RenderingControl2) SetVolumeDB(InstanceID uint32, Channel string, DesiredVolume int16) (err error)

SetVolumeDB is the legacy version of SetVolumeDBCtx, but uses context.Background() as the context.

func (*RenderingControl2) SetVolumeDBCtx added in v1.0.2

func (client *RenderingControl2) SetVolumeDBCtx(
	ctx context.Context,
	InstanceID uint32,
	Channel string,
	DesiredVolume int16,
) (err error)

type ScheduledRecording1

type ScheduledRecording1 struct {
	goupnp.ServiceClient
}

ScheduledRecording1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ScheduledRecording:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewScheduledRecording1Clients

func NewScheduledRecording1Clients() (clients []*ScheduledRecording1, errors []error, err error)

NewScheduledRecording1Clients is the legacy version of NewScheduledRecording1ClientsCtx, but uses context.Background() as the context.

func NewScheduledRecording1ClientsByURL

func NewScheduledRecording1ClientsByURL(loc *url.URL) ([]*ScheduledRecording1, error)

NewScheduledRecording1ClientsByURL is the legacy version of NewScheduledRecording1ClientsByURLCtx, but uses context.Background() as the context.

func NewScheduledRecording1ClientsByURLCtx added in v1.1.0

func NewScheduledRecording1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*ScheduledRecording1, error)

NewScheduledRecording1ClientsByURLCtx 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 NewScheduledRecording1ClientsCtx added in v1.1.0

func NewScheduledRecording1ClientsCtx(ctx context.Context) (clients []*ScheduledRecording1, errors []error, err error)

NewScheduledRecording1ClientsCtx 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 NewScheduledRecording1ClientsFromRootDevice

func NewScheduledRecording1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ScheduledRecording1, error)

NewScheduledRecording1ClientsFromRootDevice 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 (*ScheduledRecording1) BrowseRecordSchedules

func (client *ScheduledRecording1) BrowseRecordSchedules(Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

BrowseRecordSchedules is the legacy version of BrowseRecordSchedulesCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) BrowseRecordSchedulesCtx added in v1.0.2

func (client *ScheduledRecording1) BrowseRecordSchedulesCtx(
	ctx context.Context,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording1) BrowseRecordTasks

func (client *ScheduledRecording1) BrowseRecordTasks(RecordScheduleID string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

BrowseRecordTasks is the legacy version of BrowseRecordTasksCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) BrowseRecordTasksCtx added in v1.0.2

func (client *ScheduledRecording1) BrowseRecordTasksCtx(
	ctx context.Context,
	RecordScheduleID string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording1) CreateRecordSchedule

func (client *ScheduledRecording1) CreateRecordSchedule(Elements string) (RecordScheduleID string, Result string, UpdateID uint32, err error)

CreateRecordSchedule is the legacy version of CreateRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) CreateRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording1) CreateRecordScheduleCtx(
	ctx context.Context,
	Elements string,
) (RecordScheduleID string, Result string, UpdateID uint32, err error)

func (*ScheduledRecording1) DeleteRecordSchedule

func (client *ScheduledRecording1) DeleteRecordSchedule(RecordScheduleID string) (err error)

DeleteRecordSchedule is the legacy version of DeleteRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) DeleteRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording1) DeleteRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
) (err error)

func (*ScheduledRecording1) DeleteRecordTask

func (client *ScheduledRecording1) DeleteRecordTask(RecordTaskID string) (err error)

DeleteRecordTask is the legacy version of DeleteRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) DeleteRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording1) DeleteRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

func (*ScheduledRecording1) DisableRecordSchedule

func (client *ScheduledRecording1) DisableRecordSchedule(RecordScheduleID string) (err error)

DisableRecordSchedule is the legacy version of DisableRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) DisableRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording1) DisableRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
) (err error)

func (*ScheduledRecording1) DisableRecordTask

func (client *ScheduledRecording1) DisableRecordTask(RecordTaskID string) (err error)

DisableRecordTask is the legacy version of DisableRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) DisableRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording1) DisableRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

func (*ScheduledRecording1) EnableRecordSchedule

func (client *ScheduledRecording1) EnableRecordSchedule(RecordScheduleID string) (err error)

EnableRecordSchedule is the legacy version of EnableRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) EnableRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording1) EnableRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
) (err error)

func (*ScheduledRecording1) EnableRecordTask

func (client *ScheduledRecording1) EnableRecordTask(RecordTaskID string) (err error)

EnableRecordTask is the legacy version of EnableRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) EnableRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording1) EnableRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

func (*ScheduledRecording1) GetAllowedValues

func (client *ScheduledRecording1) GetAllowedValues(DataTypeID string, Filter string) (PropertyInfo string, err error)

GetAllowedValues is the legacy version of GetAllowedValuesCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetAllowedValuesCtx added in v1.0.2

func (client *ScheduledRecording1) GetAllowedValuesCtx(
	ctx context.Context,
	DataTypeID string,
	Filter string,
) (PropertyInfo string, err error)

func (*ScheduledRecording1) GetPropertyList

func (client *ScheduledRecording1) GetPropertyList(DataTypeID string) (PropertyList string, err error)

GetPropertyList is the legacy version of GetPropertyListCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetPropertyListCtx added in v1.0.2

func (client *ScheduledRecording1) GetPropertyListCtx(
	ctx context.Context,
	DataTypeID string,
) (PropertyList string, err error)

func (*ScheduledRecording1) GetRecordSchedule

func (client *ScheduledRecording1) GetRecordSchedule(RecordScheduleID string, Filter string) (Result string, UpdateID uint32, err error)

GetRecordSchedule is the legacy version of GetRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetRecordScheduleConflicts

func (client *ScheduledRecording1) GetRecordScheduleConflicts(RecordScheduleID string) (RecordScheduleConflictIDList string, UpdateID uint32, err error)

GetRecordScheduleConflicts is the legacy version of GetRecordScheduleConflictsCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetRecordScheduleConflictsCtx added in v1.0.2

func (client *ScheduledRecording1) GetRecordScheduleConflictsCtx(
	ctx context.Context,
	RecordScheduleID string,
) (RecordScheduleConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording1) GetRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
	Filter string,
) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetRecordTask

func (client *ScheduledRecording1) GetRecordTask(RecordTaskID string, Filter string) (Result string, UpdateID uint32, err error)

GetRecordTask is the legacy version of GetRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetRecordTaskConflicts

func (client *ScheduledRecording1) GetRecordTaskConflicts(RecordTaskID string) (RecordTaskConflictIDList string, UpdateID uint32, err error)

GetRecordTaskConflicts is the legacy version of GetRecordTaskConflictsCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetRecordTaskConflictsCtx added in v1.0.2

func (client *ScheduledRecording1) GetRecordTaskConflictsCtx(
	ctx context.Context,
	RecordTaskID string,
) (RecordTaskConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording1) GetRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
	Filter string,
) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetSortCapabilities

func (client *ScheduledRecording1) GetSortCapabilities() (SortCaps string, SortLevelCap uint32, err error)

GetSortCapabilities is the legacy version of GetSortCapabilitiesCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetSortCapabilitiesCtx added in v1.0.2

func (client *ScheduledRecording1) GetSortCapabilitiesCtx(
	ctx context.Context,
) (SortCaps string, SortLevelCap uint32, err error)

func (*ScheduledRecording1) GetStateUpdateID

func (client *ScheduledRecording1) GetStateUpdateID() (Id uint32, err error)

GetStateUpdateID is the legacy version of GetStateUpdateIDCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) GetStateUpdateIDCtx added in v1.0.2

func (client *ScheduledRecording1) GetStateUpdateIDCtx(
	ctx context.Context,
) (Id uint32, err error)

func (*ScheduledRecording1) ResetRecordTask

func (client *ScheduledRecording1) ResetRecordTask(RecordTaskID string) (err error)

ResetRecordTask is the legacy version of ResetRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording1) ResetRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording1) ResetRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

type ScheduledRecording2

type ScheduledRecording2 struct {
	goupnp.ServiceClient
}

ScheduledRecording2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ScheduledRecording:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewScheduledRecording2Clients

func NewScheduledRecording2Clients() (clients []*ScheduledRecording2, errors []error, err error)

NewScheduledRecording2Clients is the legacy version of NewScheduledRecording2ClientsCtx, but uses context.Background() as the context.

func NewScheduledRecording2ClientsByURL

func NewScheduledRecording2ClientsByURL(loc *url.URL) ([]*ScheduledRecording2, error)

NewScheduledRecording2ClientsByURL is the legacy version of NewScheduledRecording2ClientsByURLCtx, but uses context.Background() as the context.

func NewScheduledRecording2ClientsByURLCtx added in v1.1.0

func NewScheduledRecording2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*ScheduledRecording2, error)

NewScheduledRecording2ClientsByURLCtx 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 NewScheduledRecording2ClientsCtx added in v1.1.0

func NewScheduledRecording2ClientsCtx(ctx context.Context) (clients []*ScheduledRecording2, errors []error, err error)

NewScheduledRecording2ClientsCtx 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 NewScheduledRecording2ClientsFromRootDevice

func NewScheduledRecording2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ScheduledRecording2, error)

NewScheduledRecording2ClientsFromRootDevice 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 (*ScheduledRecording2) BrowseRecordSchedules

func (client *ScheduledRecording2) BrowseRecordSchedules(Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

BrowseRecordSchedules is the legacy version of BrowseRecordSchedulesCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) BrowseRecordSchedulesCtx added in v1.0.2

func (client *ScheduledRecording2) BrowseRecordSchedulesCtx(
	ctx context.Context,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording2) BrowseRecordTasks

func (client *ScheduledRecording2) BrowseRecordTasks(RecordScheduleID string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

BrowseRecordTasks is the legacy version of BrowseRecordTasksCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) BrowseRecordTasksCtx added in v1.0.2

func (client *ScheduledRecording2) BrowseRecordTasksCtx(
	ctx context.Context,
	RecordScheduleID string,
	Filter string,
	StartingIndex uint32,
	RequestedCount uint32,
	SortCriteria string,
) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording2) CreateRecordSchedule

func (client *ScheduledRecording2) CreateRecordSchedule(Elements string) (RecordScheduleID string, Result string, UpdateID uint32, err error)

CreateRecordSchedule is the legacy version of CreateRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) CreateRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording2) CreateRecordScheduleCtx(
	ctx context.Context,
	Elements string,
) (RecordScheduleID string, Result string, UpdateID uint32, err error)

func (*ScheduledRecording2) DeleteRecordSchedule

func (client *ScheduledRecording2) DeleteRecordSchedule(RecordScheduleID string) (err error)

DeleteRecordSchedule is the legacy version of DeleteRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) DeleteRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording2) DeleteRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
) (err error)

func (*ScheduledRecording2) DeleteRecordTask

func (client *ScheduledRecording2) DeleteRecordTask(RecordTaskID string) (err error)

DeleteRecordTask is the legacy version of DeleteRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) DeleteRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording2) DeleteRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

func (*ScheduledRecording2) DisableRecordSchedule

func (client *ScheduledRecording2) DisableRecordSchedule(RecordScheduleID string) (err error)

DisableRecordSchedule is the legacy version of DisableRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) DisableRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording2) DisableRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
) (err error)

func (*ScheduledRecording2) DisableRecordTask

func (client *ScheduledRecording2) DisableRecordTask(RecordTaskID string) (err error)

DisableRecordTask is the legacy version of DisableRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) DisableRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording2) DisableRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

func (*ScheduledRecording2) EnableRecordSchedule

func (client *ScheduledRecording2) EnableRecordSchedule(RecordScheduleID string) (err error)

EnableRecordSchedule is the legacy version of EnableRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) EnableRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording2) EnableRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
) (err error)

func (*ScheduledRecording2) EnableRecordTask

func (client *ScheduledRecording2) EnableRecordTask(RecordTaskID string) (err error)

EnableRecordTask is the legacy version of EnableRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) EnableRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording2) EnableRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

func (*ScheduledRecording2) GetAllowedValues

func (client *ScheduledRecording2) GetAllowedValues(DataTypeID string, Filter string) (PropertyInfo string, err error)

GetAllowedValues is the legacy version of GetAllowedValuesCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetAllowedValuesCtx added in v1.0.2

func (client *ScheduledRecording2) GetAllowedValuesCtx(
	ctx context.Context,
	DataTypeID string,
	Filter string,
) (PropertyInfo string, err error)

func (*ScheduledRecording2) GetPropertyList

func (client *ScheduledRecording2) GetPropertyList(DataTypeID string) (PropertyList string, err error)

GetPropertyList is the legacy version of GetPropertyListCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetPropertyListCtx added in v1.0.2

func (client *ScheduledRecording2) GetPropertyListCtx(
	ctx context.Context,
	DataTypeID string,
) (PropertyList string, err error)

func (*ScheduledRecording2) GetRecordSchedule

func (client *ScheduledRecording2) GetRecordSchedule(RecordScheduleID string, Filter string) (Result string, UpdateID uint32, err error)

GetRecordSchedule is the legacy version of GetRecordScheduleCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetRecordScheduleConflicts

func (client *ScheduledRecording2) GetRecordScheduleConflicts(RecordScheduleID string) (RecordScheduleConflictIDList string, UpdateID uint32, err error)

GetRecordScheduleConflicts is the legacy version of GetRecordScheduleConflictsCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetRecordScheduleConflictsCtx added in v1.0.2

func (client *ScheduledRecording2) GetRecordScheduleConflictsCtx(
	ctx context.Context,
	RecordScheduleID string,
) (RecordScheduleConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetRecordScheduleCtx added in v1.0.2

func (client *ScheduledRecording2) GetRecordScheduleCtx(
	ctx context.Context,
	RecordScheduleID string,
	Filter string,
) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetRecordTask

func (client *ScheduledRecording2) GetRecordTask(RecordTaskID string, Filter string) (Result string, UpdateID uint32, err error)

GetRecordTask is the legacy version of GetRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetRecordTaskConflicts

func (client *ScheduledRecording2) GetRecordTaskConflicts(RecordTaskID string) (RecordTaskConflictIDList string, UpdateID uint32, err error)

GetRecordTaskConflicts is the legacy version of GetRecordTaskConflictsCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetRecordTaskConflictsCtx added in v1.0.2

func (client *ScheduledRecording2) GetRecordTaskConflictsCtx(
	ctx context.Context,
	RecordTaskID string,
) (RecordTaskConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording2) GetRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
	Filter string,
) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetSortCapabilities

func (client *ScheduledRecording2) GetSortCapabilities() (SortCaps string, SortLevelCap uint32, err error)

GetSortCapabilities is the legacy version of GetSortCapabilitiesCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetSortCapabilitiesCtx added in v1.0.2

func (client *ScheduledRecording2) GetSortCapabilitiesCtx(
	ctx context.Context,
) (SortCaps string, SortLevelCap uint32, err error)

func (*ScheduledRecording2) GetStateUpdateID

func (client *ScheduledRecording2) GetStateUpdateID() (Id uint32, err error)

GetStateUpdateID is the legacy version of GetStateUpdateIDCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) GetStateUpdateIDCtx added in v1.0.2

func (client *ScheduledRecording2) GetStateUpdateIDCtx(
	ctx context.Context,
) (Id uint32, err error)

func (*ScheduledRecording2) ResetRecordTask

func (client *ScheduledRecording2) ResetRecordTask(RecordTaskID string) (err error)

ResetRecordTask is the legacy version of ResetRecordTaskCtx, but uses context.Background() as the context.

func (*ScheduledRecording2) ResetRecordTaskCtx added in v1.0.2

func (client *ScheduledRecording2) ResetRecordTaskCtx(
	ctx context.Context,
	RecordTaskID string,
) (err error)

Jump to

Keyboard shortcuts

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