mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 09:06:14 +00:00
Enhanced Key Support: • Expanded from 13 to 24 total key commands • Added power and system controls (POWER, MUTE) • Added rating controls (THUMBS_UP, THUMBS_DOWN, BOOKMARK) • Added playback mode controls (SHUFFLE_OFF/ON, REPEAT_OFF/ONE/ALL) • Added input controls (AUX_INPUT) • Organized keys into logical categories for better documentation CLI Enhancements: • New direct command flags: -power, -mute, -thumbs-up, -thumbs-down • Enhanced help output with categorized key listing • Updated flag descriptions to show all available keys • Added practical examples for new key commands Technical Improvements: • Updated IsValidKey() validation for all 24 keys • Enhanced GetAllValidKeys() to return complete key set • Comprehensive test coverage for all new key constants • Proper error handling and validation for new commands Real Device Testing: • POWER command tested successfully on SoundTouch device • MUTE command tested successfully on SoundTouch device • All new keys follow proper press+release pattern • Maintains backward compatibility with existing commands Documentation Updates: • API-Endpoints-Overview.md - Complete categorized key reference • KEY-CONTROLS.md - Enhanced with all playback, rating, and system controls • STATUS.md - Updated project status to reflect completed key implementation • CLI help output shows all 24 keys with usage examples Key Categories Implemented: - Playback Controls (5 keys): PLAY, PAUSE, STOP, PREV_TRACK, NEXT_TRACK - Rating Controls (3 keys): THUMBS_UP, THUMBS_DOWN, BOOKMARK - Power/System Controls (2 keys): POWER, MUTE - Volume Controls (2 keys): VOLUME_UP, VOLUME_DOWN - Preset Controls (6 keys): PRESET_1 through PRESET_6 - Input Controls (1 key): AUX_INPUT - Shuffle Controls (2 keys): SHUFFLE_OFF, SHUFFLE_ON - Repeat Controls (3 keys): REPEAT_OFF, REPEAT_ONE, REPEAT_ALL This completes the key controls implementation phase with full API compliance and comprehensive device testing validation.
75 lines
821 B
Plaintext
75 lines
821 B
Plaintext
# Build artifacts
|
|
build/
|
|
dist/
|
|
*.exe
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# CLI binaries (should be in build/ directory)
|
|
#soundtouch-cli
|
|
#example-mdns
|
|
#example-upnp
|
|
|
|
# Environment configuration
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Test coverage reports
|
|
coverage.out
|
|
coverage.html
|
|
*.prof
|
|
|
|
# Go workspace file
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Dependency directories
|
|
vendor/
|
|
|
|
# IDE and editor files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
*.log
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# Runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# Optional npm cache directory
|
|
.npm
|
|
|
|
# Optional REPL history
|
|
.node_repl_history
|
|
|
|
# Output of 'npm pack'
|
|
*.tgz
|
|
|
|
# Yarn Integrity file
|
|
.yarn-integrity
|
|
|
|
# dotenv environment variables file (but keep .env.example)
|
|
!.env.example
|