diff --git a/docs/generated/comments.json b/docs/generated/comments.json index e3922a8e..97d76817 100644 --- a/docs/generated/comments.json +++ b/docs/generated/comments.json @@ -4441,10 +4441,10 @@ "media control": [ { "subheads": [], - "description": "Pause or play a media source. Supports ffmpeg and vlc media sources (as of OBS v25.0.8)", + "description": "Pause or play a media source. Supports ffmpeg and vlc media sources (as of OBS v25.0.8)\nNote :Leaving out `playPause` toggles the current pause state", "param": [ "{String} `sourceName` Source name.", - "{boolean} `playPause` Whether to pause or play the source. `false` for play, `true` for pause." + "{boolean} `playPause` (optional) Whether to pause or play the source. `false` for play, `true` for pause." ], "api": "requests", "name": "PlayPauseMedia", @@ -4459,7 +4459,7 @@ { "type": "boolean", "name": "playPause", - "description": "Whether to pause or play the source. `false` for play, `true` for pause." + "description": "(optional) Whether to pause or play the source. `false` for play, `true` for pause." } ], "names": [ diff --git a/docs/generated/protocol.md b/docs/generated/protocol.md index 4ea8b89e..1579d919 100644 --- a/docs/generated/protocol.md +++ b/docs/generated/protocol.md @@ -1809,13 +1809,14 @@ _No additional response items._ - Added in v4.9.0 Pause or play a media source. Supports ffmpeg and vlc media sources (as of OBS v25.0.8) +Note :Leaving out `playPause` toggles the current pause state **Request Fields:** | Name | Type | Description | | ---- | :---: | ------------| | `sourceName` | _String_ | Source name. | -| `playPause` | _boolean_ | Whether to pause or play the source. `false` for play, `true` for pause. | +| `playPause` | _boolean_ | (optional) Whether to pause or play the source. `false` for play, `true` for pause. | **Response Items:**