Skip to content

Commit

Permalink
Add comment regarding IMDB issue
Browse files Browse the repository at this point in the history
  • Loading branch information
musse authored and newt-sc committed Apr 18, 2024
1 parent 83858ac commit aac12c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions a4kSubtitles/lib/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,9 @@ def __get_basic_info():
def get_meta(core):
meta = __get_basic_info()

# For some reason, imdb_id does not contain an IMDB ID (example: tt14230458),
# but rather contains a TMDB (themoviedb.org) ID (example: 792307).
# This causes the search on (at least) OpenSubtitles to fail.
if meta.imdb_id == '':
cache_key = cache.hash_data(meta)
imdb_id_cache = cache.get_imdb_id_cache()
Expand Down

0 comments on commit aac12c2

Please sign in to comment.