'Return a list of Movie objects for a query for the given title.
The results argument is the maximum number of results to return.'

def search_movie(self, title, results=None, _episodes=False):

    if (results is None):
        results = self._results
    try:
        results = int(results)
    except (ValueError, OverflowError):
        results = 20
    if (not isinstance(title, unicode)):
        title = unicode(title, encoding, 'replace')
    if (not _episodes):
        res = self._search_movie(title, results)
    else:
        res = self._search_episode(title, results)
    return [Movie.Movie(movieID=self._get_real_movieID(mi), data=md, modFunct=self._defModFunct, accessSystem=self.accessSystem) for (mi, md) in res][:results]
