roku

package
v1.53.6 Latest Latest
Warning

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

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

README

Roku

Android client

just a remote control:

https://play.google.com/store/apps/details?id=com.roku.remote

Do all videos use same key?

No:

&{Keys:[{Key:dfe1a0cd4da4985768deded2f3c2647c:2dc281ab518a80ee74232e5cc387e124}]}

https://therokuchannel.roku.com/watch/b11e1b6695a45b959083f52781afc643

&{Keys:[{Key:8d5d5ec730c9744fd0b251f093b1bc74:882ac20238c7e6c7893b47b5f7a87941}]}

https://therokuchannel.roku.com/watch/a71ffb29b5ab54f09c7ff7a15503f01a

Web free

Plain:

https://therokuchannel.roku.com/watch/105c41ea75775968b670fbb26978ed76

DRM:

https://therokuchannel.roku.com/watch/934102524ea6524eb7d1faa29233695a

Web premium

https://therokuchannel.roku.com/watch/32c95b576307502b98f7fe32c4aa0a22

My free trial has expired.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

func ContentID added in v1.53.4

func ContentID(addr string) string

Types

type Content

type Content struct {
	Meta struct {
		ID        string
		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) DASH added in v1.52.7

func (c Content) DASH() *Video

func (Content) Duration

func (c Content) Duration() time.Duration

func (Content) Format

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

func (Content) HLS added in v1.52.7

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

type CrossSite added in v1.53.0

type CrossSite struct {
	// contains filtered or unexported fields
}

func NewCrossSite added in v1.53.0

func NewCrossSite() (*CrossSite, error)

func (CrossSite) Playback added in v1.53.0

func (c CrossSite) Playback(id string) (*Playback, error)

type Playback added in v1.53.0

type Playback struct {
	DRM struct {
		Widevine struct {
			LicenseServer string
		}
	}
}

type Video

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

Jump to

Keyboard shortcuts

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