2012-12-05, 11:01
(2012-12-05, 10:39)Montellese Wrote: I have no clue what you are mentioning/talking about. Will need a better problem description.
Request:
Code:
{
"params": {
"playerid": 1,
"properties": [
"title",
"season",
"episode",
"duration",
"showtitle",
"fanart",
"tvshowid",
"plot",
"thumbnail",
"year"
]
},
"jsonrpc": "2.0",
"id": 0,
"method": "Player.GetItem"
}
Response:
Code:
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"item": {
"plot": "",
"tvshowid": -1,
"episode": -1,
"title": "",
"fanart": "",
"season": -1,
"label": "",
"year": 0,
"type": "unknown",
"thumbnail": "",
"showtitle": ""
}
}
}
Player.GetItem won't return any information for video files that are not in the video library. (Player.GetItem is the only method i have tested)
EDIT: i know there is alot of useless params there, the main concerns are label and thumbnail as they should be returned for any video file (especially label).
If the files are opened from GUI they return data just fine.