Skip to main content

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​

FieldDescription
Source NameThe media source to inspect. Can be set inline or wired from another node.

Outputs​

NameTypeDescription
StatestringPlayback state: playing, paused, stopped, ended, or none.
DurationnumberTotal length in milliseconds. -1 when the source is not playing.
CursornumberCurrent 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.