Skip to content

Commit 6ebd18c

Browse files
authored
fix: change phrasing and wrong data of change video (#1)
feat: add version badge to change video
1 parent 0558583 commit 6ebd18c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

developer/companion-server/reference/v1/command.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Toggles the dislike status of the current video.
223223
}
224224
```
225225

226-
### Change Video
226+
### Change Video <Badge type="danger" text="Since 2.0.6" />
227227

228228
Immediately starts playing the specified video or playlist.
229229

@@ -233,18 +233,18 @@ Immediately starts playing the specified video or playlist.
233233
> One of `videoId`, `playlistId`, or both **MUST** be provided.
234234
235235
> [!CAUTION]
236-
> YouTube Music's UI will display a blank player if a provided `playlistId` does not contain a provided `videoId` if one is given.
236+
> YouTube Music's UI will display a blank or broken player if both `videoId` and `playlistId` are provided but the video is not in the playlist or the playlist does not exist
237237
238238
| Field | Type | Since Version |
239239
| ---------- | -------------- | ------------- |
240-
| videoId | string \| null | 2.0.0 |
241-
| playlistId | object \| null | 2.0.0 |
240+
| videoId | string \| null | 2.0.6 |
241+
| playlistId | string \| null | 2.0.6 |
242242

243243
#### Example
244244

245245
```json
246246
{
247-
"command": "repeatMode",
247+
"command": "changeVideo",
248248
"data": {
249249
"videoId": "dQw4w9WgXcQ",
250250
"playlistId": "MLCT"

0 commit comments

Comments
 (0)