playback

package
v0.0.0-...-26e526f Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController() *Controller

func (*Controller) Close

func (c *Controller) Close() error

func (*Controller) Playing

func (c *Controller) Playing() bool

func (*Controller) SetSongElapsedFunc

func (c *Controller) SetSongElapsedFunc(f func(elapsed time.Duration))

func (*Controller) SetSongEndedFunc

func (c *Controller) SetSongEndedFunc(f func(song *subsonic.Child))

func (*Controller) Stop

func (c *Controller) Stop()

func (*Controller) Stream

func (c *Controller) Stream(reader io.Reader, song *subsonic.Child)

func (*Controller) TogglePlayPause

func (c *Controller) TogglePlayPause()

Jump to

Keyboard shortcuts

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