OBS Media Status
Reads the playback status of an OBS media source (a Media Source or VLC Video Source). Use it to branch on whether a video is still playing.
Requirement: The OBS browser source must be connected to Community. If it isn't, the node returns an error.
Configuration
| Field | Description |
|---|---|
| Source Name | The media source to inspect. Can be set inline or wired from another node. |
Outputs
| Name | Type | Description |
|---|---|---|
State | string | Playback state: playing, paused, stopped, ended, or none. |
Duration | number | Total length in milliseconds. -1 when the source is not playing. |
Cursor | number | Current playback position in milliseconds. -1 when the source is not playing. |
Example
Before restarting a video with the OBS Media Action effect, run a String Check on State to confirm it isn't already playing.