OBS WebSocket icon

OBS WebSocket

Control OBS Studio via WebSocket

Media → Previous

AI-generated

Summary

Go to the previous item in the specified media source's playlist in OBS Studio.

Inputs

  • Media Source Name (required) — The name of the media source whose playlist should go to the previous item.

Output shape

a list with one JSON object containing the result of the previous media action.

The output JSON includes a success flag and message indicating the media source has moved to the previous item. Errors are returned as JSON errors when applicable.

Examples

Example 1: Control media playback in OBS by moving to the previous video or audio file in the playlist.

Set resource to 'Media', operation to 'Previous', and specify the exact Media Source Name to control.

Discussion