'Looks up movie on tvdb and creates a new database model for it.
These instances should only be added to a session via `session.merge`.'

def __init__(self, tvdb_id, language):

    self.id = tvdb_id
    try:
        series = TVDBRequest().get((u'series/%s' % self.id), language=language)
    except requests.RequestException as e:
        raise LookupError((u'Error    updating    data    from    tvdb:    %s' % e))
    self.language = (language or u'en')
    self.last_updated = series[u'lastUpdated']
    self.name = series[u'seriesName']
    self.rating = (float(series[u'siteRating']) if series[u'siteRating'] else 0.0)
    self.status = series[u'status']
    self.runtime = (int(series[u'runtime']) if series[u'runtime'] else 0)
    self.airs_time = series[u'airsTime']
    self.airs_dayofweek = series[u'airsDayOfWeek']
    self.content_rating = series[u'rating']
    self.network = series[u'network']
    self.overview = series[u'overview']
    self.imdb_id = series[u'imdbId']
    self.zap2it_id = series[u'zap2itId']
    self.first_aired = series[u'firstAired']
    self.expired = False
    self.aliases = series[u'aliases']
    self._banner = series[u'banner']
    self._genres = ([TVDBGenre(id=name) for name in series[u'genre']] if series[u'genre'] else [])
    self._actors = None
    self._posters = None
