aboutsummaryrefslogtreecommitdiffhomepage
path: root/custom_libs/subliminal/video.py
diff options
context:
space:
mode:
authorJayZed <[email protected]>2024-07-08 17:33:43 -0400
committerJayZed <[email protected]>2024-07-08 17:33:43 -0400
commit4cc6806193127f9d6d3f2dab26969471d9bbf159 (patch)
treebfc90e4b55fa0f48f83e51c4e5947c1f7d7d7a2d /custom_libs/subliminal/video.py
parentd875dc7733c901246881325ee3a84fe5d44b10b9 (diff)
parent5886c20c9c7929bf46836a99c2d9d4eb834638bd (diff)
downloadbazarr-4cc6806193127f9d6d3f2dab26969471d9bbf159.tar.gz
bazarr-4cc6806193127f9d6d3f2dab26969471d9bbf159.zip
Merge branch 'development' of https://github.com/morpheus65535/bazarr into development
Diffstat (limited to 'custom_libs/subliminal/video.py')
-rw-r--r--custom_libs/subliminal/video.py10
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.