roku

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: OSL-3.0 Imports: 8 Imported by: 0

README

Roku

free:

https://therokuchannel.roku.com/watch/597a64a4a25c5bf6af4a8c7053049a6f

paid:

https://therokuchannel.roku.com/details/cc3aa3e3ea675a36b831ab58efb3301f

Android

com.roku.web.trc is The Roku Channel (Android TV):

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

> play -i com.roku.web.trc -t
details[6] = Roku, Inc. & its affiliates
details[8] = 0 USD
details[13][1][4] = 1.1.15
details[13][1][16] = Oct 31, 2023
details[13][1][17] = APK APK APK APK
details[13][1][82][1][1] = 5.0 and up
downloads = 394.82 thousand
name = The Roku Channel
size = 9.93 megabyte
version code = 10017

create Android 9 device. install system certificate.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountToken added in v1.9.1

type AccountToken struct {
	AuthToken string
}

func (AccountToken) Code added in v1.9.4

func (a AccountToken) Code() (*ActivationCode, error)

func (*AccountToken) New added in v1.9.1

func (a *AccountToken) New(token *ActivationToken) error

token can be nil

func (AccountToken) Playback added in v1.9.1

func (a AccountToken) Playback(roku_id string) (*Playback, error)

type ActivationCode added in v1.9.4

type ActivationCode struct {
	Account AccountToken
	V       struct {
		Code string
	}
}

func (ActivationCode) Marshal added in v1.9.4

func (a ActivationCode) Marshal() ([]byte, error)

func (ActivationCode) String added in v1.9.4

func (a ActivationCode) String() string

func (ActivationCode) Token added in v1.9.4

func (a ActivationCode) Token() (*ActivationToken, error)

func (*ActivationCode) Unmarshal added in v1.9.4

func (a *ActivationCode) Unmarshal(text []byte) error

type ActivationToken added in v1.9.4

type ActivationToken struct {
	Data []byte
	V    struct {
		Token string
	}
}

func (*ActivationToken) Unmarshal added in v1.9.4

func (a *ActivationToken) Unmarshal() error

type HomeScreen added in v1.7.7

type HomeScreen struct {
	EpisodeNumber int       `json:",string"`
	ReleaseDate   time.Time // 2007-01-01T000000Z
	SeasonNumber  int       `json:",string"`
	Series        *struct {
		Title string
	}
	Title string
}

func (*HomeScreen) New added in v1.7.7

func (h *HomeScreen) New(id string) error

type Namer added in v1.8.3

type Namer struct {
	H HomeScreen
}

func (Namer) Episode added in v1.8.3

func (n Namer) Episode() int

func (Namer) Season added in v1.8.3

func (n Namer) Season() int

func (Namer) Show added in v1.8.3

func (n Namer) Show() string

func (Namer) Title added in v1.8.3

func (n Namer) Title() string

func (Namer) Year added in v1.8.3

func (n Namer) Year() int

type Playback

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

func (Playback) RequestHeader added in v1.7.7

func (Playback) RequestHeader() (http.Header, error)

func (Playback) RequestUrl added in v1.7.7

func (p Playback) RequestUrl() (string, bool)

func (Playback) UnwrapResponse added in v1.8.9

func (Playback) UnwrapResponse(b []byte) ([]byte, error)

func (Playback) WrapRequest added in v1.8.9

func (Playback) WrapRequest(b []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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