Documentation ¶
Index ¶
- Variables
- func MPVArg(k string, v any) string
- type Jukebox
- func (j *Jukebox) AppendToPlaylist(items []string) error
- func (j *Jukebox) ClearPlaylist() error
- func (j *Jukebox) GetPlaylist() ([]string, error)
- func (j *Jukebox) GetStatus() (*Status, error)
- func (j *Jukebox) GetVolumePct() (float64, error)
- func (j *Jukebox) Pause() error
- func (j *Jukebox) Play() error
- func (j *Jukebox) RemovePlaylistIndex(i int) error
- func (j *Jukebox) SetPlaylist(items []string) error
- func (j *Jukebox) SetVolumePct(v int) error
- func (j *Jukebox) SkipToPlaylistIndex(i int, offsetSecs int) error
- func (j *Jukebox) Start(ctx context.Context, sockPath string, mpvExtraArgs []string) error
- type Status
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Jukebox ¶
type Jukebox struct {
// contains filtered or unexported fields
}
func (*Jukebox) AppendToPlaylist ¶
func (*Jukebox) ClearPlaylist ¶
func (*Jukebox) GetPlaylist ¶
func (*Jukebox) GetVolumePct ¶
func (*Jukebox) RemovePlaylistIndex ¶
func (*Jukebox) SetPlaylist ¶
func (*Jukebox) SetVolumePct ¶
func (*Jukebox) SkipToPlaylistIndex ¶
Click to show internal directories.
Click to hide internal directories.