controller

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePlayList

func CreatePlayList(name string, client *rpc.Client)

func DetectAndAddToPlayList

func DetectAndAddToPlayList(
	name string,
	query string,
	client *rpc.Client,
) ([]shared.SearchResult, error)

func DetectAndPlay

func DetectAndPlay(query string, client *rpc.Client) ([]shared.SearchResult, error)

func GetClient

func GetClient() (*rpc.Client, error)

func GetPlayListsNames

func GetPlayListsNames(client *rpc.Client) []string

func GetPlayerStatus

func GetPlayerStatus(client *rpc.Client) shared.Status

func GetTheme

func GetTheme(client *rpc.Client) string

func Next

func Next(client *rpc.Client)

func Pause

func Pause(client *rpc.Client)

func PlayListMusics

func PlayListMusics(name string, client *rpc.Client) []string

func PlayListPlayAll

func PlayListPlayAll(name string, client *rpc.Client)

func PlayListPlayMusic

func PlayListPlayMusic(lname string, indexOrName shared.IntOrString, client *rpc.Client)

func Prev

func Prev(client *rpc.Client)

func Remove

func Remove(index interface{}, client *rpc.Client)

func RemoveMusicFromPlayList

func RemoveMusicFromPlayList(name string, indexOrName shared.IntOrString, client *rpc.Client)

func RemovePlayList

func RemovePlayList(name string, client *rpc.Client)

func Resume

func Resume(client *rpc.Client)

func Seek

func Seek(d int, client *rpc.Client)

func SetTheme

func SetTheme(theme string, client *rpc.Client)

func Stop

func Stop(client *rpc.Client)

func Volume

func Volume(vp uint8, client *rpc.Client)

Types

This section is empty.

Jump to

Keyboard shortcuts

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