diff --git a/views/movie.tpl b/views/movie.tpl index 95c8fe2b6..713af411c 100644 --- a/views/movie.tpl +++ b/views/movie.tpl @@ -491,7 +491,7 @@ ; }); - function manual_get(button, episodePath, sceneName, hi, sonarrSeriesId, sonarrEpisodeId){ + function manual_get(button, episodePath, sceneName, hi){ const values = { subtitle: $(button).attr("data-subtitle"), provider: $(button).attr("data-provider"), diff --git a/views/wantedmovies.tpl b/views/wantedmovies.tpl index e35ab1ddd..80b3653ee 100644 --- a/views/wantedmovies.tpl +++ b/views/wantedmovies.tpl @@ -167,7 +167,8 @@ sceneName: $(this).attr("data-sceneName"), language: $(this).attr("data-language"), hi: $(this).attr("data-hi"), - radarrId: $(this).attr("data-radarrId") + radarrId: $(this).attr("data-radarrId"), + title: '{{!row[0].replace("'", "\\'")}}' }; $('#loader_text').text("Downloading subtitles..."); $('#loader').addClass('active'); diff --git a/views/wantedseries.tpl b/views/wantedseries.tpl index d6ec1da5e..8897d0497 100644 --- a/views/wantedseries.tpl +++ b/views/wantedseries.tpl @@ -175,7 +175,8 @@ language: $(this).attr("data-language"), hi: $(this).attr("data-hi"), sonarrSeriesId: $(this).attr("data-sonarrSeriesId"), - sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId") + sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"), + title: '{{!row[0].replace("'", "\\'")}}' }; $('#loader_text').text("Downloading subtitles..."); $('#loader').addClass('active');