francetv

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderName = "francetv"
)

Provider constants

Variables

This section is empty.

Functions

This section is empty.

Types

type FTVPlayerVideo added in v0.13.0

type FTVPlayerVideo struct {
	ContentID int    `json:"contentId"`
	VideoID   string `json:"videoId"`
}

type FranceTV

type FranceTV struct {
	// contains filtered or unexported fields
}

FranceTV structure handles france-tv catalog of shows

func New

func New() (*FranceTV, error)

New setup a Show provider for France Télévisions

func (*FranceTV) Configure added in v0.8.0

func (p *FranceTV) Configure(fns ...providers.ProviderConfigFn)

func (*FranceTV) GetMediaDetails added in v0.7.0

func (p *FranceTV) GetMediaDetails(ctx context.Context, m *media.Media) error

func (*FranceTV) MediaList added in v0.7.0

func (p *FranceTV) MediaList(ctx context.Context, mm []*matcher.MatchRequest) chan *media.Media

MediaList return media that match with matching list.

func (FranceTV) Name

func (FranceTV) Name() string

Name return the name of the provider

type Options added in v0.12.0

type Options struct {
	ContentsLimit   int    `json:"contentsLimit,omitempty"`
	TaxonomiesLimit int    `json:"taxonomiesLimit,omitempty"`
	Types           string `json:"types"`
}

type RequestPayLoad added in v0.12.0

type RequestPayLoad struct {
	Term    string   `json:"term"`
	Signal  Signal   `json:"signal"`
	Options *Options `json:"options,omitempty"`
}

type Signal added in v0.12.0

type Signal struct {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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