diff --git a/views/episodes.tpl b/views/episodes.tpl
index 9de53fc26..7c2cb4260 100644
--- a/views/episodes.tpl
+++ b/views/episodes.tpl
@@ -294,7 +294,7 @@
%if subs_languages is not None:
-
+
%end
|
@@ -684,7 +684,7 @@
var languages = Array.from({{!subs_languages_list}});
var is_pb = languages.includes('pb');
var is_pt = languages.includes('pt');
- var title = "{{!details[0].replace("'", "\'")}}";
+ var title = "{{!details.title.replace("'", "\'")}}";
$('#language').dropdown();
diff --git a/views/historyseries.tpl b/views/historyseries.tpl
index e5c87d84c..0380c25af 100644
--- a/views/historyseries.tpl
+++ b/views/historyseries.tpl
@@ -76,7 +76,7 @@
- %elif row[0] == 4:
+ %elif row.action == 4:
diff --git a/views/movie.tpl b/views/movie.tpl
index 2b5fbbd4f..61ae00ce8 100644
--- a/views/movie.tpl
+++ b/views/movie.tpl
@@ -624,7 +624,7 @@
sceneName = $(this).attr("data-sceneName");
language = $(this).attr("data-language");
radarrId = $(this).attr("data-radarrId");
- var title = "{{!details[0].replace("'", "\'")}}";
+ var title = "{{!details.title.replace("'", "\'")}}";
$('#language').dropdown();