Documentation ¶
Index ¶
- type APIResult
- type AlternativeLanguages
- type ArteTV
- type Availability
- type Code
- type Credits
- type Data
- type Datakey
- type DisplayOptions
- type Image
- type Images
- type InitialProgram
- type Kind
- type Page
- type Pages
- type Player
- type Resolutions
- type SearchAPI
- type Stickers
- type StreamInfo
- type VSR
- type VTU
- type VideoJSONPlayer
- type Zones
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlternativeLanguages ¶ added in v0.2.0
type ArteTV ¶
type ArteTV struct {
// contains filtered or unexported fields
}
ArteTV structure handles arte catalog of shows
func (*ArteTV) Configure ¶ added in v0.8.0
func (p *ArteTV) Configure(fns ...providers.ProviderConfigFn)
func (*ArteTV) GetMediaDetails ¶ added in v0.7.0
GetMediaDetails return the media's URL, a mp4 file
type Availability ¶ added in v0.13.0
type Data ¶ added in v0.2.0
type Data struct { ID string `json:"id"` Type string `json:"type"` Kind Kind `json:"kind"` ProgramID string `json:"programId"` URL string `json:"url"` Deeplink string `json:"deeplink"` Title string `json:"title"` Description string `json:"description"` ShortDescription string `json:"shortDescription"` FullDescription string `json:"fullDescription"` Subtitle string `json:"subtitle"` Images map[string]Image `json:"images"` Stickers []Stickers `json:"stickers"` ChildrenCount interface{} `json:"childrenCount"` Geoblocking interface{} `json:"geoblocking"` Duration int `json:"duration"` Player Player `json:"player"` Availability Availability `json:"availability"` BroadcastDates []tsUTC `json:"broadcastDates"` Credits []Credits `json:"credits"` AgeRating int `json:"ageRating"` }
type DisplayOptions ¶ added in v0.2.0
type Image ¶ added in v0.2.0
type Image struct { Caption string `json:"caption"` Resolutions []Resolutions `json:"resolutions"` BlurURL string `json:"blurUrl"` }
type InitialProgram ¶ added in v0.13.0
type Page ¶ added in v0.13.0
type Page struct { ID string `json:"id"` Page string `json:"page"` Language string `json:"language"` Support string `json:"support"` Level int `json:"level"` URL string `json:"url"` Deeplink string `json:"deeplink"` Title string `json:"title"` Description string `json:"description"` Slug string `json:"slug"` Zones []Zones `json:"zones"` }
type Resolutions ¶ added in v0.2.0
type SearchAPI ¶ added in v0.2.0
type SearchAPI struct { ID string `json:"id"` Page string `json:"page"` Language string `json:"language"` Support string `json:"support"` Level int `json:"level"` Parent interface{} `json:"parent"` AlternativeLanguages []AlternativeLanguages `json:"alternativeLanguages"` URL string `json:"url"` Deeplink string `json:"deeplink"` Title string `json:"title"` Description string `json:"description"` Slug string `json:"slug"` Zones []Zones `json:"zones"` }
type StreamInfo ¶ added in v0.2.0
type StreamInfo struct { ID string `json:"id"` Quality string `json:"quality"` Width int `json:"width"` Height int `json:"height"` MediaType string `json:"mediaType"` MimeType string `json:"mimeType"` Bitrate int `json:"bitrate"` URL string `json:"url"` VersionProg int `json:"versionProg"` VersionCode string `json:"versionCode"` VersionLibelle string `json:"versionLibelle"` VersionShortLibelle string `json:"versionShortLibelle"` }
type VSR ¶ added in v0.2.0
type VSR map[string]StreamInfo
type VideoJSONPlayer ¶ added in v0.2.0
type VideoJSONPlayer struct { VID string `json:"VID"` VPI string `json:"VPI"` VideoDurationSeconds int `json:"videoDurationSeconds"` VideoIsoLang string `json:"videoIsoLang"` VTY string `json:"VTY"` VTX string `json:"VTX"` VTI string `json:"VTI"` VDU int `json:"VDU"` TcStartFrom int `json:"tc_start_from"` Autostart bool `json:"autostart"` LiveStreamRights bool `json:"liveStreamRights"` VGB string `json:"VGB"` VRA tsPlayer `json:"VRA"` VRU tsPlayer `json:"VRU"` VAD bool `json:"VAD"` VideoWarning bool `json:"videoWarning"` VTU VTU `json:"VTU"` VTR string `json:"VTR"` VUP string `json:"VUP"` V7T string `json:"V7T"` VDE string `json:"VDE"` Postroll string `json:"postroll"` VSR VSR `json:"VSR"` // Tracking Tracking `json:"tracking"` Platform string `json:"platform"` VideoPlayerURL string `json:"videoPlayerUrl"` CaseProgram string `json:"caseProgram"` // Categories []Categories `json:"categories"` // Category Category `json:"category"` // Subcategory Subcategory `json:"subcategory"` Language string `json:"language"` ProgramID string `json:"programId"` Genre string `json:"genre"` MainPlatformCode string `json:"mainPlatformCode"` VSO string `json:"VSO"` Kind string `json:"kind"` KindLabel string `json:"kindLabel"` Collections []interface{} `json:"collections"` ArteClub bool `json:"arteClub"` ProgramType string `json:"programType"` ParentProgramID string `json:"parentProgramId"` Markings []interface{} `json:"markings"` // Adtech Adtech `json:"adtech"` // EStat EStat `json:"eStat"` // Smart Smart `json:"smart"` Illico bool `json:"illico"` EnablePreroll bool `json:"enablePreroll"` }
type Zones ¶ added in v0.2.0
type Zones struct { ID string `json:"id"` Code Code `json:"code"` Title string `json:"title"` Description interface{} `json:"description"` DisplayOptions DisplayOptions `json:"displayOptions"` Link interface{} `json:"link"` PageNumber int `json:"pageNumber"` NextPage interface{} `json:"nextPage"` Data []Data `json:"data"` }
Click to show internal directories.
Click to hide internal directories.