media

package
v0.0.0-...-53ca941 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotDir     = errors.New("path exists but not a directory")
	ErrFileExists = errors.New("file exists")
)
View Source
var (
	ShouldQuit           = errors.New("should quit application now")
	PreviousSong         = errors.New("play previous song")
	NextSong             = errors.New("play next song")
	UnsupportedMediaType = errors.New("unsupported media type")

	PlayMedia           = bassPlayMedia
	IsSupportedFileType = bass.SupportedFileType
)

Functions

func AppendSongToM3U

func AppendSongToM3U(song provider.Song, origin bool, done chan string) error

AppendSongToM3U append song to M3U song song info struct origin origin URI or final URI, netease://12345 or https://music.163.com/12345.mp3 done notifier

func AppendSongsToM3U

func AppendSongsToM3U(songs provider.Songs, origin bool) error

func Finalize

func Finalize(screenPanelEnabled bool)

func Initialize

func Initialize(screenPanelEnabled bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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