- if self.show_exists(title, year) == False:
- self.db[self.series_label][show_meta] = {'seasons': [], 'episodes': []}
- for episode_id in episodes:
- episode = episodes[episode_id]
- self._add_episode(show_dir=show_dir, show_meta=show_meta, title=title, year=year, season=episode['season'], episode=episode['idx'], video_id=episode['id'], pin=episode['pin'], build_url=build_url)
+ if self.show_exists(title) == False:
+ self.db[self.series_label][show_meta] = {'seasons': [], 'episodes': [], 'alt_title': alt_title}
+ for episode in episodes:
+ self._add_episode(show_dir=show_dir, title=title, season=episode['season'], episode=episode['episode'], video_id=episode['id'], build_url=build_url)