Skip to content
Changelog

media.status

Gives a video source's playback: its state, where it is and how long it is.

JSON-RPC 2.0project.read

Parameters

  • sourcestringrequiredThe source's id or name.

Result

  • statestringnone, playing, opening, buffering, paused, stopped, ended or error.
  • time_msnumberWhere it is.
  • duration_msnumberHow long it is.

Errors

Not found (-32004) for an unknown source. Invalid params (-32602) when it isn't a media source.

From an AI agent

The MCP server's media (action: status) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "media.status",
"params": {}
}

media.action · source.get