nbc

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: OSL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	MPX_Account_ID     string `json:"mpxAccountId"`
	MPX_GUID           string `json:"mpxGuid"`
	Series_Short_Title string `json:"seriesShortTitle"`
	Season_Number      int64  `json:"seasonNumber,string"`
	Episode_Number     int64  `json:"episodeNumber,string"`
	Secondary_Title    string `json:"secondaryTitle"`
	Air_Date           string `json:"airDate"`
}

func New_Metadata

func New_Metadata(guid int64) (*Metadata, error)

func (Metadata) Date

func (m Metadata) Date() (time.Time, error)

func (Metadata) Episode

func (m Metadata) Episode() (int64, error)

func (Metadata) Season

func (m Metadata) Season() (int64, error)

func (Metadata) Series

func (m Metadata) Series() string

func (Metadata) Title

func (m Metadata) Title() string

func (Metadata) Video

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

type Video

type Video struct {
	// this is only valid for one minute
	Manifest_Path string `json:"manifestPath"`
}

Jump to

Keyboard shortcuts

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