2012-10-27, 13:54
I've only tried "update" via JSONRPC
but there is an error in your JSON request:
Should that be: "sort": {"method":"file","order":"ascending"} ?
Code:
{"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": { "wait": false, "addonid": "script.cdartmanager", "params": [ "update" ] }, "id": 2}
Code:
12:47:05 T:2897288000 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "AudioLibrary.GetSongs", "params": { "properties": ["file", "musicbrainzalbumartistid"], "filter": { "albumid": 181 }, "sort": {"method":"fullpath","order":"ascending"} }, "id": 1}
12:47:05 T:2897288000 DEBUG: JSONRPC: Calling audiolibrary.getsongs
12:47:05 T:2897288000 DEBUG: JSONRPC: Value does not match any of the enum values in type method
12:47:05 T:2897288000 DEBUG: JSONRPC: Invalid property "method" in type sort