mediahandler

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MediaDir    string
	NoTag       bool
	NoRecursive bool
)

Global flags set in main function.

Functions

func GetMedia

func GetMedia(MediaBaseURL, ImageBaseURL *url.URL) (*xspf.PlayList, error)

func WriteToStdout

func WriteToStdout() error

Types

type ImageFS

type ImageFS struct {
	Mfs *MediaFS
}

func (*ImageFS) Open

func (ifs *ImageFS) Open(name string) (http.File, error)

type MediaFS

type MediaFS struct {
	Fs http.FileSystem
}

func (*MediaFS) Open

func (mfs *MediaFS) Open(name string) (http.File, error)

Jump to

Keyboard shortcuts

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