From 6ebd18c41bcf9ee69d93aa5aab6edc83c4732911 Mon Sep 17 00:00:00 2001 From: XeroxDev Date: Sat, 2 Nov 2024 17:42:03 +0100 Subject: [PATCH] fix: change phrasing and wrong data of change video (#1) feat: add version badge to change video --- developer/companion-server/reference/v1/command.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/developer/companion-server/reference/v1/command.md b/developer/companion-server/reference/v1/command.md index 64e3d2d..9ec0d16 100644 --- a/developer/companion-server/reference/v1/command.md +++ b/developer/companion-server/reference/v1/command.md @@ -223,7 +223,7 @@ Toggles the dislike status of the current video. } ``` -### Change Video +### Change Video Immediately starts playing the specified video or playlist. @@ -233,18 +233,18 @@ Immediately starts playing the specified video or playlist. > One of `videoId`, `playlistId`, or both **MUST** be provided. > [!CAUTION] -> YouTube Music's UI will display a blank player if a provided `playlistId` does not contain a provided `videoId` if one is given. +> 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 | Field | Type | Since Version | | ---------- | -------------- | ------------- | -| videoId | string \| null | 2.0.0 | -| playlistId | object \| null | 2.0.0 | +| videoId | string \| null | 2.0.6 | +| playlistId | string \| null | 2.0.6 | #### Example ```json { - "command": "repeatMode", + "command": "changeVideo", "data": { "videoId": "dQw4w9WgXcQ", "playlistId": "MLCT"