Documentation ¶
Index ¶
- func WithGetter(g getter) func(p *ArteTV)
- type ArteTV
- func (p *ArteTV) GetShowFileName(s *providers.Show) string
- func (ArteTV) GetShowFileNameMatcher(s *providers.Show) string
- func (p *ArteTV) GetShowInfo(s *providers.Show) error
- func (p *ArteTV) GetShowStreamURL(s *providers.Show) (string, error)
- func (p ArteTV) Name() string
- func (p *ArteTV) SetDebug(b bool)
- func (p *ArteTV) Shows(mm []*providers.MatchRequest) ([]*providers.Show, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithGetter ¶
func WithGetter(g getter) func(p *ArteTV)
WithGetter inject a getter in FranceTV object instead of normal one
Types ¶
type ArteTV ¶
type ArteTV struct {
// contains filtered or unexported fields
}
ArteTV structure handles arte catalog of shows
func (*ArteTV) GetShowFileName ¶
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 (ArteTV) GetShowFileNameMatcher ¶
GetShowFileNameMatcher return a file pattern of this show used for detecting already got episode even when episode or season is different
func (*ArteTV) GetShowInfo ¶
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 (*ArteTV) GetShowStreamURL ¶
GetShowStreamURL return the show's URL, a mp4 file
Click to show internal directories.
Click to hide internal directories.