player

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultPath

func GetDefaultPath() string

GetDefaultPath returns the default MPV path for the current platform

func IsAvailable

func IsAvailable(mpvPath string) bool

IsAvailable checks if MPV is available on the system

func Play

func Play(streamURL, mpvPath string) error

Play launches MPV to play the given URL

func PlayMultiple

func PlayMultiple(streamURLs []string, mpvPath string) error

PlayMultiple launches MPV to play multiple URLs sequentially

Types

This section is empty.

Jump to

Keyboard shortcuts

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