roku

package
v1.52.6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: OSL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Content

type Content struct {
	Meta struct {
		MediaType string
	}
	Title  string
	Series struct {
		Title string
	}
	SeasonNumber   string
	EpisodeNumber  string
	ReleaseDate    string
	RunTimeSeconds int64
	ViewOptions    []struct {
		License string
		Media   struct {
			Videos []Video
		}
	}
}

func NewContent

func NewContent(id string) (*Content, error)

func (Content) Base

func (c Content) Base() string

func (Content) Duration

func (c Content) Duration() time.Duration

func (Content) Format

func (c Content) Format(f fmt.State, verb rune)

func (Content) Video

func (c Content) Video() (*Video, error)

type Video

type Video struct {
	DrmAuthentication *struct{}
	URL               string
}

Jump to

Keyboard shortcuts

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