mirror of https://github.com/morpheus65535/bazarr
Merge pull request #770 from IIIspaceIII/feature/provider-titrari-ro
Feature/provider titrari ro
This commit is contained in:
commit
6c3a0ba354
|
@ -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 New Issue