gulli

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gulli

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

Gulli provider gives access to Gulli catchup tv

func New

func New(conf ...func(p *Gulli)) (*Gulli, error)

New creates a Gulli provider with given configuration

func (*Gulli) GetShowFileName

func (p *Gulli) GetShowFileName(s *providers.Show) string

GetShowFileName return a file name with a path that is compatible with PLEX server:

ShowName/Season NN/ShowName - sNNeMM - Episode title
Show and Episode names are sanitized to avoid problem when saving on the file system

func (Gulli) GetShowFileNameMatcher

func (Gulli) GetShowFileNameMatcher(s *providers.Show) string

GetShowFileNameMatcher return a file pattern of this show used for detecting already got episode even when episode or season is different

func (*Gulli) GetShowInfo

func (p *Gulli) GetShowInfo(s *providers.Show) error

GetShowInfo gather show information from dedicated web page. It load the html page of the show to extract availability date used as airdate and production year as season

func (*Gulli) GetShowStreamURL

func (p *Gulli) GetShowStreamURL(s *providers.Show) (string, error)

GetShowStreamURL return the show's URL, a mp4 file

func (Gulli) Name

func (p Gulli) Name() string

Name return the name of the provider

func (*Gulli) SetDebug

func (p *Gulli) SetDebug(b bool)

SetDebug set debug mode

func (*Gulli) Shows

func (p *Gulli) Shows(mm []*providers.MatchRequest) ([]*providers.Show, error)

Shows download the shows catalog from the web site.

Jump to

Keyboard shortcuts

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