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() (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 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 (m *Metadata) Episode() int
func (m *Metadata) New(guid int) error
func (m *Metadata) OnDemand() (*OnDemand, error)
func (m *Metadata) Season() int
func (m *Metadata) Show() string
func (m *Metadata) Title() string
func (m *Metadata) Year() int
type OnDemand
type OnDemand struct {
PlaybackUrl string
}