def search(self, title=None, libtype=None, **kwargs):
args = {}<EOL>if title:<EOL><INDENT>args['<STR_LIT:title>'] = title<EOL><DEDENT>if libtype:<EOL><INDENT>args['<STR_LIT:type>'] = utils.searchType(libtype)<EOL><DEDENT>for attr, value in kwargs.items():<EOL><INDENT>args[attr] = value<EOL><DEDENT>key = '<STR_LIT>' % utils.joinArgs(args)<EOL>return self.fetchItems(key)<EOL>
Searching within a library section is much more powerful. It seems certain
            attributes on the media objects can be targeted to filter this search down
            a bit, but I havent found the documentation for it.

            Example: "studio=Comedy%20Central" or "year=1999" "title=Kung Fu" all work. Other items
            such as actor=<id> seem to work, but require you already know the id of the actor.
            TLDR: This is untested but seems to work. Use library section search when you can.