play
Play an audio file
conhive-agent audiomanagement play
Description
Section titled “Description”Plays the specified audio file using the system’s default audio output device. Requires the path to the audio file, typically provided via a JSON payload or a dedicated flag (e.g., —file-path). Uses FFplay/FFmpeg for playback.
conhive-agent audiomanagement play [flags]
Examples
Section titled “Examples”am play --json '{"file_path":"/data/recordings/meeting_audio.mp3"}'
Options
Section titled “Options” -h, --help help for play --json string JSON input (required) (with default values): { "filePath": "", "volume": 50, "channel": 1, "maxPlayDurationSec": 3600 }
Options inherited from parent commands
Section titled “Options inherited from parent commands” -f, --log-format string Specify the logging format (options: console, json) (default "text") -l, --log-level string Define the logging level (options: trace, debug, info, warn, error, fatal, panic) (default "info") -o, --log-to-file Enable logging to a file (default true) -p, --port int32 Port to run the server on (default 5050) -w, --workdir string Set the working directory for agent operations (default: $HOME/.conhive)
SEE ALSO
Section titled “SEE ALSO”conhive-agent audiomanagement
- Manage audio operations (record, play, analyze)