diff options
author | Anderson Shindy Oki <[email protected]> | 2024-04-30 19:28:41 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-30 06:28:41 -0400 |
commit | 2782551c9bd5418e6fe0484a4002b4a350869917 (patch) | |
tree | 43f334807df750dd76d062a5b5f8920760d7b028 /custom_libs | |
parent | 1c2538ef3c1ff0314489890cf773e983c99b8315 (diff) | |
download | bazarr-2782551c9bd5418e6fe0484a4002b4a350869917.tar.gz bazarr-2782551c9bd5418e6fe0484a4002b4a350869917.zip |
Fixed Animetosho provider error for tv showsv1.4.3-beta.28
* chore: Skip anime
* wip
Diffstat (limited to 'custom_libs')
-rw-r--r-- | custom_libs/subliminal_patch/providers/animetosho.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/animetosho.py b/custom_libs/subliminal_patch/providers/animetosho.py index f242c420f..550e2bf4b 100644 --- a/custom_libs/subliminal_patch/providers/animetosho.py +++ b/custom_libs/subliminal_patch/providers/animetosho.py @@ -88,7 +88,9 @@ class AnimeToshoProvider(Provider, ProviderSubtitleArchiveMixin): def list_subtitles(self, video, languages): if not video.series_anidb_episode_id: - raise ProviderError("Video does not have an AnimeTosho Episode ID!") + logger.debug('Skipping video %r. It is not an anime or the anidb_episode_id could not be identified', video) + + return [] return [s for s in self._get_series(video.series_anidb_episode_id) if s.language in languages] |