Page 1 of 1
xbmc feedback question
Posted: Mon Oct 14, 2013 10:53 am
by tytherman
I now have the feedback working from the example project, but was wondering if anyone had any pointers for how I may get some additional feedback. I was hoping to integrate the synopsis of the playing video onto a keypress. I believe this would require the movie id which is taken from the getvideoplaying response and then sending a json query for the library details of this movie id????
or at least so I think, but maybe someone has done this already or has a suggestion on how to do this?
thanks
Re: xbmc feedback question
Posted: Thu Oct 31, 2013 12:12 pm
by tytherman
anyone interested in this, I found the simple answer was to simply add "plot" to the line below:
jsonrpc? {"jsonrpc": "2.0", "method": "Player.GetItem", "params": { "properties": ["title", "season", "episode", "runtime", "showtitle"], "playerid": 1 }, "id": "1"}
my next question should anyone be able to help is related to the response you get from above:
"jsonrpc":"2.0","result":{"item":{"episode":6,"id":14881,"label":"Trophy Wife - 1x06. Halloween","runtime":1291,"season":1,"showtitle":"Trophy Wife","title":"Halloween","type":"episode"}}}
I am trying to have a label appear based on "type":"episode" as opposed to "type":"" meaning it is a movie, but I cannot seem to get it right. I am using the feed back matches exactly "type":"" to turn a flag tv show off and movie on. But nothing I do seems to make a difference.