application

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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

type PlayedItem struct {
	ContentID string `json:"content_id"`
	Started   int64  `json:"started"`
	Finished  int64  `json:"finished"`
}

Jump to

Keyboard shortcuts

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