diff options
Diffstat (limited to 'custom_libs/subliminal/video.py')
-rw-r--r-- | custom_libs/subliminal/video.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/custom_libs/subliminal/video.py b/custom_libs/subliminal/video.py index 1264d0b84..2168d91a9 100644 --- a/custom_libs/subliminal/video.py +++ b/custom_libs/subliminal/video.py @@ -115,7 +115,7 @@ class Video(object): class Episode(Video): - """Episode :class:`Video`. + r"""Episode :class:`Video`. :param str series: series of the episode. :param int season: season number of the episode. @@ -129,7 +129,8 @@ class Episode(Video): """ def __init__(self, name, series, season, episode, title=None, year=None, original_series=True, tvdb_id=None, - series_tvdb_id=None, series_imdb_id=None, alternative_series=None, **kwargs): + series_tvdb_id=None, series_imdb_id=None, alternative_series=None, series_anidb_id=None, + series_anidb_episode_id=None, **kwargs): super(Episode, self).__init__(name, **kwargs) #: Series of the episode @@ -162,6 +163,9 @@ class Episode(Video): #: Alternative names of the series self.alternative_series = alternative_series or [] + self.series_anidb_episode_id = series_anidb_episode_id + self.series_anidb_id = series_anidb_id + @classmethod def fromguess(cls, name, guess): if guess['type'] != 'episode': @@ -198,7 +202,7 @@ class Episode(Video): class Movie(Video): - """Movie :class:`Video`. + r"""Movie :class:`Video`. :param str title: title of the movie. :param int year: year of the movie. |