av

package
v0.0.0-...-d2e32f4 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2014 License: BSD-2-Clause Imports: 3 Imported by: 2

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 discover services on the local network.

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

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

Arguments:

* InstanceID:

Return values:

* Actions:

func (*AVTransport1) GetDeviceCapabilities

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

Arguments:

* InstanceID:

Return values:

* PlayMedia:

* RecMedia:

* RecQualityModes:

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)

Arguments:

* InstanceID:

Return values:

* NrTracks: allowed value range: minimum=0

* MediaDuration:

* CurrentURI:

* CurrentURIMetaData:

* NextURI:

* NextURIMetaData:

* PlayMedium:

* RecordMedium:

* WriteStatus:

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)

Arguments:

* InstanceID:

Return values:

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

* TrackDuration:

* TrackMetaData:

* TrackURI:

* RelTime:

* AbsTime:

* RelCount:

* AbsCount:

func (*AVTransport1) GetTransportInfo

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

Arguments:

* InstanceID:

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)

Arguments:

* InstanceID:

Return values:

* PlayMode: allowed values: NORMAL

* RecQualityMode:

func (*AVTransport1) Next

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

Arguments:

* InstanceID:

func (*AVTransport1) Pause

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

Arguments:

* InstanceID:

func (*AVTransport1) Play

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

Arguments:

* InstanceID:

* Speed: allowed values: 1

func (*AVTransport1) Previous

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

Arguments:

* InstanceID:

func (*AVTransport1) Record

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

Arguments:

* InstanceID:

func (*AVTransport1) Seek

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

Arguments:

* InstanceID:

* Unit: allowed values: TRACK_NR

* Target:

func (*AVTransport1) SetAVTransportURI

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

Arguments:

* InstanceID:

* CurrentURI:

* CurrentURIMetaData:

func (*AVTransport1) SetNextAVTransportURI

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

Arguments:

* InstanceID:

* NextURI:

* NextURIMetaData:

func (*AVTransport1) SetPlayMode

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

Arguments:

* InstanceID:

* NewPlayMode: allowed values: NORMAL

func (*AVTransport1) SetRecordQualityMode

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

Arguments:

* InstanceID:

* NewRecordQualityMode:

func (*AVTransport1) Stop

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

Arguments:

* InstanceID:

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

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

Arguments:

* InstanceID:

Return values:

* Actions:

func (*AVTransport2) GetDRMState

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

Arguments:

* InstanceID:

Return values:

* CurrentDRMState: allowed values: OK

func (*AVTransport2) GetDeviceCapabilities

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

Arguments:

* InstanceID:

Return values:

* PlayMedia:

* RecMedia:

* RecQualityModes:

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)

Arguments:

* InstanceID:

Return values:

* NrTracks: allowed value range: minimum=0

* MediaDuration:

* CurrentURI:

* CurrentURIMetaData:

* NextURI:

* NextURIMetaData:

* PlayMedium:

* RecordMedium:

* WriteStatus:

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)

Arguments:

* InstanceID:

Return values:

* CurrentType: allowed values: NO_MEDIA, TRACK_AWARE, TRACK_UNAWARE

* NrTracks: allowed value range: minimum=0

* MediaDuration:

* CurrentURI:

* CurrentURIMetaData:

* NextURI:

* NextURIMetaData:

* PlayMedium:

* RecordMedium:

* WriteStatus:

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)

Arguments:

* InstanceID:

Return values:

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

* TrackDuration:

* TrackMetaData:

* TrackURI:

* RelTime:

* AbsTime:

* RelCount:

* AbsCount:

func (*AVTransport2) GetStateVariables

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

Arguments:

* InstanceID:

* StateVariableList:

Return values:

* StateVariableValuePairs:

func (*AVTransport2) GetTransportInfo

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

Arguments:

* InstanceID:

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)

Arguments:

* InstanceID:

Return values:

* PlayMode: allowed values: NORMAL

* RecQualityMode:

func (*AVTransport2) Next

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

Arguments:

* InstanceID:

func (*AVTransport2) Pause

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

Arguments:

* InstanceID:

func (*AVTransport2) Play

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

Arguments:

* InstanceID:

* Speed: allowed values: 1

func (*AVTransport2) Previous

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

Arguments:

* InstanceID:

func (*AVTransport2) Record

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

Arguments:

* InstanceID:

func (*AVTransport2) Seek

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

Arguments:

* InstanceID:

* Unit: allowed values: TRACK_NR

* Target:

func (*AVTransport2) SetAVTransportURI

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

Arguments:

* InstanceID:

* CurrentURI:

* CurrentURIMetaData:

func (*AVTransport2) SetNextAVTransportURI

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

Arguments:

* InstanceID:

* NextURI:

* NextURIMetaData:

func (*AVTransport2) SetPlayMode

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

Arguments:

* InstanceID:

* NewPlayMode: allowed values: NORMAL

func (*AVTransport2) SetRecordQualityMode

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

Arguments:

* InstanceID:

* NewRecordQualityMode:

func (*AVTransport2) SetStateVariables

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

Arguments:

* InstanceID:

* AVTransportUDN:

* ServiceType:

* ServiceId:

* StateVariableValuePairs:

Return values:

* StateVariableList:

func (*AVTransport2) Stop

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

Arguments:

* InstanceID:

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

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

Arguments:

* ConnectionID:

func (*ConnectionManager1) GetCurrentConnectionIDs

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

Return values:

* ConnectionIDs:

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)

Arguments:

* ConnectionID:

Return values:

* RcsID:

* AVTransportID:

* ProtocolInfo:

* PeerConnectionManager:

* PeerConnectionID:

* 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)

Return values:

* Source:

* Sink:

func (*ConnectionManager1) PrepareForConnection

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

Arguments:

* RemoteProtocolInfo:

* PeerConnectionManager:

* PeerConnectionID:

* Direction: allowed values: Input, Output

Return values:

* ConnectionID:

* AVTransportID:

* RcsID:

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

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

Arguments:

* ConnectionID:

func (*ConnectionManager2) GetCurrentConnectionIDs

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

Return values:

* ConnectionIDs:

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)

Arguments:

* ConnectionID:

Return values:

* RcsID:

* AVTransportID:

* ProtocolInfo:

* PeerConnectionManager:

* PeerConnectionID:

* 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)

Return values:

* Source:

* Sink:

func (*ConnectionManager2) PrepareForConnection

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

Arguments:

* RemoteProtocolInfo:

* PeerConnectionManager:

* PeerConnectionID:

* Direction: allowed values: Input, Output

Return values:

* ConnectionID:

* AVTransportID:

* RcsID:

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 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 (*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)

Arguments:

* ObjectID:

* BrowseFlag: allowed values: BrowseMetadata, BrowseDirectChildren

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ContentDirectory1) CreateObject

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

Arguments:

* ContainerID:

* Elements:

Return values:

* ObjectID:

* Result:

func (*ContentDirectory1) CreateReference

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

Arguments:

* ContainerID:

* ObjectID:

Return values:

* NewID:

func (*ContentDirectory1) DeleteResource

func (client *ContentDirectory1) DeleteResource(ResourceURI string) (err error)

Arguments:

* ResourceURI:

func (*ContentDirectory1) DestroyObject

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

Arguments:

* ObjectID:

func (*ContentDirectory1) ExportResource

func (client *ContentDirectory1) ExportResource(SourceURI string, DestinationURI string) (TransferID uint32, err error)

Arguments:

* SourceURI:

* DestinationURI:

Return values:

* TransferID:

func (*ContentDirectory1) GetSearchCapabilities

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

Return values:

* SearchCaps:

func (*ContentDirectory1) GetSortCapabilities

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

Return values:

* SortCaps:

func (*ContentDirectory1) GetSystemUpdateID

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

Return values:

* Id:

func (*ContentDirectory1) GetTransferProgress

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

Arguments:

* TransferID:

Return values:

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

* TransferLength:

* TransferTotal:

func (*ContentDirectory1) ImportResource

func (client *ContentDirectory1) ImportResource(SourceURI string, DestinationURI string) (TransferID uint32, err error)

Arguments:

* SourceURI:

* DestinationURI:

Return values:

* TransferID:

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)

Arguments:

* ContainerID:

* SearchCriteria:

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ContentDirectory1) StopTransferResource

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

Arguments:

* TransferID:

func (*ContentDirectory1) UpdateObject

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

Arguments:

* ObjectID:

* CurrentTagValue:

* NewTagValue:

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 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 (*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)

Arguments:

* ObjectID:

* BrowseFlag: allowed values: BrowseMetadata, BrowseDirectChildren

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ContentDirectory2) CreateObject

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

Arguments:

* ContainerID:

* Elements:

Return values:

* ObjectID:

* Result:

func (*ContentDirectory2) CreateReference

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

Arguments:

* ContainerID:

* ObjectID:

Return values:

* NewID:

func (*ContentDirectory2) DeleteResource

func (client *ContentDirectory2) DeleteResource(ResourceURI string) (err error)

Arguments:

* ResourceURI:

func (*ContentDirectory2) DestroyObject

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

Arguments:

* ObjectID:

func (*ContentDirectory2) ExportResource

func (client *ContentDirectory2) ExportResource(SourceURI string, DestinationURI string) (TransferID uint32, err error)

Arguments:

* SourceURI:

* DestinationURI:

Return values:

* TransferID:

func (*ContentDirectory2) GetFeatureList

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

Return values:

* FeatureList:

func (*ContentDirectory2) GetSearchCapabilities

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

Return values:

* SearchCaps:

func (*ContentDirectory2) GetSortCapabilities

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

Return values:

* SortCaps:

func (*ContentDirectory2) GetSortExtensionCapabilities

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

Return values:

* SortExtensionCaps:

func (*ContentDirectory2) GetSystemUpdateID

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

Return values:

* Id:

func (*ContentDirectory2) GetTransferProgress

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

Arguments:

* TransferID:

Return values:

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

* TransferLength:

* TransferTotal:

func (*ContentDirectory2) ImportResource

func (client *ContentDirectory2) ImportResource(SourceURI string, DestinationURI string) (TransferID uint32, err error)

Arguments:

* SourceURI:

* DestinationURI:

Return values:

* TransferID:

func (*ContentDirectory2) MoveObject

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

Arguments:

* ObjectID:

* NewParentID:

Return values:

* NewObjectID:

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)

Arguments:

* ContainerID:

* SearchCriteria:

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ContentDirectory2) StopTransferResource

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

Arguments:

* TransferID:

func (*ContentDirectory2) UpdateObject

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

Arguments:

* ObjectID:

* CurrentTagValue:

* NewTagValue:

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 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 (*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)

Arguments:

* ObjectID:

* BrowseFlag: allowed values: BrowseMetadata, BrowseDirectChildren

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ContentDirectory3) CreateObject

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

Arguments:

* ContainerID:

* Elements:

Return values:

* ObjectID:

* Result:

func (*ContentDirectory3) CreateReference

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

Arguments:

* ContainerID:

* ObjectID:

Return values:

* NewID:

func (*ContentDirectory3) DeleteResource

func (client *ContentDirectory3) DeleteResource(ResourceURI string) (err error)

Arguments:

* ResourceURI:

func (*ContentDirectory3) DestroyObject

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

Arguments:

* ObjectID:

func (*ContentDirectory3) ExportResource

func (client *ContentDirectory3) ExportResource(SourceURI string, DestinationURI string) (TransferID uint32, err error)

Arguments:

* SourceURI:

* DestinationURI:

Return values:

* TransferID:

func (*ContentDirectory3) FreeFormQuery

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

Arguments:

* ContainerID:

* CDSView:

* QueryRequest:

Return values:

* QueryResult:

* UpdateID:

func (*ContentDirectory3) GetFeatureList

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

Return values:

* FeatureList:

func (*ContentDirectory3) GetFreeFormQueryCapabilities

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

Return values:

* FFQCapabilities:

func (*ContentDirectory3) GetSearchCapabilities

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

Return values:

* SearchCaps:

func (*ContentDirectory3) GetServiceResetToken

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

Return values:

* ResetToken:

func (*ContentDirectory3) GetSortCapabilities

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

Return values:

* SortCaps:

func (*ContentDirectory3) GetSortExtensionCapabilities

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

Return values:

* SortExtensionCaps:

func (*ContentDirectory3) GetSystemUpdateID

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

Return values:

* Id:

func (*ContentDirectory3) GetTransferProgress

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

Arguments:

* TransferID:

Return values:

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

* TransferLength:

* TransferTotal:

func (*ContentDirectory3) ImportResource

func (client *ContentDirectory3) ImportResource(SourceURI string, DestinationURI string) (TransferID uint32, err error)

Arguments:

* SourceURI:

* DestinationURI:

Return values:

* TransferID:

func (*ContentDirectory3) MoveObject

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

Arguments:

* ObjectID:

* NewParentID:

Return values:

* NewObjectID:

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)

Arguments:

* ContainerID:

* SearchCriteria:

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ContentDirectory3) StopTransferResource

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

Arguments:

* TransferID:

func (*ContentDirectory3) UpdateObject

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

Arguments:

* ObjectID:

* CurrentTagValue:

* NewTagValue:

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

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetBlueVideoGain

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetBrightness

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetColorTemperature

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetContrast

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetGreenVideoBlackLevel

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetGreenVideoGain

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetHorizontalKeystone

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

Arguments:

* InstanceID:

Return values:

* CurrentHorizontalKeystone: allowed value range: step=1

func (*RenderingControl1) GetLoudness

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* CurrentLoudness:

func (*RenderingControl1) GetMute

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* CurrentMute:

func (*RenderingControl1) GetRedVideoBlackLevel

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetRedVideoGain

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

Arguments:

* InstanceID:

Return values:

* CurrentRedVideoGain:

func (*RenderingControl1) GetSharpness

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl1) GetVerticalKeystone

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

Arguments:

* InstanceID:

Return values:

* CurrentVerticalKeystone: allowed value range: step=1

func (*RenderingControl1) GetVolume

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

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)

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* CurrentVolume:

func (*RenderingControl1) GetVolumeDBRange

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* MinValue:

* MaxValue:

func (*RenderingControl1) ListPresets

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

Arguments:

* InstanceID:

Return values:

* CurrentPresetNameList:

func (*RenderingControl1) SelectPreset

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

Arguments:

* InstanceID:

* PresetName: allowed values: FactoryDefaults

func (*RenderingControl1) SetBlueVideoBlackLevel

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetBlueVideoGain

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetBrightness

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetColorTemperature

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetContrast

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetGreenVideoBlackLevel

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetGreenVideoGain

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetHorizontalKeystone

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

Arguments:

* InstanceID:

* DesiredHorizontalKeystone: allowed value range: step=1

func (*RenderingControl1) SetLoudness

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

* DesiredLoudness:

func (*RenderingControl1) SetMute

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

* DesiredMute:

func (*RenderingControl1) SetRedVideoBlackLevel

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetRedVideoGain

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

Arguments:

* InstanceID:

* DesiredRedVideoGain:

func (*RenderingControl1) SetSharpness

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

Arguments:

* InstanceID:

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

func (*RenderingControl1) SetVerticalKeystone

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

Arguments:

* InstanceID:

* DesiredVerticalKeystone: allowed value range: step=1

func (*RenderingControl1) SetVolume

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

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

func (*RenderingControl1) SetVolumeDB

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

* DesiredVolume:

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

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetBlueVideoGain

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetBrightness

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetColorTemperature

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetContrast

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetGreenVideoBlackLevel

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetGreenVideoGain

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetHorizontalKeystone

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

Arguments:

* InstanceID:

Return values:

* CurrentHorizontalKeystone: allowed value range: step=1

func (*RenderingControl2) GetLoudness

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* CurrentLoudness:

func (*RenderingControl2) GetMute

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* CurrentMute:

func (*RenderingControl2) GetRedVideoBlackLevel

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetRedVideoGain

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

Arguments:

* InstanceID:

Return values:

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

func (*RenderingControl2) GetSharpness

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

Arguments:

* InstanceID:

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)

Arguments:

* InstanceID:

* StateVariableList:

Return values:

* StateVariableValuePairs:

func (*RenderingControl2) GetVerticalKeystone

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

Arguments:

* InstanceID:

Return values:

* CurrentVerticalKeystone: allowed value range: step=1

func (*RenderingControl2) GetVolume

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

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)

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* CurrentVolume:

func (*RenderingControl2) GetVolumeDBRange

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

Return values:

* MinValue:

* MaxValue:

func (*RenderingControl2) ListPresets

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

Arguments:

* InstanceID:

Return values:

* CurrentPresetNameList:

func (*RenderingControl2) SelectPreset

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

Arguments:

* InstanceID:

* PresetName: allowed values: FactoryDefaults

func (*RenderingControl2) SetBlueVideoBlackLevel

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetBlueVideoGain

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetBrightness

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetColorTemperature

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetContrast

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetGreenVideoBlackLevel

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetGreenVideoGain

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetHorizontalKeystone

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

Arguments:

* InstanceID:

* DesiredHorizontalKeystone: allowed value range: step=1

func (*RenderingControl2) SetLoudness

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

* DesiredLoudness:

func (*RenderingControl2) SetMute

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

* DesiredMute:

func (*RenderingControl2) SetRedVideoBlackLevel

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetRedVideoGain

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetSharpness

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

Arguments:

* InstanceID:

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

func (*RenderingControl2) SetStateVariables

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

Arguments:

* InstanceID:

* RenderingControlUDN:

* ServiceType:

* ServiceId:

* StateVariableValuePairs:

Return values:

* StateVariableList:

func (*RenderingControl2) SetVerticalKeystone

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

Arguments:

* InstanceID:

* DesiredVerticalKeystone: allowed value range: step=1

func (*RenderingControl2) SetVolume

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

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

func (*RenderingControl2) SetVolumeDB

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

Arguments:

* InstanceID:

* Channel: allowed values: Master

* DesiredVolume:

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

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

Arguments:

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

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)

Arguments:

* RecordScheduleID:

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ScheduledRecording1) CreateRecordSchedule

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

Arguments:

* Elements:

Return values:

* RecordScheduleID:

* Result:

* UpdateID:

func (*ScheduledRecording1) DeleteRecordSchedule

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

Arguments:

* RecordScheduleID:

func (*ScheduledRecording1) DeleteRecordTask

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

Arguments:

* RecordTaskID:

func (*ScheduledRecording1) DisableRecordSchedule

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

Arguments:

* RecordScheduleID:

func (*ScheduledRecording1) DisableRecordTask

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

Arguments:

* RecordTaskID:

func (*ScheduledRecording1) EnableRecordSchedule

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

Arguments:

* RecordScheduleID:

func (*ScheduledRecording1) EnableRecordTask

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

Arguments:

* RecordTaskID:

func (*ScheduledRecording1) GetAllowedValues

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

Arguments:

* DataTypeID: allowed values: A_ARG_TYPE_RecordSchedule, A_ARG_TYPE_RecordTask, A_ARG_TYPE_RecordScheduleParts

* Filter:

Return values:

* PropertyInfo:

func (*ScheduledRecording1) GetPropertyList

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

Arguments:

* DataTypeID: allowed values: A_ARG_TYPE_RecordSchedule, A_ARG_TYPE_RecordTask, A_ARG_TYPE_RecordScheduleParts

Return values:

* PropertyList:

func (*ScheduledRecording1) GetRecordSchedule

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

Arguments:

* RecordScheduleID:

* Filter:

Return values:

* Result:

* UpdateID:

func (*ScheduledRecording1) GetRecordScheduleConflicts

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

Arguments:

* RecordScheduleID:

Return values:

* RecordScheduleConflictIDList:

* UpdateID:

func (*ScheduledRecording1) GetRecordTask

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

Arguments:

* RecordTaskID:

* Filter:

Return values:

* Result:

* UpdateID:

func (*ScheduledRecording1) GetRecordTaskConflicts

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

Arguments:

* RecordTaskID:

Return values:

* RecordTaskConflictIDList:

* UpdateID:

func (*ScheduledRecording1) GetSortCapabilities

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

Return values:

* SortCaps:

* SortLevelCap:

func (*ScheduledRecording1) GetStateUpdateID

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

Return values:

* Id:

func (*ScheduledRecording1) ResetRecordTask

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

Arguments:

* RecordTaskID:

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

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

Arguments:

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

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)

Arguments:

* RecordScheduleID:

* Filter:

* StartingIndex:

* RequestedCount:

* SortCriteria:

Return values:

* Result:

* NumberReturned:

* TotalMatches:

* UpdateID:

func (*ScheduledRecording2) CreateRecordSchedule

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

Arguments:

* Elements:

Return values:

* RecordScheduleID:

* Result:

* UpdateID:

func (*ScheduledRecording2) DeleteRecordSchedule

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

Arguments:

* RecordScheduleID:

func (*ScheduledRecording2) DeleteRecordTask

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

Arguments:

* RecordTaskID:

func (*ScheduledRecording2) DisableRecordSchedule

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

Arguments:

* RecordScheduleID:

func (*ScheduledRecording2) DisableRecordTask

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

Arguments:

* RecordTaskID:

func (*ScheduledRecording2) EnableRecordSchedule

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

Arguments:

* RecordScheduleID:

func (*ScheduledRecording2) EnableRecordTask

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

Arguments:

* RecordTaskID:

func (*ScheduledRecording2) GetAllowedValues

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

Arguments:

* DataTypeID: allowed values: A_ARG_TYPE_RecordSchedule, A_ARG_TYPE_RecordTask, A_ARG_TYPE_RecordScheduleParts

* Filter:

Return values:

* PropertyInfo:

func (*ScheduledRecording2) GetPropertyList

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

Arguments:

* DataTypeID: allowed values: A_ARG_TYPE_RecordSchedule, A_ARG_TYPE_RecordTask, A_ARG_TYPE_RecordScheduleParts

Return values:

* PropertyList:

func (*ScheduledRecording2) GetRecordSchedule

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

Arguments:

* RecordScheduleID:

* Filter:

Return values:

* Result:

* UpdateID:

func (*ScheduledRecording2) GetRecordScheduleConflicts

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

Arguments:

* RecordScheduleID:

Return values:

* RecordScheduleConflictIDList:

* UpdateID:

func (*ScheduledRecording2) GetRecordTask

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

Arguments:

* RecordTaskID:

* Filter:

Return values:

* Result:

* UpdateID:

func (*ScheduledRecording2) GetRecordTaskConflicts

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

Arguments:

* RecordTaskID:

Return values:

* RecordTaskConflictIDList:

* UpdateID:

func (*ScheduledRecording2) GetSortCapabilities

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

Return values:

* SortCaps:

* SortLevelCap:

func (*ScheduledRecording2) GetStateUpdateID

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

Return values:

* Id:

func (*ScheduledRecording2) ResetRecordTask

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

Arguments:

* RecordTaskID:

Jump to

Keyboard shortcuts

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