diff options
author | Samuel BartÃk <[email protected]> | 2022-07-01 04:07:26 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-30 22:07:26 -0400 |
commit | 331cbbd3bdb2966e7615539e46a08dee525ac51e (patch) | |
tree | da4e7fdb12846636d8e0aa1252143b325f277246 | |
parent | 2bd38817b061357fc5f565670741ea584d92184e (diff) | |
download | bazarr-331cbbd3bdb2966e7615539e46a08dee525ac51e.tar.gz bazarr-331cbbd3bdb2966e7615539e46a08dee525ac51e.zip |
Fixed Titulky provider to fail silently if media is missing IMDB ID.
-rw-r--r-- | libs/subliminal_patch/providers/titulky.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/subliminal_patch/providers/titulky.py b/libs/subliminal_patch/providers/titulky.py index b7e84d73d..aedbe7906 100644 --- a/libs/subliminal_patch/providers/titulky.py +++ b/libs/subliminal_patch/providers/titulky.py @@ -421,13 +421,13 @@ class TitulkyProvider(Provider, ProviderSubtitleArchiveMixin): season=video.season, episode=video.episode) else: - raise ProviderError("No IMDB ID found for the series!") + logger.info(f"Titulky.com: Skipping {video}! No IMDB ID found.") elif isinstance(video, Movie): if video.imdb_id: logger.info("Titulky.com: Searching subtitles for a movie") subtitles = self.query(languages, SubtitlesType.MOVIE, imdb_id=video.imdb_id) else: - raise ProviderError("No IMDB ID found for the movie!") + logger.info(f"Titulky.com: Skipping {video}! No IMDB ID found.") return subtitles |