def _create_remove_episode_job(self, videoid):
     """Create a job data to remove an episode"""
     file_path = G.SHARED_DB.get_episode_filepath(videoid.tvshowid,
                                                  videoid.seasonid,
                                                  videoid.episodeid)
     return self._build_remove_job_data(
         get_episode_title_from_path(file_path), file_path, videoid)
 def _create_remove_jobs_from_rows(self, row_results):
     """Create jobs data to remove episodes, from the rows results of the database"""
     return [
         self._build_remove_job_data(
             get_episode_title_from_path(row['FilePath']), row['FilePath'],
             common.VideoId(tvshowid=row['TvShowID'],
                            seasonid=row['SeasonID'],
                            episodeid=row['EpisodeID']))
         for row in row_results
     ]