internal

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: OSL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NameFormat = "{{if .Show}}" +
	"{{.Show}} - {{.Season}} {{.Episode}} - {{.Title}}" +
	"{{else}}" +
	"{{.Title}} - {{.Year}}" +
	"{{end}}"

Functions

func CleanName added in v1.8.3

func CleanName(s string) string

func Name added in v1.8.3

func Name(n Namer) (string, error)

Types

type HttpStream

type HttpStream struct {
	ClientId   string
	PrivateKey string
	Name       Namer
	Poster     widevine.Poster
}

wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP

func (HttpStream) DASH

func (h HttpStream) DASH(rep *dash.Representation) error

func (*HttpStream) DashMedia

func (h *HttpStream) DashMedia(url string) ([]*dash.Representation, error)

func (HttpStream) TimedText added in v1.8.1

func (h HttpStream) TimedText(url string) error

type Namer added in v1.8.3

type Namer interface {
	Show() string
	Season() int
	Episode() int
	Title() string
	Year() int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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