Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Playout ¶
type Playout struct { Meta struct { ID string `json:"id"` } `json:"meta"` Data []struct { Subtitles []struct { Lang string `json:"lang"` Type string `json:"type"` URI string `json:"uri"` } `json:"subtitles"` Protocol string `json:"protocol"` Multibitrate bool `json:"multibitrate"` Formatof string `json:"formatOf"` Width int `json:"width"` Type string `json:"type"` URL string `json:"url"` Live bool `json:"live"` Protectiontype string `json:"protectionType"` Height int `json:"height"` } `json:"data"` Notifications struct { } `json:"notifications"` }
func (*Playout) EncodedURL ¶
EncodedURL get the url for playout
func (*Playout) SubtitleURL ¶
type Program ¶
type Program struct { Apiversion string `json:"apiVersion"` Data struct { Alternativeid []string `json:"alternativeId"` Audio []struct { Format []struct { Inscheme string `json:"inScheme"` Key string `json:"key"` Type string `json:"type"` } `json:"format"` Language []string `json:"language"` Type string `json:"type"` } `json:"audio"` Collection string `json:"collection"` Contentrating struct { Agerestriction int `json:"ageRestriction"` Ratingsystem string `json:"ratingSystem"` Reason []struct { Key string `json:"key"` Title struct { En string `json:"en"` Fi string `json:"fi"` Sv string `json:"sv"` } `json:"title"` Type string `json:"type"` } `json:"reason"` Title struct { En string `json:"en"` Fi string `json:"fi"` Sv string `json:"sv"` } `json:"title"` Type string `json:"type"` } `json:"contentRating"` Countryoforigin []string `json:"countryOfOrigin"` Creator []struct { Name string `json:"name"` Type string `json:"type"` } `json:"creator"` Description struct { Fi string `json:"fi"` Sv string `json:"sv"` } `json:"description"` Duration string `json:"duration"` Episodenumber int `json:"episodeNumber"` ID string `json:"id"` Image struct { Available bool `json:"available"` ID string `json:"id"` Type string `json:"type"` Version int `json:"version"` } `json:"image"` Indexdatamodified time.Time `json:"indexDataModified"` Itemtitle struct { Fi string `json:"fi"` } `json:"itemTitle"` Originaltitle struct { Unknown string `json:"unknown"` } `json:"originalTitle"` Partofseries struct { Countryoforigin []string `json:"countryOfOrigin"` Coverimage struct { Available bool `json:"available"` ID string `json:"id"` Type string `json:"type"` Version int `json:"version"` } `json:"coverImage"` Creator []struct { Name string `json:"name"` Type string `json:"type"` } `json:"creator"` Description struct { Fi string `json:"fi"` } `json:"description"` ID string `json:"id"` Image struct { Available bool `json:"available"` ID string `json:"id"` Type string `json:"type"` Version int `json:"version"` } `json:"image"` Indexdatamodified time.Time `json:"indexDataModified"` Interactions []struct { Title struct { Fi string `json:"fi"` } `json:"title"` Type string `json:"type"` URL string `json:"url"` } `json:"interactions"` Subject []struct { Broader struct { ID string `json:"id"` } `json:"broader"` ID string `json:"id"` Inscheme string `json:"inScheme"` Key string `json:"key"` Title struct { Fi string `json:"fi"` Sv string `json:"sv"` } `json:"title"` Type string `json:"type"` } `json:"subject"` Title struct { Fi string `json:"fi"` Sv string `json:"sv"` } `json:"title"` Type string `json:"type"` } `json:"partOfSeries"` Productionid string `json:"productionId"` Publicationevent []struct { Duration string `json:"duration"` Endtime time.Time `json:"endTime"` ID string `json:"id"` Media struct { Available bool `json:"available"` ID string `json:"id"` Duration string `json:"duration"` } `json:"media"` Region string `json:"region"` Service struct { ID string `json:"id"` } `json:"service"` Starttime time.Time `json:"startTime"` Temporalstatus string `json:"temporalStatus"` Type string `json:"type"` } `json:"publicationEvent"` Subject []struct { Broader struct { ID string `json:"id"` } `json:"broader"` ID string `json:"id"` Inscheme string `json:"inScheme"` Key string `json:"key"` Title struct { Fi string `json:"fi"` Sv string `json:"sv"` } `json:"title"` Type string `json:"type"` } `json:"subject"` Subtitling []struct { Language []string `json:"language"` Type string `json:"type"` } `json:"subtitling"` Title struct { Fi string `json:"fi"` Sv string `json:"sv"` } `json:"title"` Type string `json:"type"` Typecreative string `json:"typeCreative"` Typemedia string `json:"typeMedia"` Video struct { Format []struct { Inscheme string `json:"inScheme"` Key string `json:"key"` Type string `json:"type"` } `json:"format"` Language []interface{} `json:"language"` Type string `json:"type"` } `json:"video"` } `json:"data"` Meta struct { ID string `json:"id"` } `json:"meta"` }
Program details
Click to show internal directories.
Click to hide internal directories.