mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-01 09:05:57 +00:00
Merge pull request #770 from IIIspaceIII/feature/provider-titrari-ro
Feature/provider titrari ro
This commit is contained in:
commit
6c3a0ba354
1 changed files with 6 additions and 1 deletions
|
@ -196,7 +196,12 @@ class TitrariProvider(Provider, ProviderSubtitleArchiveMixin):
|
|||
|
||||
def list_subtitles(self, video, languages):
|
||||
title = fix_inconsistent_naming(video.title)
|
||||
imdb_id = video.imdb_id[2:]
|
||||
imdb_id = None
|
||||
try:
|
||||
imdb_id = video.imdb_id[2:]
|
||||
except:
|
||||
logger.error("[#### Provider: titrari.ro] Error parsing video.imdb_id.")
|
||||
|
||||
return [s for s in
|
||||
self.query(languages, title, imdb_id, video)]
|
||||
|
||||
|
|
Loading…
Reference in a new issue