2015-07-31, 19:08
My call:
My response:
What am I missing?
Code:
{ "jsonrpc": "2.0", "id": 1, "method": "AudioLibrary.GetArtists", "params": { "properties":["title"], "sort":{ "order": "ascending", "method": "label", "ignorearticle": True } }
Code:
{"error":{"code":-32602,"data":{"method":"AudioLibrary.GetArtists","stack":{"message":"array element at index 0 does not match","name":"Item.Fields.Base","property":{"message":"Received value does not match any of the defined enum values","type":"string"},"type":"array"}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
What am I missing?