2013-01-28, 19:42
Hi,
I stumbled upon the following result when querying properties from a video without an audio stream:
The query is:
Is there a reason that currentaudiostream is not empty? I think it is inconsistent w.r.t. currentsubtitle, for example.
I stumbled upon the following result when querying properties from a video without an audio stream:
Code:
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"audiostreams": [
],
"currentaudiostream": {
"bitrate": 0,
"channels": -1,
"codec": ""
},
"currentsubtitle": {
},
"subtitleenabled": true,
"subtitles": [
]
}
The query is:
Code:
{"jsonrpc": "2.0", "method": "Player.GetProperties", "params":{ "properties": ["currentaudiostream", "audiostreams", "subtitleenabled", "currentsubtitle", "subtitles" ], "playerid": 1 },"id": 1}
Is there a reason that currentaudiostream is not empty? I think it is inconsistent w.r.t. currentsubtitle, for example.