API uses "playback", not "playbook"

This commit is contained in:
Frank W
2026-05-15 13:45:54 +02:00
committed by Tobias Gesellchen
parent 5ba0776787
commit 996faa0578
9 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ soundtouch-cli --host 192.168.1.100 preset store \
soundtouch-cli --host 192.168.1.100 preset store \
--slot 3 \
--source TUNEIN \
--location "/v1/playbook/station/s33828" \
--location "/v1/playback/station/s33828" \
--name "K-LOVE Radio"
```
@@ -103,7 +103,7 @@ Just replace `https://open.spotify.com/` with `spotify:` and `/` with `:`.
### Radio Stations
```bash
# TuneIn Radio
--source TUNEIN --location "/v1/playbook/station/s33828"
--source TUNEIN --location "/v1/playback/station/s33828"
# Internet Radio Stream
--source LOCAL_INTERNET_RADIO --location "https://stream.example.com/jazz"
@@ -249,7 +249,7 @@ soundtouch-cli --host 192.168.1.100 preset store \
# Kids' bedtime stories
soundtouch-cli --host 192.168.1.100 preset store \
--slot 3 --source TUNEIN \
--location "/v1/playbook/station/bedtime-stories" \
--location "/v1/playback/station/bedtime-stories" \
--name "Bedtime Stories"
```
+2 -2
View File
@@ -139,7 +139,7 @@ soundtouch-cli --host 192.168.1.10 preset store \
soundtouch-cli --host 192.168.1.10 preset store \
--slot 2 \
--source TUNEIN \
--location "/v1/playbook/station/s33828" \
--location "/v1/playback/station/s33828" \
--name "K-LOVE Radio"
# Store internet radio
@@ -956,7 +956,7 @@ soundtouch-cli --host 192.168.1.10 station add \
# Remove a station (use location from browse/search results)
soundtouch-cli --host 192.168.1.10 station remove \
--source TUNEIN \
--location "/v1/playbook/station/s33828"
--location "/v1/playback/station/s33828"
```
**Workflow Example - Discover and Play New Content:**
+1 -1
View File
@@ -474,7 +474,7 @@ Catch-all endpoint that signals the matching pre-flight probe channel. Used inte
#### `GET /bmx/registry/v1/services`
Returns available media services for device registration.
#### `GET /bmx/tunein/v1/playbook/station/{stationID}`
#### `GET /bmx/tunein/v1/playback/station/{stationID}`
Provides TuneIn station playback information.
#### `GET /bmx/tunein/v1/podcast/{podcastID}`
+3 -3
View File
@@ -309,7 +309,7 @@ Now Playing:
Track: K-LOVE Radio
Content Details:
Location: /v1/playbook/station/s33828
Location: /v1/playback/station/s33828
```
**LOCAL_INTERNET_RADIO:**
@@ -341,7 +341,7 @@ go run ./cmd/soundtouch-cli --host 192.168.1.100 play now --verbose
Shows additional information:
```
Content Details:
Location: /v1/playbook/station/s33828
Location: /v1/playback/station/s33828
Content Type: stationurl
Item Name: K-LOVE Radio
Presetable: true
@@ -367,7 +367,7 @@ Content Details:
| **Spotify Album** | `spotify:album:ID` | `spotify:album:4aawyAB9vmqN3uQ7FjRGTy` |
| **Spotify Artist** | `spotify:artist:ID` | `spotify:artist:6APm8EjxOHSYM5B4i3vT3q` |
| **Spotify Track** | `spotify:track:ID` | `spotify:track:17GmwQ9Q3MTAz05OokmNNB` |
| **TUNEIN Radio** | `/v1/playbook/station/ID` | `/v1/playbook/station/s33828` |
| **TUNEIN Radio** | `/v1/playback/station/ID` | `/v1/playback/station/s33828` |
| **Internet Radio** | `URL or encoded URL` | `https://stream.example.com/radio` |
| **STORED_MUSIC** | `Container ID` | `6_a2874b5d_4f83d999` |
| **LOCAL_MUSIC** | `album:ID` or `track:ID` | `album:983`, `track:2579` |