summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-04-30 19:28:41 +0900
committerGitHub <[email protected]>2024-04-30 06:28:41 -0400
commit2782551c9bd5418e6fe0484a4002b4a350869917 (patch)
tree43f334807df750dd76d062a5b5f8920760d7b028
parent1c2538ef3c1ff0314489890cf773e983c99b8315 (diff)
downloadbazarr-2782551c9bd5418e6fe0484a4002b4a350869917.tar.gz
bazarr-2782551c9bd5418e6fe0484a4002b4a350869917.zip
Fixed Animetosho provider error for tv showsv1.4.3-beta.28
* chore: Skip anime * wip
-rw-r--r--custom_libs/subliminal_patch/providers/animetosho.py4
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]