avtransport

package
v0.0.0-...-cbcd650 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package avtransport is a generated AVTransport package.

Index

Constants

View Source
const (
	ServiceURN     = "urn:schemas-upnp-org:service:AVTransport:1"
	EncodingSchema = "http://schemas.xmlsoap.org/soap/encoding/"
	EnvelopeSchema = "http://schemas.xmlsoap.org/soap/envelope/"
)

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 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 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 LastChange

type LastChange string

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 string `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 Property

type Property struct {
	XMLName    xml.Name    `xml:"property"`
	LastChange *LastChange `xml:"LastChange"`
}

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 {
	LastChange *LastChange
	// contains filtered or unexported fields
}

func NewService

func NewService(opts ...ServiceOption) *Service

func (*Service) AddMultipleURIsToQueue

func (s *Service) AddMultipleURIsToQueue(args *AddMultipleURIsToQueueArgs) (*AddMultipleURIsToQueueResponse, error)

func (*Service) AddURIToQueue

func (s *Service) AddURIToQueue(args *AddURIToQueueArgs) (*AddURIToQueueResponse, error)

func (*Service) AddURIToSavedQueue

func (s *Service) AddURIToSavedQueue(args *AddURIToSavedQueueArgs) (*AddURIToSavedQueueResponse, error)

func (*Service) BackupQueue

func (s *Service) BackupQueue(args *BackupQueueArgs) (*BackupQueueResponse, error)

func (*Service) BecomeGroupCoordinator

func (s *Service) BecomeGroupCoordinator(args *BecomeGroupCoordinatorArgs) (*BecomeGroupCoordinatorResponse, error)

func (*Service) ChangeCoordinator

func (s *Service) ChangeCoordinator(args *ChangeCoordinatorArgs) (*ChangeCoordinatorResponse, error)

func (*Service) ChangeTransportSettings

func (s *Service) ChangeTransportSettings(args *ChangeTransportSettingsArgs) (*ChangeTransportSettingsResponse, error)

func (*Service) Client

func (s *Service) Client() *http.Client

func (*Service) ConfigureSleepTimer

func (s *Service) ConfigureSleepTimer(args *ConfigureSleepTimerArgs) (*ConfigureSleepTimerResponse, error)

func (*Service) ControlEndpoint

func (s *Service) ControlEndpoint() *url.URL

func (*Service) CreateSavedQueue

func (s *Service) CreateSavedQueue(args *CreateSavedQueueArgs) (*CreateSavedQueueResponse, error)

func (*Service) DelegateGroupCoordinationTo

func (s *Service) DelegateGroupCoordinationTo(args *DelegateGroupCoordinationToArgs) (*DelegateGroupCoordinationToResponse, error)

func (*Service) EndDirectControlSession

func (s *Service) EndDirectControlSession(args *EndDirectControlSessionArgs) (*EndDirectControlSessionResponse, error)

func (*Service) EventEndpoint

func (s *Service) EventEndpoint() *url.URL

func (*Service) GetCrossfadeMode

func (s *Service) GetCrossfadeMode(args *GetCrossfadeModeArgs) (*GetCrossfadeModeResponse, error)

func (*Service) GetCurrentTransportActions

func (s *Service) GetCurrentTransportActions(args *GetCurrentTransportActionsArgs) (*GetCurrentTransportActionsResponse, error)

func (*Service) GetDeviceCapabilities

func (s *Service) GetDeviceCapabilities(args *GetDeviceCapabilitiesArgs) (*GetDeviceCapabilitiesResponse, error)

func (*Service) GetMediaInfo

func (s *Service) GetMediaInfo(args *GetMediaInfoArgs) (*GetMediaInfoResponse, error)

func (*Service) GetPositionInfo

func (s *Service) GetPositionInfo(args *GetPositionInfoArgs) (*GetPositionInfoResponse, error)

func (*Service) GetRunningAlarmProperties

func (s *Service) GetRunningAlarmProperties(args *GetRunningAlarmPropertiesArgs) (*GetRunningAlarmPropertiesResponse, error)

func (*Service) GetTransportInfo

func (s *Service) GetTransportInfo(args *GetTransportInfoArgs) (*GetTransportInfoResponse, error)

func (*Service) GetTransportSettings

func (s *Service) GetTransportSettings(args *GetTransportSettingsArgs) (*GetTransportSettingsResponse, error)

func (*Service) Location

func (s *Service) Location() *url.URL

func (*Service) Next

func (s *Service) Next(args *NextArgs) (*NextResponse, error)

func (*Service) NotifyDeletedURI

func (s *Service) NotifyDeletedURI(args *NotifyDeletedURIArgs) (*NotifyDeletedURIResponse, error)

func (*Service) ParseEvent

func (zp *Service) ParseEvent(body []byte) []interface{}

func (*Service) Pause

func (s *Service) Pause(args *PauseArgs) (*PauseResponse, error)

func (*Service) Play

func (s *Service) Play(args *PlayArgs) (*PlayResponse, error)

func (*Service) Previous

func (s *Service) Previous(args *PreviousArgs) (*PreviousResponse, error)

func (*Service) RemoveAllTracksFromQueue

func (s *Service) RemoveAllTracksFromQueue(args *RemoveAllTracksFromQueueArgs) (*RemoveAllTracksFromQueueResponse, error)

func (*Service) RemoveTrackFromQueue

func (s *Service) RemoveTrackFromQueue(args *RemoveTrackFromQueueArgs) (*RemoveTrackFromQueueResponse, error)

func (*Service) RemoveTrackRangeFromQueue

func (s *Service) RemoveTrackRangeFromQueue(args *RemoveTrackRangeFromQueueArgs) (*RemoveTrackRangeFromQueueResponse, error)

func (*Service) ReorderTracksInQueue

func (s *Service) ReorderTracksInQueue(args *ReorderTracksInQueueArgs) (*ReorderTracksInQueueResponse, error)

func (*Service) ReorderTracksInSavedQueue

func (s *Service) ReorderTracksInSavedQueue(args *ReorderTracksInSavedQueueArgs) (*ReorderTracksInSavedQueueResponse, error)

func (*Service) RunAlarm

func (s *Service) RunAlarm(args *RunAlarmArgs) (*RunAlarmResponse, error)

func (*Service) SaveQueue

func (s *Service) SaveQueue(args *SaveQueueArgs) (*SaveQueueResponse, error)

func (*Service) Seek

func (s *Service) Seek(args *SeekArgs) (*SeekResponse, error)

func (*Service) SetAVTransportURI

func (s *Service) SetAVTransportURI(args *SetAVTransportURIArgs) (*SetAVTransportURIResponse, error)

func (*Service) SetCrossfadeMode

func (s *Service) SetCrossfadeMode(args *SetCrossfadeModeArgs) (*SetCrossfadeModeResponse, error)

func (*Service) SetNextAVTransportURI

func (s *Service) SetNextAVTransportURI(args *SetNextAVTransportURIArgs) (*SetNextAVTransportURIResponse, error)

func (*Service) SetPlayMode

func (s *Service) SetPlayMode(args *SetPlayModeArgs) (*SetPlayModeResponse, error)

func (*Service) SnoozeAlarm

func (s *Service) SnoozeAlarm(args *SnoozeAlarmArgs) (*SnoozeAlarmResponse, error)

func (*Service) StartAutoplay

func (s *Service) StartAutoplay(args *StartAutoplayArgs) (*StartAutoplayResponse, error)

func (*Service) Stop

func (s *Service) Stop(args *StopArgs) (*StopResponse, error)

type ServiceOption

type ServiceOption func(*Service)

func WithClient

func WithClient(c *http.Client) ServiceOption

func WithLocation

func WithLocation(u *url.URL) ServiceOption

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 {
}

type UpnpEvent

type UpnpEvent struct {
	XMLName      xml.Name   `xml:"propertyset"`
	XMLNameSpace string     `xml:"xmlns:e,attr"`
	Properties   []Property `xml:"property"`
}

Jump to

Keyboard shortcuts

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