Commit 40ffa1f
docs(api): note that shuffle_context before play starts on a random track
The HTTP API did not document how to start a context shuffled (on a random
first track). Document it on /player/play and /player/shuffle_context:
enabling shuffle_context before /player/play starts playback on a random
track, while enabling it after play only reshuffles the upcoming queue and
keeps the current (first) track.
Verified at runtime: three consecutive shuffle_context-then-play calls each
started on a different track.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d628f73 commit 40ffa1f
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
| |||
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
271 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
272 | 280 | | |
273 | 281 | | |
274 | 282 | | |
| |||
0 commit comments