setPlayContent (v1.0)

Estimated reading time: 1 minute

This API provides the function to play content. With this API, content specified in the request parameter is shown to the user.

Syntax

http://<Base URL>/avContent

Authentication Level

generic

Request

params' Elements
An object composed of the following pair(s).
name type multiplicity default description
uri string 1 URI obtained from getContentList API. Refer to here to learn the URI structure in detail.
JSON Example
{
    "method": "setPlayContent",
    "id": 101,
    "params": [{"uri": "extInput:hdmi?port=2"}],
    "version": "1.0"
}

Response

result's Elements
Not necessary.
JSON Example
{
    "result": [],
    "id": 101
}
Error Code
The following error codes are important for this API. Refer to error code for other errors.
code Explanation
41001 Content does not exist.
41011 Channel is fixed by USB recording.
41012 Channel is fixed by SCART recording.

Appendix

Guide about Request

  • The types of lists that this API doesn’t play are:
    • Media files in USB storage. For example, mp3 music files jpeg files, or mp4 video files.
    • Media files provided by a DLNA server.
Last modified: 6 Feb 2019