From 258b9e747104a4eb7a88edd74f12a1c59d788073 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sat, 27 Jun 2026 21:29:40 +0200 Subject: [PATCH] chore(cli): list `speaker url-upnp` in `speaker help` The help text still listed only tts/url/beep/notify. Add the UPnP AVTransport option (no app key, no DNS; http:// only, replaces source). Co-Authored-By: Claude Opus 4.8 --- cmd/soundtouch-cli/cmd_speaker.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/soundtouch-cli/cmd_speaker.go b/cmd/soundtouch-cli/cmd_speaker.go index 33d1ac1..3e84467 100644 --- a/cmd/soundtouch-cli/cmd_speaker.go +++ b/cmd/soundtouch-cli/cmd_speaker.go @@ -227,6 +227,11 @@ func showSpeakerHelp(_ *cli.Context) error { fmt.Println(" Play audio files from HTTP/HTTPS URLs") fmt.Println(" Example: soundtouch-cli speaker url --url \"https://example.com/audio.mp3\" --app-key YOUR_KEY") fmt.Println() + fmt.Println("• URL via UPnP/AVTransport (no app key, no DNS):") + fmt.Println(" Play an http:// audio URL directly via the speaker's UPnP renderer.") + fmt.Println(" Replaces the current source; http:// only (https is rejected).") + fmt.Println(" Example: soundtouch-cli speaker url-upnp --url \"http://192.0.2.10/audio.mp3\"") + fmt.Println() fmt.Println("• Notification Beep:") fmt.Println(" Play a simple notification sound") fmt.Println(" Example: soundtouch-cli speaker beep")