New features

This commit is contained in:
nemunaire 2023-11-13 18:50:42 +01:00
commit a9c6cdcd0f
16 changed files with 584 additions and 19 deletions

15
inputs/interfaces.go Normal file
View file

@ -0,0 +1,15 @@
package inputs
import ()
var SoundInputs = map[string]SoundInput{}
type SoundInput interface {
GetName() string
IsActive() bool
CurrentlyPlaying() *string
}
type ControlableInput interface {
TogglePause() error
}