diff --git a/docs/PRESET-QUICKSTART.md b/docs/PRESET-QUICKSTART.md index 387a3f7..e394199 100644 --- a/docs/PRESET-QUICKSTART.md +++ b/docs/PRESET-QUICKSTART.md @@ -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" ``` diff --git a/docs/guides/CLI-REFERENCE.md b/docs/guides/CLI-REFERENCE.md index 69f6d32..660eff4 100644 --- a/docs/guides/CLI-REFERENCE.md +++ b/docs/guides/CLI-REFERENCE.md @@ -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:** diff --git a/docs/guides/SOUNDTOUCH-SERVICE.md b/docs/guides/SOUNDTOUCH-SERVICE.md index f96351b..efb93c4 100644 --- a/docs/guides/SOUNDTOUCH-SERVICE.md +++ b/docs/guides/SOUNDTOUCH-SERVICE.md @@ -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}` diff --git a/docs/preset-store.md b/docs/preset-store.md index 54fb464..e4e344f 100644 --- a/docs/preset-store.md +++ b/docs/preset-store.md @@ -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` | diff --git a/examples/content-selection/README.md b/examples/content-selection/README.md index ea46e70..0808ef1 100644 --- a/examples/content-selection/README.md +++ b/examples/content-selection/README.md @@ -83,7 +83,7 @@ go run main.go 192.168.1.100 🎯 Using generic ContentItem selection... Content: K-LOVE Radio Source: TUNEIN - Location: /v1/playbook/station/s33828 + Location: /v1/playback/station/s33828 ✅ Successfully selected content using ContentItem ✅ Content selection demo completed! diff --git a/examples/content-selection/main.go b/examples/content-selection/main.go index cc2c776..5ea8095 100644 --- a/examples/content-selection/main.go +++ b/examples/content-selection/main.go @@ -209,7 +209,7 @@ func demoGenericContentItem(c *client.Client) error { contentItem := &models.ContentItem{ Source: "TUNEIN", Type: "stationurl", - Location: "/v1/playbook/station/s33828", // K-LOVE Radio + Location: "/v1/playback/station/s33828", // K-LOVE Radio SourceAccount: "", IsPresetable: true, ItemName: "K-LOVE Radio", diff --git a/examples/navigation-station-demo/README.md b/examples/navigation-station-demo/README.md index 8973a71..cf2d0ab 100644 --- a/examples/navigation-station-demo/README.md +++ b/examples/navigation-station-demo/README.md @@ -140,7 +140,7 @@ err := client.AddStation("TUNEIN", "", "c121508", "Jazz FM") // Remove station from collection contentItem := &models.ContentItem{ Source: "TUNEIN", - Location: "/v1/playbook/station/s33828", + Location: "/v1/playback/station/s33828", } err := client.RemoveStation(contentItem) ``` diff --git a/examples/preset-management/README.md b/examples/preset-management/README.md index 5134598..4b74fcd 100644 --- a/examples/preset-management/README.md +++ b/examples/preset-management/README.md @@ -71,7 +71,7 @@ go run . 192.168.1.100 2. K-LOVE Radio Source: TUNEIN - Location: /v1/playbook/station/s33828 + Location: /v1/playback/station/s33828 Created: 2024-01-15 09:15:00 🆓 Available slots: [3 4 5 6] @@ -179,7 +179,7 @@ Location: "spotify:track:17GmwQ9Q3MTAz05OokmNNB" ```go // TuneIn -Location: "/v1/playbook/station/s33828" +Location: "/v1/playback/station/s33828" // Internet Radio Location: "https://stream.example.com/radio" diff --git a/examples/preset-management/main.go b/examples/preset-management/main.go index dfb9e15..d935e33 100644 --- a/examples/preset-management/main.go +++ b/examples/preset-management/main.go @@ -226,7 +226,7 @@ func storeRadioStation(c *client.Client) error { radioContent := &models.ContentItem{ Source: "TUNEIN", Type: "stationurl", - Location: "/v1/playbook/station/s33828", // K-LOVE + Location: "/v1/playback/station/s33828", // K-LOVE SourceAccount: "", IsPresetable: true, ItemName: "K-LOVE Radio", @@ -329,7 +329,7 @@ func demonstrateWebSocketEvents(c *client.Client) error { testContent := &models.ContentItem{ Source: "TUNEIN", Type: "stationurl", - Location: "/v1/playbook/station/s25111", // BBC Radio 1 + Location: "/v1/playback/station/s25111", // BBC Radio 1 SourceAccount: "", IsPresetable: true, ItemName: "BBC Radio 1",