avtransport

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMultipleURIsToQueueArgs

type AddMultipleURIsToQueueArgs struct {
	Xmlns                           string `xml:"xmlns:u,attr"`
	InstanceID                      uint32 `xml:"InstanceID"`
	UpdateID                        uint32 `xml:"UpdateID"`
	NumberOfURIs                    uint32 `xml:"NumberOfURIs"`
	EnqueuedURIs                    string `xml:"EnqueuedURIs"`
	EnqueuedURIsMetaData            string `xml:"EnqueuedURIsMetaData"`
	ContainerURI                    string `xml:"ContainerURI"`
	ContainerMetaData               string `xml:"ContainerMetaData"`
	DesiredFirstTrackNumberEnqueued uint32 `xml:"DesiredFirstTrackNumberEnqueued"`
	EnqueueAsNext                   bool   `xml:"EnqueueAsNext"`
}

type AddMultipleURIsToQueueResponse

type AddMultipleURIsToQueueResponse struct {
	FirstTrackNumberEnqueued uint32 `xml:"FirstTrackNumberEnqueued"`
	NumTracksAdded           uint32 `xml:"NumTracksAdded"`
	NewQueueLength           uint32 `xml:"NewQueueLength"`
	NewUpdateID              uint32 `xml:"NewUpdateID"`
}

type AddURIToQueueArgs

type AddURIToQueueArgs struct {
	Xmlns                           string `xml:"xmlns:u,attr"`
	InstanceID                      uint32 `xml:"InstanceID"`
	EnqueuedURI                     string `xml:"EnqueuedURI"`
	EnqueuedURIMetaData             string `xml:"EnqueuedURIMetaData"`
	DesiredFirstTrackNumberEnqueued uint32 `xml:"DesiredFirstTrackNumberEnqueued"`
	EnqueueAsNext                   bool   `xml:"EnqueueAsNext"`
}

type AddURIToQueueResponse

type AddURIToQueueResponse struct {
	FirstTrackNumberEnqueued uint32 `xml:"FirstTrackNumberEnqueued"`
	NumTracksAdded           uint32 `xml:"NumTracksAdded"`
	NewQueueLength           uint32 `xml:"NewQueueLength"`
}

type AddURIToSavedQueueArgs

type AddURIToSavedQueueArgs struct {
	Xmlns               string `xml:"xmlns:u,attr"`
	InstanceID          uint32 `xml:"InstanceID"`
	ObjectID            string `xml:"ObjectID"`
	UpdateID            uint32 `xml:"UpdateID"`
	EnqueuedURI         string `xml:"EnqueuedURI"`
	EnqueuedURIMetaData string `xml:"EnqueuedURIMetaData"`
	AddAtIndex          uint32 `xml:"AddAtIndex"`
}

type AddURIToSavedQueueResponse

type AddURIToSavedQueueResponse struct {
	NumTracksAdded uint32 `xml:"NumTracksAdded"`
	NewQueueLength uint32 `xml:"NewQueueLength"`
	NewUpdateID    uint32 `xml:"NewUpdateID"`
}

type BackupQueueArgs

type BackupQueueArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type BackupQueueResponse

type BackupQueueResponse struct {
}

type BecomeCoordinatorOfStandaloneGroupArgs

type BecomeCoordinatorOfStandaloneGroupArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type BecomeCoordinatorOfStandaloneGroupResponse

type BecomeCoordinatorOfStandaloneGroupResponse struct {
	DelegatedGroupCoordinatorID string `xml:"DelegatedGroupCoordinatorID"`
	NewGroupID                  string `xml:"NewGroupID"`
}

type BecomeGroupCoordinatorAndSourceArgs

type BecomeGroupCoordinatorAndSourceArgs struct {
	Xmlns                 string `xml:"xmlns:u,attr"`
	InstanceID            uint32 `xml:"InstanceID"`
	CurrentCoordinator    string `xml:"CurrentCoordinator"`
	CurrentGroupID        string `xml:"CurrentGroupID"`
	OtherMembers          string `xml:"OtherMembers"`
	CurrentURI            string `xml:"CurrentURI"`
	CurrentURIMetaData    string `xml:"CurrentURIMetaData"`
	SleepTimerState       string `xml:"SleepTimerState"`
	AlarmState            string `xml:"AlarmState"`
	StreamRestartState    string `xml:"StreamRestartState"`
	CurrentAVTTrackList   string `xml:"CurrentAVTTrackList"`
	CurrentQueueTrackList string `xml:"CurrentQueueTrackList"`
	CurrentSourceState    string `xml:"CurrentSourceState"`
	ResumePlayback        bool   `xml:"ResumePlayback"`
}

type BecomeGroupCoordinatorAndSourceResponse

type BecomeGroupCoordinatorAndSourceResponse struct {
}

type BecomeGroupCoordinatorArgs

type BecomeGroupCoordinatorArgs struct {
	Xmlns                 string `xml:"xmlns:u,attr"`
	InstanceID            uint32 `xml:"InstanceID"`
	CurrentCoordinator    string `xml:"CurrentCoordinator"`
	CurrentGroupID        string `xml:"CurrentGroupID"`
	OtherMembers          string `xml:"OtherMembers"`
	TransportSettings     string `xml:"TransportSettings"`
	CurrentURI            string `xml:"CurrentURI"`
	CurrentURIMetaData    string `xml:"CurrentURIMetaData"`
	SleepTimerState       string `xml:"SleepTimerState"`
	AlarmState            string `xml:"AlarmState"`
	StreamRestartState    string `xml:"StreamRestartState"`
	CurrentQueueTrackList string `xml:"CurrentQueueTrackList"`
	CurrentVLIState       string `xml:"CurrentVLIState"`
}

type BecomeGroupCoordinatorResponse

type BecomeGroupCoordinatorResponse struct {
}

type Body

type Body struct {
	XMLName                            xml.Name                                `xml:"s:Body"`
	SetAVTransportURI                  *SetAVTransportURIArgs                  `xml:"u:SetAVTransportURI,omitempty"`
	SetNextAVTransportURI              *SetNextAVTransportURIArgs              `xml:"u:SetNextAVTransportURI,omitempty"`
	AddURIToQueue                      *AddURIToQueueArgs                      `xml:"u:AddURIToQueue,omitempty"`
	AddMultipleURIsToQueue             *AddMultipleURIsToQueueArgs             `xml:"u:AddMultipleURIsToQueue,omitempty"`
	ReorderTracksInQueue               *ReorderTracksInQueueArgs               `xml:"u:ReorderTracksInQueue,omitempty"`
	RemoveTrackFromQueue               *RemoveTrackFromQueueArgs               `xml:"u:RemoveTrackFromQueue,omitempty"`
	RemoveTrackRangeFromQueue          *RemoveTrackRangeFromQueueArgs          `xml:"u:RemoveTrackRangeFromQueue,omitempty"`
	RemoveAllTracksFromQueue           *RemoveAllTracksFromQueueArgs           `xml:"u:RemoveAllTracksFromQueue,omitempty"`
	SaveQueue                          *SaveQueueArgs                          `xml:"u:SaveQueue,omitempty"`
	BackupQueue                        *BackupQueueArgs                        `xml:"u:BackupQueue,omitempty"`
	CreateSavedQueue                   *CreateSavedQueueArgs                   `xml:"u:CreateSavedQueue,omitempty"`
	AddURIToSavedQueue                 *AddURIToSavedQueueArgs                 `xml:"u:AddURIToSavedQueue,omitempty"`
	ReorderTracksInSavedQueue          *ReorderTracksInSavedQueueArgs          `xml:"u:ReorderTracksInSavedQueue,omitempty"`
	GetMediaInfo                       *GetMediaInfoArgs                       `xml:"u:GetMediaInfo,omitempty"`
	GetTransportInfo                   *GetTransportInfoArgs                   `xml:"u:GetTransportInfo,omitempty"`
	GetPositionInfo                    *GetPositionInfoArgs                    `xml:"u:GetPositionInfo,omitempty"`
	GetDeviceCapabilities              *GetDeviceCapabilitiesArgs              `xml:"u:GetDeviceCapabilities,omitempty"`
	GetTransportSettings               *GetTransportSettingsArgs               `xml:"u:GetTransportSettings,omitempty"`
	GetCrossfadeMode                   *GetCrossfadeModeArgs                   `xml:"u:GetCrossfadeMode,omitempty"`
	Stop                               *StopArgs                               `xml:"u:Stop,omitempty"`
	Play                               *PlayArgs                               `xml:"u:Play,omitempty"`
	Pause                              *PauseArgs                              `xml:"u:Pause,omitempty"`
	Seek                               *SeekArgs                               `xml:"u:Seek,omitempty"`
	Next                               *NextArgs                               `xml:"u:Next,omitempty"`
	Previous                           *PreviousArgs                           `xml:"u:Previous,omitempty"`
	SetPlayMode                        *SetPlayModeArgs                        `xml:"u:SetPlayMode,omitempty"`
	SetCrossfadeMode                   *SetCrossfadeModeArgs                   `xml:"u:SetCrossfadeMode,omitempty"`
	NotifyDeletedURI                   *NotifyDeletedURIArgs                   `xml:"u:NotifyDeletedURI,omitempty"`
	GetCurrentTransportActions         *GetCurrentTransportActionsArgs         `xml:"u:GetCurrentTransportActions,omitempty"`
	BecomeCoordinatorOfStandaloneGroup *BecomeCoordinatorOfStandaloneGroupArgs `xml:"u:BecomeCoordinatorOfStandaloneGroup,omitempty"`
	DelegateGroupCoordinationTo        *DelegateGroupCoordinationToArgs        `xml:"u:DelegateGroupCoordinationTo,omitempty"`
	BecomeGroupCoordinator             *BecomeGroupCoordinatorArgs             `xml:"u:BecomeGroupCoordinator,omitempty"`
	BecomeGroupCoordinatorAndSource    *BecomeGroupCoordinatorAndSourceArgs    `xml:"u:BecomeGroupCoordinatorAndSource,omitempty"`
	ChangeCoordinator                  *ChangeCoordinatorArgs                  `xml:"u:ChangeCoordinator,omitempty"`
	ChangeTransportSettings            *ChangeTransportSettingsArgs            `xml:"u:ChangeTransportSettings,omitempty"`
	ConfigureSleepTimer                *ConfigureSleepTimerArgs                `xml:"u:ConfigureSleepTimer,omitempty"`
	GetRemainingSleepTimerDuration     *GetRemainingSleepTimerDurationArgs     `xml:"u:GetRemainingSleepTimerDuration,omitempty"`
	RunAlarm                           *RunAlarmArgs                           `xml:"u:RunAlarm,omitempty"`
	StartAutoplay                      *StartAutoplayArgs                      `xml:"u:StartAutoplay,omitempty"`
	GetRunningAlarmProperties          *GetRunningAlarmPropertiesArgs          `xml:"u:GetRunningAlarmProperties,omitempty"`
	SnoozeAlarm                        *SnoozeAlarmArgs                        `xml:"u:SnoozeAlarm,omitempty"`
	EndDirectControlSession            *EndDirectControlSessionArgs            `xml:"u:EndDirectControlSession,omitempty"`
}

type BodyResponse

type BodyResponse struct {
	XMLName                            xml.Name                                    `xml:"Body"`
	SetAVTransportURI                  *SetAVTransportURIResponse                  `xml:"SetAVTransportURIResponse,omitempty"`
	SetNextAVTransportURI              *SetNextAVTransportURIResponse              `xml:"SetNextAVTransportURIResponse,omitempty"`
	AddURIToQueue                      *AddURIToQueueResponse                      `xml:"AddURIToQueueResponse,omitempty"`
	AddMultipleURIsToQueue             *AddMultipleURIsToQueueResponse             `xml:"AddMultipleURIsToQueueResponse,omitempty"`
	ReorderTracksInQueue               *ReorderTracksInQueueResponse               `xml:"ReorderTracksInQueueResponse,omitempty"`
	RemoveTrackFromQueue               *RemoveTrackFromQueueResponse               `xml:"RemoveTrackFromQueueResponse,omitempty"`
	RemoveTrackRangeFromQueue          *RemoveTrackRangeFromQueueResponse          `xml:"RemoveTrackRangeFromQueueResponse,omitempty"`
	RemoveAllTracksFromQueue           *RemoveAllTracksFromQueueResponse           `xml:"RemoveAllTracksFromQueueResponse,omitempty"`
	SaveQueue                          *SaveQueueResponse                          `xml:"SaveQueueResponse,omitempty"`
	BackupQueue                        *BackupQueueResponse                        `xml:"BackupQueueResponse,omitempty"`
	CreateSavedQueue                   *CreateSavedQueueResponse                   `xml:"CreateSavedQueueResponse,omitempty"`
	AddURIToSavedQueue                 *AddURIToSavedQueueResponse                 `xml:"AddURIToSavedQueueResponse,omitempty"`
	ReorderTracksInSavedQueue          *ReorderTracksInSavedQueueResponse          `xml:"ReorderTracksInSavedQueueResponse,omitempty"`
	GetMediaInfo                       *GetMediaInfoResponse                       `xml:"GetMediaInfoResponse,omitempty"`
	GetTransportInfo                   *GetTransportInfoResponse                   `xml:"GetTransportInfoResponse,omitempty"`
	GetPositionInfo                    *GetPositionInfoResponse                    `xml:"GetPositionInfoResponse,omitempty"`
	GetDeviceCapabilities              *GetDeviceCapabilitiesResponse              `xml:"GetDeviceCapabilitiesResponse,omitempty"`
	GetTransportSettings               *GetTransportSettingsResponse               `xml:"GetTransportSettingsResponse,omitempty"`
	GetCrossfadeMode                   *GetCrossfadeModeResponse                   `xml:"GetCrossfadeModeResponse,omitempty"`
	Stop                               *StopResponse                               `xml:"StopResponse,omitempty"`
	Play                               *PlayResponse                               `xml:"PlayResponse,omitempty"`
	Pause                              *PauseResponse                              `xml:"PauseResponse,omitempty"`
	Seek                               *SeekResponse                               `xml:"SeekResponse,omitempty"`
	Next                               *NextResponse                               `xml:"NextResponse,omitempty"`
	Previous                           *PreviousResponse                           `xml:"PreviousResponse,omitempty"`
	SetPlayMode                        *SetPlayModeResponse                        `xml:"SetPlayModeResponse,omitempty"`
	SetCrossfadeMode                   *SetCrossfadeModeResponse                   `xml:"SetCrossfadeModeResponse,omitempty"`
	NotifyDeletedURI                   *NotifyDeletedURIResponse                   `xml:"NotifyDeletedURIResponse,omitempty"`
	GetCurrentTransportActions         *GetCurrentTransportActionsResponse         `xml:"GetCurrentTransportActionsResponse,omitempty"`
	BecomeCoordinatorOfStandaloneGroup *BecomeCoordinatorOfStandaloneGroupResponse `xml:"BecomeCoordinatorOfStandaloneGroupResponse,omitempty"`
	DelegateGroupCoordinationTo        *DelegateGroupCoordinationToResponse        `xml:"DelegateGroupCoordinationToResponse,omitempty"`
	BecomeGroupCoordinator             *BecomeGroupCoordinatorResponse             `xml:"BecomeGroupCoordinatorResponse,omitempty"`
	BecomeGroupCoordinatorAndSource    *BecomeGroupCoordinatorAndSourceResponse    `xml:"BecomeGroupCoordinatorAndSourceResponse,omitempty"`
	ChangeCoordinator                  *ChangeCoordinatorResponse                  `xml:"ChangeCoordinatorResponse,omitempty"`
	ChangeTransportSettings            *ChangeTransportSettingsResponse            `xml:"ChangeTransportSettingsResponse,omitempty"`
	ConfigureSleepTimer                *ConfigureSleepTimerResponse                `xml:"ConfigureSleepTimerResponse,omitempty"`
	GetRemainingSleepTimerDuration     *GetRemainingSleepTimerDurationResponse     `xml:"GetRemainingSleepTimerDurationResponse,omitempty"`
	RunAlarm                           *RunAlarmResponse                           `xml:"RunAlarmResponse,omitempty"`
	StartAutoplay                      *StartAutoplayResponse                      `xml:"StartAutoplayResponse,omitempty"`
	GetRunningAlarmProperties          *GetRunningAlarmPropertiesResponse          `xml:"GetRunningAlarmPropertiesResponse,omitempty"`
	SnoozeAlarm                        *SnoozeAlarmResponse                        `xml:"SnoozeAlarmResponse,omitempty"`
	EndDirectControlSession            *EndDirectControlSessionResponse            `xml:"EndDirectControlSessionResponse,omitempty"`
}

type ChangeCoordinatorArgs

type ChangeCoordinatorArgs struct {
	Xmlns                 string `xml:"xmlns:u,attr"`
	InstanceID            uint32 `xml:"InstanceID"`
	CurrentCoordinator    string `xml:"CurrentCoordinator"`
	NewCoordinator        string `xml:"NewCoordinator"`
	NewTransportSettings  string `xml:"NewTransportSettings"`
	CurrentAVTransportURI string `xml:"CurrentAVTransportURI"`
}

type ChangeCoordinatorResponse

type ChangeCoordinatorResponse struct {
}

type ChangeTransportSettingsArgs

type ChangeTransportSettingsArgs struct {
	Xmlns                 string `xml:"xmlns:u,attr"`
	InstanceID            uint32 `xml:"InstanceID"`
	NewTransportSettings  string `xml:"NewTransportSettings"`
	CurrentAVTransportURI string `xml:"CurrentAVTransportURI"`
}

type ChangeTransportSettingsResponse

type ChangeTransportSettingsResponse struct {
}

type ConfigureSleepTimerArgs

type ConfigureSleepTimerArgs struct {
	Xmlns                 string `xml:"xmlns:u,attr"`
	InstanceID            uint32 `xml:"InstanceID"`
	NewSleepTimerDuration string `xml:"NewSleepTimerDuration"`
}

type ConfigureSleepTimerResponse

type ConfigureSleepTimerResponse struct {
}

type CreateSavedQueueArgs

type CreateSavedQueueArgs struct {
	Xmlns               string `xml:"xmlns:u,attr"`
	InstanceID          uint32 `xml:"InstanceID"`
	Title               string `xml:"Title"`
	EnqueuedURI         string `xml:"EnqueuedURI"`
	EnqueuedURIMetaData string `xml:"EnqueuedURIMetaData"`
}

type CreateSavedQueueResponse

type CreateSavedQueueResponse struct {
	NumTracksAdded   uint32 `xml:"NumTracksAdded"`
	NewQueueLength   uint32 `xml:"NewQueueLength"`
	AssignedObjectID string `xml:"AssignedObjectID"`
	NewUpdateID      uint32 `xml:"NewUpdateID"`
}

type DelegateGroupCoordinationToArgs

type DelegateGroupCoordinationToArgs struct {
	Xmlns          string `xml:"xmlns:u,attr"`
	InstanceID     uint32 `xml:"InstanceID"`
	NewCoordinator string `xml:"NewCoordinator"`
	RejoinGroup    bool   `xml:"RejoinGroup"`
}

type DelegateGroupCoordinationToResponse

type DelegateGroupCoordinationToResponse struct {
}

type EndDirectControlSessionArgs

type EndDirectControlSessionArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type EndDirectControlSessionResponse

type EndDirectControlSessionResponse struct {
}

type Envelope

type Envelope struct {
	XMLName       xml.Name `xml:"s:Envelope"`
	Xmlns         string   `xml:"xmlns:s,attr"`
	EncodingStyle string   `xml:"s:encodingStyle,attr"`
	Body          Body     `xml:"s:Body"`
}

type EnvelopeResponse

type EnvelopeResponse struct {
	XMLName       xml.Name     `xml:"Envelope"`
	Xmlns         string       `xml:"xmlns:s,attr"`
	EncodingStyle string       `xml:"encodingStyle,attr"`
	Body          BodyResponse `xml:"Body"`
}

type GetCrossfadeModeArgs

type GetCrossfadeModeArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetCrossfadeModeResponse

type GetCrossfadeModeResponse struct {
	CrossfadeMode bool `xml:"CrossfadeMode"`
}

type GetCurrentTransportActionsArgs

type GetCurrentTransportActionsArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetCurrentTransportActionsResponse

type GetCurrentTransportActionsResponse struct {
	Actions string `xml:"Actions"`
}

type GetDeviceCapabilitiesArgs

type GetDeviceCapabilitiesArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetDeviceCapabilitiesResponse

type GetDeviceCapabilitiesResponse struct {
	PlayMedia       string `xml:"PlayMedia"`
	RecMedia        string `xml:"RecMedia"`
	RecQualityModes string `xml:"RecQualityModes"`
}

type GetMediaInfoArgs

type GetMediaInfoArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetMediaInfoResponse

type GetMediaInfoResponse struct {
	NrTracks           uint32 `xml:"NrTracks"`
	MediaDuration      string `xml:"MediaDuration"`
	CurrentURI         string `xml:"CurrentURI"`
	CurrentURIMetaData string `xml:"CurrentURIMetaData"`
	NextURI            string `xml:"NextURI"`
	NextURIMetaData    string `xml:"NextURIMetaData"`
	PlayMedium         string `xml:"PlayMedium"`
	RecordMedium       string `xml:"RecordMedium"`
	WriteStatus        string `xml:"WriteStatus"`
}

type GetPositionInfoArgs

type GetPositionInfoArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetPositionInfoResponse

type GetPositionInfoResponse struct {
	Track         uint32 `xml:"Track"`
	TrackDuration string `xml:"TrackDuration"`
	TrackMetaData string `xml:"TrackMetaData"`
	TrackURI      string `xml:"TrackURI"`
	RelTime       string `xml:"RelTime"`
	AbsTime       string `xml:"AbsTime"`
	RelCount      int32  `xml:"RelCount"`
	AbsCount      int32  `xml:"AbsCount"`
}

type GetRemainingSleepTimerDurationArgs

type GetRemainingSleepTimerDurationArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetRemainingSleepTimerDurationResponse

type GetRemainingSleepTimerDurationResponse struct {
	RemainingSleepTimerDuration string `xml:"RemainingSleepTimerDuration"`
	CurrentSleepTimerGeneration uint32 `xml:"CurrentSleepTimerGeneration"`
}

type GetRunningAlarmPropertiesArgs

type GetRunningAlarmPropertiesArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetRunningAlarmPropertiesResponse

type GetRunningAlarmPropertiesResponse struct {
	AlarmID         uint32 `xml:"AlarmID"`
	GroupID         string `xml:"GroupID"`
	LoggedStartTime string `xml:"LoggedStartTime"`
}

type GetTransportInfoArgs

type GetTransportInfoArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetTransportInfoResponse

type GetTransportInfoResponse struct {
	CurrentTransportState  string `xml:"CurrentTransportState"`
	CurrentTransportStatus string `xml:"CurrentTransportStatus"`
	CurrentSpeed           string `xml:"CurrentSpeed"`
}

type GetTransportSettingsArgs

type GetTransportSettingsArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetTransportSettingsResponse

type GetTransportSettingsResponse struct {
	PlayMode       string `xml:"PlayMode"`
	RecQualityMode string `xml:"RecQualityMode"`
}

type NextArgs

type NextArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type NextResponse

type NextResponse struct {
}

type NotifyDeletedURIArgs

type NotifyDeletedURIArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	DeletedURI string `xml:"DeletedURI"`
}

type NotifyDeletedURIResponse

type NotifyDeletedURIResponse struct {
}

type PauseArgs

type PauseArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type PauseResponse

type PauseResponse struct {
}

type PlayArgs

type PlayArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: 1
	Speed int `xml:"Speed"`
}

type PlayResponse

type PlayResponse struct {
}

type PreviousArgs

type PreviousArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type PreviousResponse

type PreviousResponse struct {
}

type RemoveAllTracksFromQueueArgs

type RemoveAllTracksFromQueueArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type RemoveAllTracksFromQueueResponse

type RemoveAllTracksFromQueueResponse struct {
}

type RemoveTrackFromQueueArgs

type RemoveTrackFromQueueArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	ObjectID   string `xml:"ObjectID"`
	UpdateID   uint32 `xml:"UpdateID"`
}

type RemoveTrackFromQueueResponse

type RemoveTrackFromQueueResponse struct {
}

type RemoveTrackRangeFromQueueArgs

type RemoveTrackRangeFromQueueArgs struct {
	Xmlns          string `xml:"xmlns:u,attr"`
	InstanceID     uint32 `xml:"InstanceID"`
	UpdateID       uint32 `xml:"UpdateID"`
	StartingIndex  uint32 `xml:"StartingIndex"`
	NumberOfTracks uint32 `xml:"NumberOfTracks"`
}

type RemoveTrackRangeFromQueueResponse

type RemoveTrackRangeFromQueueResponse struct {
	NewUpdateID uint32 `xml:"NewUpdateID"`
}

type ReorderTracksInQueueArgs

type ReorderTracksInQueueArgs struct {
	Xmlns          string `xml:"xmlns:u,attr"`
	InstanceID     uint32 `xml:"InstanceID"`
	StartingIndex  uint32 `xml:"StartingIndex"`
	NumberOfTracks uint32 `xml:"NumberOfTracks"`
	InsertBefore   uint32 `xml:"InsertBefore"`
	UpdateID       uint32 `xml:"UpdateID"`
}

type ReorderTracksInQueueResponse

type ReorderTracksInQueueResponse struct {
}

type ReorderTracksInSavedQueueArgs

type ReorderTracksInSavedQueueArgs struct {
	Xmlns           string `xml:"xmlns:u,attr"`
	InstanceID      uint32 `xml:"InstanceID"`
	ObjectID        string `xml:"ObjectID"`
	UpdateID        uint32 `xml:"UpdateID"`
	TrackList       string `xml:"TrackList"`
	NewPositionList string `xml:"NewPositionList"`
}

type ReorderTracksInSavedQueueResponse

type ReorderTracksInSavedQueueResponse struct {
	QueueLengthChange int32  `xml:"QueueLengthChange"`
	NewQueueLength    uint32 `xml:"NewQueueLength"`
	NewUpdateID       uint32 `xml:"NewUpdateID"`
}

type RunAlarmArgs

type RunAlarmArgs struct {
	Xmlns           string `xml:"xmlns:u,attr"`
	InstanceID      uint32 `xml:"InstanceID"`
	AlarmID         uint32 `xml:"AlarmID"`
	LoggedStartTime string `xml:"LoggedStartTime"`
	Duration        string `xml:"Duration"`
	ProgramURI      string `xml:"ProgramURI"`
	ProgramMetaData string `xml:"ProgramMetaData"`
	// Allowed Value: NORMAL
	// Allowed Value: REPEAT_ALL
	// Allowed Value: REPEAT_ONE
	// Allowed Value: SHUFFLE_NOREPEAT
	// Allowed Value: SHUFFLE
	// Allowed Value: SHUFFLE_REPEAT_ONE
	PlayMode           string `xml:"PlayMode"`
	Volume             uint16 `xml:"Volume"`
	IncludeLinkedZones bool   `xml:"IncludeLinkedZones"`
}

type RunAlarmResponse

type RunAlarmResponse struct {
}

type SaveQueueArgs

type SaveQueueArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	Title      string `xml:"Title"`
	ObjectID   string `xml:"ObjectID"`
}

type SaveQueueResponse

type SaveQueueResponse struct {
	AssignedObjectID string `xml:"AssignedObjectID"`
}

type SeekArgs

type SeekArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: TRACK_NR
	// Allowed Value: REL_TIME
	// Allowed Value: TIME_DELTA
	Unit   string `xml:"Unit"`
	Target string `xml:"Target"`
}

type SeekResponse

type SeekResponse struct {
}

type Service

type Service struct {
	ControlEndpoint *url.URL
	EventEndpoint   *url.URL
}

func NewService

func NewService(deviceUrl *url.URL) *Service

func (*Service) AddMultipleURIsToQueue

func (s *Service) AddMultipleURIsToQueue(httpClient *http.Client, args *AddMultipleURIsToQueueArgs) (*AddMultipleURIsToQueueResponse, error)

func (*Service) AddURIToQueue

func (s *Service) AddURIToQueue(httpClient *http.Client, args *AddURIToQueueArgs) (*AddURIToQueueResponse, error)

func (*Service) AddURIToSavedQueue

func (s *Service) AddURIToSavedQueue(httpClient *http.Client, args *AddURIToSavedQueueArgs) (*AddURIToSavedQueueResponse, error)

func (*Service) BackupQueue

func (s *Service) BackupQueue(httpClient *http.Client, args *BackupQueueArgs) (*BackupQueueResponse, error)

func (*Service) BecomeCoordinatorOfStandaloneGroup

func (s *Service) BecomeCoordinatorOfStandaloneGroup(httpClient *http.Client, args *BecomeCoordinatorOfStandaloneGroupArgs) (*BecomeCoordinatorOfStandaloneGroupResponse, error)

func (*Service) BecomeGroupCoordinator

func (s *Service) BecomeGroupCoordinator(httpClient *http.Client, args *BecomeGroupCoordinatorArgs) (*BecomeGroupCoordinatorResponse, error)

func (*Service) BecomeGroupCoordinatorAndSource

func (s *Service) BecomeGroupCoordinatorAndSource(httpClient *http.Client, args *BecomeGroupCoordinatorAndSourceArgs) (*BecomeGroupCoordinatorAndSourceResponse, error)

func (*Service) ChangeCoordinator

func (s *Service) ChangeCoordinator(httpClient *http.Client, args *ChangeCoordinatorArgs) (*ChangeCoordinatorResponse, error)

func (*Service) ChangeTransportSettings

func (s *Service) ChangeTransportSettings(httpClient *http.Client, args *ChangeTransportSettingsArgs) (*ChangeTransportSettingsResponse, error)

func (*Service) ConfigureSleepTimer

func (s *Service) ConfigureSleepTimer(httpClient *http.Client, args *ConfigureSleepTimerArgs) (*ConfigureSleepTimerResponse, error)

func (*Service) CreateSavedQueue

func (s *Service) CreateSavedQueue(httpClient *http.Client, args *CreateSavedQueueArgs) (*CreateSavedQueueResponse, error)

func (*Service) DelegateGroupCoordinationTo

func (s *Service) DelegateGroupCoordinationTo(httpClient *http.Client, args *DelegateGroupCoordinationToArgs) (*DelegateGroupCoordinationToResponse, error)

func (*Service) EndDirectControlSession

func (s *Service) EndDirectControlSession(httpClient *http.Client, args *EndDirectControlSessionArgs) (*EndDirectControlSessionResponse, error)

func (*Service) GetCrossfadeMode

func (s *Service) GetCrossfadeMode(httpClient *http.Client, args *GetCrossfadeModeArgs) (*GetCrossfadeModeResponse, error)

func (*Service) GetCurrentTransportActions

func (s *Service) GetCurrentTransportActions(httpClient *http.Client, args *GetCurrentTransportActionsArgs) (*GetCurrentTransportActionsResponse, error)

func (*Service) GetDeviceCapabilities

func (s *Service) GetDeviceCapabilities(httpClient *http.Client, args *GetDeviceCapabilitiesArgs) (*GetDeviceCapabilitiesResponse, error)

func (*Service) GetMediaInfo

func (s *Service) GetMediaInfo(httpClient *http.Client, args *GetMediaInfoArgs) (*GetMediaInfoResponse, error)

func (*Service) GetPositionInfo

func (s *Service) GetPositionInfo(httpClient *http.Client, args *GetPositionInfoArgs) (*GetPositionInfoResponse, error)

func (*Service) GetRemainingSleepTimerDuration

func (s *Service) GetRemainingSleepTimerDuration(httpClient *http.Client, args *GetRemainingSleepTimerDurationArgs) (*GetRemainingSleepTimerDurationResponse, error)

func (*Service) GetRunningAlarmProperties

func (s *Service) GetRunningAlarmProperties(httpClient *http.Client, args *GetRunningAlarmPropertiesArgs) (*GetRunningAlarmPropertiesResponse, error)

func (*Service) GetTransportInfo

func (s *Service) GetTransportInfo(httpClient *http.Client, args *GetTransportInfoArgs) (*GetTransportInfoResponse, error)

func (*Service) GetTransportSettings

func (s *Service) GetTransportSettings(httpClient *http.Client, args *GetTransportSettingsArgs) (*GetTransportSettingsResponse, error)

func (*Service) Next

func (s *Service) Next(httpClient *http.Client, args *NextArgs) (*NextResponse, error)

func (*Service) NotifyDeletedURI

func (s *Service) NotifyDeletedURI(httpClient *http.Client, args *NotifyDeletedURIArgs) (*NotifyDeletedURIResponse, error)

func (*Service) Pause

func (s *Service) Pause(httpClient *http.Client, args *PauseArgs) (*PauseResponse, error)

func (*Service) Play

func (s *Service) Play(httpClient *http.Client, args *PlayArgs) (*PlayResponse, error)

func (*Service) Previous

func (s *Service) Previous(httpClient *http.Client, args *PreviousArgs) (*PreviousResponse, error)

func (*Service) RemoveAllTracksFromQueue

func (s *Service) RemoveAllTracksFromQueue(httpClient *http.Client, args *RemoveAllTracksFromQueueArgs) (*RemoveAllTracksFromQueueResponse, error)

func (*Service) RemoveTrackFromQueue

func (s *Service) RemoveTrackFromQueue(httpClient *http.Client, args *RemoveTrackFromQueueArgs) (*RemoveTrackFromQueueResponse, error)

func (*Service) RemoveTrackRangeFromQueue

func (s *Service) RemoveTrackRangeFromQueue(httpClient *http.Client, args *RemoveTrackRangeFromQueueArgs) (*RemoveTrackRangeFromQueueResponse, error)

func (*Service) ReorderTracksInQueue

func (s *Service) ReorderTracksInQueue(httpClient *http.Client, args *ReorderTracksInQueueArgs) (*ReorderTracksInQueueResponse, error)

func (*Service) ReorderTracksInSavedQueue

func (s *Service) ReorderTracksInSavedQueue(httpClient *http.Client, args *ReorderTracksInSavedQueueArgs) (*ReorderTracksInSavedQueueResponse, error)

func (*Service) RunAlarm

func (s *Service) RunAlarm(httpClient *http.Client, args *RunAlarmArgs) (*RunAlarmResponse, error)

func (*Service) SaveQueue

func (s *Service) SaveQueue(httpClient *http.Client, args *SaveQueueArgs) (*SaveQueueResponse, error)

func (*Service) Seek

func (s *Service) Seek(httpClient *http.Client, args *SeekArgs) (*SeekResponse, error)

func (*Service) SetAVTransportURI

func (s *Service) SetAVTransportURI(httpClient *http.Client, args *SetAVTransportURIArgs) (*SetAVTransportURIResponse, error)

func (*Service) SetCrossfadeMode

func (s *Service) SetCrossfadeMode(httpClient *http.Client, args *SetCrossfadeModeArgs) (*SetCrossfadeModeResponse, error)

func (*Service) SetNextAVTransportURI

func (s *Service) SetNextAVTransportURI(httpClient *http.Client, args *SetNextAVTransportURIArgs) (*SetNextAVTransportURIResponse, error)

func (*Service) SetPlayMode

func (s *Service) SetPlayMode(httpClient *http.Client, args *SetPlayModeArgs) (*SetPlayModeResponse, error)

func (*Service) SnoozeAlarm

func (s *Service) SnoozeAlarm(httpClient *http.Client, args *SnoozeAlarmArgs) (*SnoozeAlarmResponse, error)

func (*Service) StartAutoplay

func (s *Service) StartAutoplay(httpClient *http.Client, args *StartAutoplayArgs) (*StartAutoplayResponse, error)

func (*Service) Stop

func (s *Service) Stop(httpClient *http.Client, args *StopArgs) (*StopResponse, error)

type SetAVTransportURIArgs

type SetAVTransportURIArgs struct {
	Xmlns              string `xml:"xmlns:u,attr"`
	InstanceID         uint32 `xml:"InstanceID"`
	CurrentURI         string `xml:"CurrentURI"`
	CurrentURIMetaData string `xml:"CurrentURIMetaData"`
}

type SetAVTransportURIResponse

type SetAVTransportURIResponse struct {
}

type SetCrossfadeModeArgs

type SetCrossfadeModeArgs struct {
	Xmlns         string `xml:"xmlns:u,attr"`
	InstanceID    uint32 `xml:"InstanceID"`
	CrossfadeMode bool   `xml:"CrossfadeMode"`
}

type SetCrossfadeModeResponse

type SetCrossfadeModeResponse struct {
}

type SetNextAVTransportURIArgs

type SetNextAVTransportURIArgs struct {
	Xmlns           string `xml:"xmlns:u,attr"`
	InstanceID      uint32 `xml:"InstanceID"`
	NextURI         string `xml:"NextURI"`
	NextURIMetaData string `xml:"NextURIMetaData"`
}

type SetNextAVTransportURIResponse

type SetNextAVTransportURIResponse struct {
}

type SetPlayModeArgs

type SetPlayModeArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: NORMAL
	// Allowed Value: REPEAT_ALL
	// Allowed Value: REPEAT_ONE
	// Allowed Value: SHUFFLE_NOREPEAT
	// Allowed Value: SHUFFLE
	// Allowed Value: SHUFFLE_REPEAT_ONE
	NewPlayMode string `xml:"NewPlayMode"`
}

type SetPlayModeResponse

type SetPlayModeResponse struct {
}

type SnoozeAlarmArgs

type SnoozeAlarmArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	Duration   string `xml:"Duration"`
}

type SnoozeAlarmResponse

type SnoozeAlarmResponse struct {
}

type StartAutoplayArgs

type StartAutoplayArgs struct {
	Xmlns              string `xml:"xmlns:u,attr"`
	InstanceID         uint32 `xml:"InstanceID"`
	ProgramURI         string `xml:"ProgramURI"`
	ProgramMetaData    string `xml:"ProgramMetaData"`
	Volume             uint16 `xml:"Volume"`
	IncludeLinkedZones bool   `xml:"IncludeLinkedZones"`
	ResetVolumeAfter   bool   `xml:"ResetVolumeAfter"`
}

type StartAutoplayResponse

type StartAutoplayResponse struct {
}

type StopArgs

type StopArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type StopResponse

type StopResponse struct {
}

Jump to

Keyboard shortcuts

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