Get media time
get_media_timeGet the current playback position and duration of a media source in OBS Studio to monitor progress and synchronize workflows.
Instructions
Get the current playback position and duration of a media source.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_name": "<source_name>"
},
"name": "get_media_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |