nbc

package
v1.6.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: OSL-3.0 Imports: 10 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 {
	Air_Date           string  `json:"airDate"`
	MPX_Account_ID     string  `json:"mpxAccountId"`
	MPX_GUID           string  `json:"mpxGuid"`
	Secondary_Title    string  `json:"secondaryTitle"`
	Series_Short_Title *string `json:"seriesShortTitle"`
	Season_Number      *int64  `json:"seasonNumber,string"`
	Episode_Number     *int64  `json:"episodeNumber,string"`
}

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) On_Demand added in v1.6.7

func (m Metadata) On_Demand() (*On_Demand, 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

type On_Demand added in v1.6.7

type On_Demand 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