pluto

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: OSL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Base = []FileBase{
	{"http", "silo-hybrik.pluto.tv.s3.amazonaws.com", "200 OK"},
	{"http", "siloh-fs.plutotv.net", "403 OK"},
	{"http", "siloh-ns1.plutotv.net", "403 OK"},
	{"https", "siloh-fs.plutotv.net", "403 OK"},
	{"https", "siloh-ns1.plutotv.net", "403 OK"},
}

Functions

This section is empty.

Types

type Address

type Address [2]string

func (*Address) Set

func (a *Address) Set(text string) error

func (Address) String

func (a Address) String() string

func (Address) Video

func (a Address) Video(forward string) (*OnDemand, error)

type EpisodeClip

type EpisodeClip struct {
	Sources []struct {
		File Url
		Type string
	}
}

func (*EpisodeClip) Dash

func (e *EpisodeClip) Dash() (*url.URL, bool)

type FileBase

type FileBase struct {
	Scheme string
	Host   string
	Status string
}

type OnDemand

type OnDemand struct {
	Episode string `json:"_id"`
	Id      string
	Name    string
	Seasons []*VideoSeason
	Slug    string
	// contains filtered or unexported fields
}

func (OnDemand) Clip

func (o OnDemand) Clip() (*EpisodeClip, error)

type Url

type Url struct {
	Url url.URL
}

func (*Url) UnmarshalText

func (u *Url) UnmarshalText(text []byte) error

type VideoSeason

type VideoSeason struct {
	Episodes []*OnDemand
	// contains filtered or unexported fields
}

type Wrapper added in v1.9.9

type Wrapper struct{}

func (Wrapper) Wrap added in v1.9.9

func (Wrapper) Wrap(data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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