mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
Complete preset management implementation
- Add comprehensive preset reading functionality with helper methods - Implement GetNextAvailablePresetSlot() and IsCurrentContentPresetable() - Add CLI support for viewing presets with -presets flag - Fix Preset XML tag to use lowercase 'preset' for API compliance - Update documentation to reflect official API design: * GET /presets: fully implemented with rich analysis * POST /presets: officially 'N/A' per Bose documentation (not supported by design) - Add detailed PRESET-MANAGEMENT.md documentation - Update API endpoints overview and project status - All tests passing with real device validation Preset management is now 100% complete according to official API specification. Read operations provide comprehensive preset analysis, while creation is intentionally handled by official app/hardware controls per API design.
This commit is contained in:
@@ -52,7 +52,7 @@ func main() {
|
||||
sources = flag.Bool("sources", false, "Get available audio sources")
|
||||
name = flag.Bool("name", false, "Get device name")
|
||||
capabilities = flag.Bool("capabilities", false, "Get device capabilities")
|
||||
presets = flag.Bool("presets", false, "Get configured presets")
|
||||
presets = flag.Bool("presets", false, "Get configured presets (requires -host)")
|
||||
key = flag.String("key", "", "Send key command (PLAY, PAUSE, STOP, PREV_TRACK, NEXT_TRACK, THUMBS_UP, THUMBS_DOWN, BOOKMARK, POWER, MUTE, VOLUME_UP, VOLUME_DOWN, PRESET_1-6, AUX_INPUT, SHUFFLE_OFF, SHUFFLE_ON, REPEAT_OFF, REPEAT_ONE, REPEAT_ALL)")
|
||||
play = flag.Bool("play", false, "Send PLAY key command")
|
||||
pause = flag.Bool("pause", false, "Send PAUSE key command")
|
||||
|
||||
Reference in New Issue
Block a user