template

package
v0.13.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAutoSearchMessage

func GetAutoSearchMessage(program db.Program, service db.Service, programMessageURL string) (string, error)

func GetProgramMessage

func GetProgramMessage(program db.Program, service db.Service) (string, error)

func GetRecordingFailedMessage

func GetRecordingFailedMessage(program db.Program, service db.Service, contentPath string, reason string) (string, error)

func GetRecordingStartedMessage

func GetRecordingStartedMessage(program db.Program, service db.Service, contentPath string) (string, error)

func GetRecordingStoppedMessage

func GetRecordingStoppedMessage(program db.Program, service db.Service, contentPath string) (string, error)

Types

type PathProgram

type PathProgram struct {
	Name      string
	StartTime time.Time
}

type PathService

type PathService struct {
	Name string
}

type PathTemplateData

type PathTemplateData struct {
	Program  PathProgram `json:"-"`
	Service  PathService `json:"-"`
	Title    string      `json:"title"`
	Subtitle string      `json:"subtitle"`
	Episode  int32       `json:"episode"`
}

Jump to

Keyboard shortcuts

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