remove NewMixerKind

This commit is contained in:
2026-01-31 01:41:44 +00:00
parent aabe33c8e5
commit 44032b4ad4
2 changed files with 2 additions and 13 deletions

View File

@@ -28,13 +28,13 @@ various commands to manage mixer settings directly from the terminal.`,
}
log.SetLevel(level)
kind := xair.NewMixerKind(viper.GetString("kind"))
kind := viper.GetString("kind")
log.Debugf("Initializing client for mixer kind: %s", kind)
client, err := xair.NewClient(
viper.GetString("host"),
viper.GetInt("port"),
xair.WithKind(string(kind)),
xair.WithKind(kind),
)
if err != nil {
return err