Documentation ¶
Index ¶
- type AddMultipleURIsToQueueArgs
- type AddMultipleURIsToQueueResponse
- type AddURIToQueueArgs
- type AddURIToQueueResponse
- type AddURIToSavedQueueArgs
- type AddURIToSavedQueueResponse
- type BackupQueueArgs
- type BackupQueueResponse
- type BecomeCoordinatorOfStandaloneGroupArgs
- type BecomeCoordinatorOfStandaloneGroupResponse
- type BecomeGroupCoordinatorAndSourceArgs
- type BecomeGroupCoordinatorAndSourceResponse
- type BecomeGroupCoordinatorArgs
- type BecomeGroupCoordinatorResponse
- type Body
- type BodyResponse
- type ChangeCoordinatorArgs
- type ChangeCoordinatorResponse
- type ChangeTransportSettingsArgs
- type ChangeTransportSettingsResponse
- type ConfigureSleepTimerArgs
- type ConfigureSleepTimerResponse
- type CreateSavedQueueArgs
- type CreateSavedQueueResponse
- type DelegateGroupCoordinationToArgs
- type DelegateGroupCoordinationToResponse
- type EndDirectControlSessionArgs
- type EndDirectControlSessionResponse
- type Envelope
- type EnvelopeResponse
- type GetCrossfadeModeArgs
- type GetCrossfadeModeResponse
- type GetCurrentTransportActionsArgs
- type GetCurrentTransportActionsResponse
- type GetDeviceCapabilitiesArgs
- type GetDeviceCapabilitiesResponse
- type GetMediaInfoArgs
- type GetMediaInfoResponse
- type GetPositionInfoArgs
- type GetPositionInfoResponse
- type GetRemainingSleepTimerDurationArgs
- type GetRemainingSleepTimerDurationResponse
- type GetRunningAlarmPropertiesArgs
- type GetRunningAlarmPropertiesResponse
- type GetTransportInfoArgs
- type GetTransportInfoResponse
- type GetTransportSettingsArgs
- type GetTransportSettingsResponse
- type NextArgs
- type NextResponse
- type NotifyDeletedURIArgs
- type NotifyDeletedURIResponse
- type PauseArgs
- type PauseResponse
- type PlayArgs
- type PlayResponse
- type PreviousArgs
- type PreviousResponse
- type RemoveAllTracksFromQueueArgs
- type RemoveAllTracksFromQueueResponse
- type RemoveTrackFromQueueArgs
- type RemoveTrackFromQueueResponse
- type RemoveTrackRangeFromQueueArgs
- type RemoveTrackRangeFromQueueResponse
- type ReorderTracksInQueueArgs
- type ReorderTracksInQueueResponse
- type ReorderTracksInSavedQueueArgs
- type ReorderTracksInSavedQueueResponse
- type RunAlarmArgs
- type RunAlarmResponse
- type SaveQueueArgs
- type SaveQueueResponse
- type SeekArgs
- type SeekResponse
- type Service
- func (s *Service) AddMultipleURIsToQueue(httpClient *http.Client, args *AddMultipleURIsToQueueArgs) (*AddMultipleURIsToQueueResponse, error)
- func (s *Service) AddURIToQueue(httpClient *http.Client, args *AddURIToQueueArgs) (*AddURIToQueueResponse, error)
- func (s *Service) AddURIToSavedQueue(httpClient *http.Client, args *AddURIToSavedQueueArgs) (*AddURIToSavedQueueResponse, error)
- func (s *Service) BackupQueue(httpClient *http.Client, args *BackupQueueArgs) (*BackupQueueResponse, error)
- func (s *Service) BecomeCoordinatorOfStandaloneGroup(httpClient *http.Client, args *BecomeCoordinatorOfStandaloneGroupArgs) (*BecomeCoordinatorOfStandaloneGroupResponse, error)
- func (s *Service) BecomeGroupCoordinator(httpClient *http.Client, args *BecomeGroupCoordinatorArgs) (*BecomeGroupCoordinatorResponse, error)
- func (s *Service) BecomeGroupCoordinatorAndSource(httpClient *http.Client, args *BecomeGroupCoordinatorAndSourceArgs) (*BecomeGroupCoordinatorAndSourceResponse, error)
- func (s *Service) ChangeCoordinator(httpClient *http.Client, args *ChangeCoordinatorArgs) (*ChangeCoordinatorResponse, error)
- func (s *Service) ChangeTransportSettings(httpClient *http.Client, args *ChangeTransportSettingsArgs) (*ChangeTransportSettingsResponse, error)
- func (s *Service) ConfigureSleepTimer(httpClient *http.Client, args *ConfigureSleepTimerArgs) (*ConfigureSleepTimerResponse, error)
- func (s *Service) CreateSavedQueue(httpClient *http.Client, args *CreateSavedQueueArgs) (*CreateSavedQueueResponse, error)
- func (s *Service) DelegateGroupCoordinationTo(httpClient *http.Client, args *DelegateGroupCoordinationToArgs) (*DelegateGroupCoordinationToResponse, error)
- func (s *Service) EndDirectControlSession(httpClient *http.Client, args *EndDirectControlSessionArgs) (*EndDirectControlSessionResponse, error)
- func (s *Service) GetCrossfadeMode(httpClient *http.Client, args *GetCrossfadeModeArgs) (*GetCrossfadeModeResponse, error)
- func (s *Service) GetCurrentTransportActions(httpClient *http.Client, args *GetCurrentTransportActionsArgs) (*GetCurrentTransportActionsResponse, error)
- func (s *Service) GetDeviceCapabilities(httpClient *http.Client, args *GetDeviceCapabilitiesArgs) (*GetDeviceCapabilitiesResponse, error)
- func (s *Service) GetMediaInfo(httpClient *http.Client, args *GetMediaInfoArgs) (*GetMediaInfoResponse, error)
- func (s *Service) GetPositionInfo(httpClient *http.Client, args *GetPositionInfoArgs) (*GetPositionInfoResponse, error)
- func (s *Service) GetRemainingSleepTimerDuration(httpClient *http.Client, args *GetRemainingSleepTimerDurationArgs) (*GetRemainingSleepTimerDurationResponse, error)
- func (s *Service) GetRunningAlarmProperties(httpClient *http.Client, args *GetRunningAlarmPropertiesArgs) (*GetRunningAlarmPropertiesResponse, error)
- func (s *Service) GetTransportInfo(httpClient *http.Client, args *GetTransportInfoArgs) (*GetTransportInfoResponse, error)
- func (s *Service) GetTransportSettings(httpClient *http.Client, args *GetTransportSettingsArgs) (*GetTransportSettingsResponse, error)
- func (s *Service) Next(httpClient *http.Client, args *NextArgs) (*NextResponse, error)
- func (s *Service) NotifyDeletedURI(httpClient *http.Client, args *NotifyDeletedURIArgs) (*NotifyDeletedURIResponse, error)
- func (s *Service) Pause(httpClient *http.Client, args *PauseArgs) (*PauseResponse, error)
- func (s *Service) Play(httpClient *http.Client, args *PlayArgs) (*PlayResponse, error)
- func (s *Service) Previous(httpClient *http.Client, args *PreviousArgs) (*PreviousResponse, error)
- func (s *Service) RemoveAllTracksFromQueue(httpClient *http.Client, args *RemoveAllTracksFromQueueArgs) (*RemoveAllTracksFromQueueResponse, error)
- func (s *Service) RemoveTrackFromQueue(httpClient *http.Client, args *RemoveTrackFromQueueArgs) (*RemoveTrackFromQueueResponse, error)
- func (s *Service) RemoveTrackRangeFromQueue(httpClient *http.Client, args *RemoveTrackRangeFromQueueArgs) (*RemoveTrackRangeFromQueueResponse, error)
- func (s *Service) ReorderTracksInQueue(httpClient *http.Client, args *ReorderTracksInQueueArgs) (*ReorderTracksInQueueResponse, error)
- func (s *Service) ReorderTracksInSavedQueue(httpClient *http.Client, args *ReorderTracksInSavedQueueArgs) (*ReorderTracksInSavedQueueResponse, error)
- func (s *Service) RunAlarm(httpClient *http.Client, args *RunAlarmArgs) (*RunAlarmResponse, error)
- func (s *Service) SaveQueue(httpClient *http.Client, args *SaveQueueArgs) (*SaveQueueResponse, error)
- func (s *Service) Seek(httpClient *http.Client, args *SeekArgs) (*SeekResponse, error)
- func (s *Service) SetAVTransportURI(httpClient *http.Client, args *SetAVTransportURIArgs) (*SetAVTransportURIResponse, error)
- func (s *Service) SetCrossfadeMode(httpClient *http.Client, args *SetCrossfadeModeArgs) (*SetCrossfadeModeResponse, error)
- func (s *Service) SetNextAVTransportURI(httpClient *http.Client, args *SetNextAVTransportURIArgs) (*SetNextAVTransportURIResponse, error)
- func (s *Service) SetPlayMode(httpClient *http.Client, args *SetPlayModeArgs) (*SetPlayModeResponse, error)
- func (s *Service) SnoozeAlarm(httpClient *http.Client, args *SnoozeAlarmArgs) (*SnoozeAlarmResponse, error)
- func (s *Service) StartAutoplay(httpClient *http.Client, args *StartAutoplayArgs) (*StartAutoplayResponse, error)
- func (s *Service) Stop(httpClient *http.Client, args *StopArgs) (*StopResponse, error)
- type SetAVTransportURIArgs
- type SetAVTransportURIResponse
- type SetCrossfadeModeArgs
- type SetCrossfadeModeResponse
- type SetNextAVTransportURIArgs
- type SetNextAVTransportURIResponse
- type SetPlayModeArgs
- type SetPlayModeResponse
- type SnoozeAlarmArgs
- type SnoozeAlarmResponse
- type StartAutoplayArgs
- type StartAutoplayResponse
- type StopArgs
- type StopResponse
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 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 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 BackupQueueArgs ¶
type BackupQueueResponse ¶
type BackupQueueResponse struct { }
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 ChangeTransportSettingsResponse ¶
type ChangeTransportSettingsResponse struct { }
type ConfigureSleepTimerArgs ¶
type ConfigureSleepTimerResponse ¶
type ConfigureSleepTimerResponse struct { }
type CreateSavedQueueArgs ¶
type DelegateGroupCoordinationToResponse ¶
type DelegateGroupCoordinationToResponse struct { }
type EndDirectControlSessionResponse ¶
type EndDirectControlSessionResponse struct { }
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 GetCrossfadeModeResponse ¶
type GetCrossfadeModeResponse struct {
CrossfadeMode bool `xml:"CrossfadeMode"`
}
type GetCurrentTransportActionsResponse ¶
type GetCurrentTransportActionsResponse struct {
Actions string `xml:"Actions"`
}
type GetMediaInfoArgs ¶
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 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 GetTransportInfoArgs ¶
type NextResponse ¶
type NextResponse struct { }
type NotifyDeletedURIArgs ¶
type NotifyDeletedURIResponse ¶
type NotifyDeletedURIResponse struct { }
type PauseResponse ¶
type PauseResponse struct { }
type PlayResponse ¶
type PlayResponse struct { }
type PreviousArgs ¶
type PreviousResponse ¶
type PreviousResponse struct { }
type RemoveAllTracksFromQueueResponse ¶
type RemoveAllTracksFromQueueResponse struct { }
type RemoveTrackFromQueueResponse ¶
type RemoveTrackFromQueueResponse struct { }
type RemoveTrackRangeFromQueueResponse ¶
type RemoveTrackRangeFromQueueResponse struct {
NewUpdateID uint32 `xml:"NewUpdateID"`
}
type ReorderTracksInQueueResponse ¶
type ReorderTracksInQueueResponse struct { }
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 SaveQueueResponse ¶
type SaveQueueResponse struct {
AssignedObjectID string `xml:"AssignedObjectID"`
}
type SeekResponse ¶
type SeekResponse struct { }
type Service ¶
func NewService ¶
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) NotifyDeletedURI ¶
func (s *Service) NotifyDeletedURI(httpClient *http.Client, args *NotifyDeletedURIArgs) (*NotifyDeletedURIResponse, 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) 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)
type SetAVTransportURIArgs ¶
type SetAVTransportURIResponse ¶
type SetAVTransportURIResponse struct { }
type SetCrossfadeModeArgs ¶
type SetCrossfadeModeResponse ¶
type SetCrossfadeModeResponse struct { }
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 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 StopResponse ¶
type StopResponse struct { }
Click to show internal directories.
Click to hide internal directories.