Documentation ¶
Index ¶
- type Application
- func (a *Application) Close()
- func (a *Application) Load(filename, contentType string, transcode bool) error
- func (a *Application) Next() error
- func (a *Application) Pause() error
- func (a *Application) PlayableMediaType(filename string) bool
- func (a *Application) PlayedItems() map[string]PlayedItem
- func (a *Application) Previous() error
- func (a *Application) QueueLoad(filenames []string, contentType string, transcode bool) error
- func (a *Application) Seek(value int) error
- func (a *Application) SeekFromStart(value int) error
- func (a *Application) SetDebug(debug bool)
- func (a *Application) Skip() error
- func (a *Application) Start(entry castdns.CastDNSEntry) error
- func (a *Application) Status() (*cast.Application, *cast.Media, *cast.Volume)
- func (a *Application) Stop() error
- func (a *Application) StopMedia() error
- func (a *Application) Unpause() error
- func (a *Application) Update() error
- type PlayedItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func NewApplication(debug, cacheDisabled bool) *Application
func (*Application) Close ¶
func (a *Application) Close()
func (*Application) Load ¶
func (a *Application) Load(filename, contentType string, transcode bool) error
func (*Application) Next ¶
func (a *Application) Next() error
func (*Application) Pause ¶
func (a *Application) Pause() error
func (*Application) PlayableMediaType ¶
func (a *Application) PlayableMediaType(filename string) bool
func (*Application) PlayedItems ¶
func (a *Application) PlayedItems() map[string]PlayedItem
func (*Application) Previous ¶
func (a *Application) Previous() error
func (*Application) QueueLoad ¶
func (a *Application) QueueLoad(filenames []string, contentType string, transcode bool) error
func (*Application) Seek ¶
func (a *Application) Seek(value int) error
func (*Application) SeekFromStart ¶
func (a *Application) SeekFromStart(value int) error
func (*Application) SetDebug ¶
func (a *Application) SetDebug(debug bool)
func (*Application) Skip ¶
func (a *Application) Skip() error
func (*Application) Start ¶
func (a *Application) Start(entry castdns.CastDNSEntry) error
func (*Application) Status ¶
func (a *Application) Status() (*cast.Application, *cast.Media, *cast.Volume)
func (*Application) Stop ¶
func (a *Application) Stop() error
func (*Application) StopMedia ¶
func (a *Application) StopMedia() error
func (*Application) Unpause ¶
func (a *Application) Unpause() error
func (*Application) Update ¶
func (a *Application) Update() error
type PlayedItem ¶
Click to show internal directories.
Click to hide internal directories.