Can control playlist
This commit is contained in:
parent
1d091be264
commit
f7760416b9
7 changed files with 257 additions and 10 deletions
|
|
@ -22,6 +22,12 @@ type ControlableInput interface {
|
|||
TogglePause(string) error
|
||||
}
|
||||
|
||||
type PlaylistInput interface {
|
||||
HasPlaylist() bool
|
||||
NextTrack() error
|
||||
PreviousTrack() error
|
||||
}
|
||||
|
||||
type MixableInput interface {
|
||||
GetMixers() (map[string]*InputMixer, error)
|
||||
SetMixer(string, *InputMixer) error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue