misc

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

func NewGenerator

func NewGenerator(storage domain.Storage) *Generator

func (*Generator) GetPreview added in v0.0.4

func (g *Generator) GetPreview(ctx context.Context, sourceURL string, duration float64, urlPattern string, config domain.PreviewConfig) ([]byte, error)

func (*Generator) GetSprite

func (g *Generator) GetSprite(ctx context.Context, sourceURL string, duration float64, urlPattern string, index int) ([]byte, error)

func (*Generator) GetSpriteVTT

func (g *Generator) GetSpriteVTT(ctx context.Context, sourceURL string, duration float64, urlPattern string) ([]byte, error)

func (*Generator) GetSubtitles

func (g *Generator) GetSubtitles(ctx context.Context, sourceURL string, streamIndex int, lang string) ([]byte, error)

func (*Generator) GetThumbnail added in v0.0.5

func (g *Generator) GetThumbnail(ctx context.Context, sourceURL string, duration float64, urlPattern string, config domain.ThumbnailConfig) ([]byte, error)

Jump to

Keyboard shortcuts

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