getPlayingContentInfo (v1.0)

Estimated reading time: 1 minute

This API provides information of the currently playing content or the currently selected input.

Syntax

http://<Base URL>/avContent

Authentication Level

private

Request

params' Elements
Not necessary.
JSON Example
{
    "method": "getPlayingContentInfo",
    "id": 103,
    "params": [],
    "version": "1.0"
}

Response

result's Elements
An object composed of the following pair(s).

In case of “extInput:*” as source

name type multiplicity default description
uri string 1 URI to identify the content. Refer to here to learn the URI structure in detail.
  • (ex) "extInput:hdmi?port=1"
source string 1 Source of the content.
title string 1 Title of this content to be recognized by the user.
  • (ex) "HDMI 1"
  • (ex) "AV2/Component"
Note: Use the getCurrentExternalInputStatus method to get the label name that a user sets via the UI setting.
JSON Example
{
    "result": [{
        "source": "extInput:hdmi",
        "title": "HDMI 2",
        "uri": "extInput:hdmi?port=2"
    }],
    "id": 103
}
Error Code
No additional error codes are defined. Refer to error code for common errors.
Last modified: 13 Feb 2019