2012-12-01, 19:38
Well the question was more about the way to read the introspect
Looks quite the same and both type definition are the same. So when I tried I did suppose that the type field did accept an array too but in fact no :p
Not really a problem by itself.
And for your second question since I get 7 addons type it's faster to get them all and filter on the phone since I suppose no user will have 500 or more addons in one Xbmc instance.
Code:
{ "name": "type", "$ref": "Addon.Types" },
{ "name": "properties", "$ref": "Addon.Fields" },
Looks quite the same and both type definition are the same. So when I tried I did suppose that the type field did accept an array too but in fact no :p
Not really a problem by itself.
And for your second question since I get 7 addons type it's faster to get them all and filter on the phone since I suppose no user will have 500 or more addons in one Xbmc instance.