2012-08-03, 14:38
Sadly, it's not currently available via the JSONRPC. It's been outstanding for a while but hopefully with the advanced filter work being it'll be done soon. As a work around you could make a smart playlist and use that. Also, with the next XBMC release you can limit the amount of items retrieved so large libraries won't be slow.