2014-03-19, 20:50
(2014-03-19, 20:00)el_Paraguayo Wrote: That's the result of the GetActivePlayers which is what my code in post #6 is testing.Mmmmm to much stuff on my mind. Anyway if it was GetActivePlayers or GetItem, in both cases I was unable to check for specific item like I mentioned before.
I think you then need to use the Player.GetItem method with the playerID (which you can get from the above request). This seems to be what's being shown in this line:
Code:15:18:33 T:3948 NOTICE: {u'jsonrpc': u'2.0', u'id': 2, u'result': {u'item': {u'type': u'movie', u'id': 1, u'label': u'The Bag Man'}}}
Wiki says it's a object http://wiki.xbmc.org/?title=JSON-RPC_API...er.GetItem but I was unable to check for type is movie or label is bag man.
Sorry for these stupid questions, my Python skills are basic