xbmc/xbmc — pull request #1542 by Montellese (2012-10-04 22:03:52+00:00)
Title: jsonrpc: add "content" parameter to Addons.GetAddons and properly implement virtual addon types

This adds a "content" parameter to Addons.GetAddons which allows to filter addons by the content they provide (only works for plugins and scripts and is ignored for everything else). Furthermore the virtual addon types xbmc.addon.video/audio/image/extecutable are properly implemented by retrieving all script and plugin addons and then filtering them by the respective content.