feat: implement source selection (POST /select)

- Add complete source selection functionality via POST /select endpoint
- Implement SelectSource() with all source types (SPOTIFY, BLUETOOTH, AUX, etc.)
- Add convenience methods: SelectSpotify(), SelectBluetooth(), SelectAux(), SelectTuneIn(), SelectPandora()
- Add SelectSourceFromItem() for working with SourceItem objects
- Add CLI flags: -select-source, -source-account, -spotify, -bluetooth, -aux
- Create comprehensive test suite (30+ test cases) with mock servers
- Add integration tests with real device validation (SoundTouch 10/20)
- Update documentation with complete SOURCE-SELECTION.md guide
- Update API endpoints status (POST /select:  Implemented)
- Update project status (50% overall completion, 60% control endpoints)
- Real device testing with Spotify and TuneIn source selection
- Error handling for invalid sources and API responses
- XML request format validation and compliance
This commit is contained in:
Tobias Gesellchen
2026-01-09 09:09:42 +01:00
parent e46f050e45
commit 65a46fd958
7 changed files with 1555 additions and 48 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ Retrieves the available audio sources.
- `AUX`
- `STORED_MUSIC`
### POST /select 🔄 **Planned**
### POST /select **Implemented**
Selects an audio source.
**Request XML:**