package nbc

import "41.neocities.org/media/nbc"

Index

Types

type CoreVideo

type CoreVideo struct {
	DrmProxyUrl    string
	DrmProxySecret string
}

func (*CoreVideo) New

func (c *CoreVideo) New()

func (CoreVideo) RequestHeader

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

func (*CoreVideo) RequestUrl

func (c *CoreVideo) RequestUrl() (string, bool)

func (CoreVideo) UnwrapResponse

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

func (CoreVideo) WrapRequest

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

type Metadata

type Metadata struct {
	AirDate          time.Time
	EpisodeNumber    int `json:",string"`
	MovieShortTitle  string
	MpxAccountId     int64 `json:",string"`
	MpxGuid          int64 `json:",string"`
	ProgrammingType  string
	SeasonNumber     int `json:",string"`
	SecondaryTitle   string
	SeriesShortTitle string
}

func (*Metadata) Episode

func (m *Metadata) Episode() int

func (*Metadata) New

func (m *Metadata) New(guid int) error

func (*Metadata) OnDemand

func (m *Metadata) OnDemand() (*OnDemand, error)

func (*Metadata) Season

func (m *Metadata) Season() int

func (*Metadata) Show

func (m *Metadata) Show() string

func (*Metadata) Title

func (m *Metadata) Title() string

func (*Metadata) Year

func (m *Metadata) Year() int

type OnDemand

type OnDemand struct {
	PlaybackUrl string
}