Documentation ¶
Overview ¶
Package controlpoint is a UPnP AV "Control Point", for mediating ContentDirectories and AVTransports.
Index ¶
- type Loop
- func (loop *Loop) Duration() time.Duration
- func (loop *Loop) Elapsed() time.Duration
- func (loop *Loop) Pause()
- func (loop *Loop) Play()
- func (loop *Loop) Queue() Queue
- func (loop *Loop) SetElapsed(d time.Duration) error
- func (loop *Loop) SetQueue(queue Queue)
- func (loop *Loop) SetTransport(device *upnp.Device) error
- func (loop *Loop) State() avtransport.State
- func (loop *Loop) Stop()
- func (loop *Loop) Transport() *upnp.Device
- type Queue
- type QueueItem
- type TrackList
- func (t *TrackList) Append(item upnpav.Item) int
- func (t *TrackList) Current() (upnpav.Item, bool)
- func (t *TrackList) History() []QueueItem
- func (t *TrackList) Items() []QueueItem
- func (t *TrackList) Next() (upnpav.Item, bool)
- func (t *TrackList) Remove(id int)
- func (t *TrackList) RemoveAll()
- func (t *TrackList) SetCurrent(id int) error
- func (t *TrackList) Skip()
- func (t *TrackList) Upcoming() []QueueItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loop ¶
type Loop struct {
// contains filtered or unexported fields
}
func (*Loop) State ¶
func (loop *Loop) State() avtransport.State
type TrackList ¶
type TrackList struct {
// contains filtered or unexported fields
}
func NewTrackList ¶
func NewTrackList() *TrackList
func (*TrackList) SetCurrent ¶
Click to show internal directories.
Click to hide internal directories.