From 9a52b3c539b3f32841f45177a949b001c51abf39 Mon Sep 17 00:00:00 2001 From: modem <62859+modem@users.noreply.github.com> Date: Tue, 18 Jun 2024 10:50:34 +0100 Subject: [PATCH] Fixed legendasdivx provider while searching for movies subtitles --- custom_libs/subliminal_patch/providers/legendasdivx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_libs/subliminal_patch/providers/legendasdivx.py b/custom_libs/subliminal_patch/providers/legendasdivx.py index 2b04dc373..e4d839ed2 100644 --- a/custom_libs/subliminal_patch/providers/legendasdivx.py +++ b/custom_libs/subliminal_patch/providers/legendasdivx.py @@ -325,9 +325,9 @@ class LegendasdivxProvider(Provider): 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, )