Skip to content

Commit

Permalink
Fixed legendasdivx provider while searching for movies subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
modem authored Jun 18, 2024
1 parent 55d96b3 commit 9a52b3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_libs/subliminal_patch/providers/legendasdivx.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ def query(self, video, languages):

search_url = _searchurl.format(
query=querytext,
season=video.season,
episode=video.episode,
imdbid=video.series_imdb_id.replace('tt', '') if video.series_imdb_id else None,
season='' if isinstance(video, Movie) else video.season,
episode='' if isinstance(video, Movie) else video.episode,
imdbid='' if isinstance(video, Movie) else video.series_imdb_id.replace('tt', '') if video.series_imdb_id else None,
op=op,
d_op=d_op,
)
Expand Down

0 comments on commit 9a52b3c

Please sign in to comment.