<%
subs_languages = ast.literal_eval(str(details[7]))
subs_languages_list = []
if subs_languages is not None:
for subs_language in subs_languages:
subs_languages_list.append(subs_language)
end
end
%>
%if details[13] is True:
%else:
%end
{{details[0]}}
{{details[1]}}
{{details[6]}}
{{details[8]}}
%for language in subs_languages_list:
{{language}}
%end
Subtitles path
Language
<%
subtitles_files = ast.literal_eval(str(details[9]))
subtitles_files.sort()
if subtitles_files is not None:
for subtitles_file in subtitles_files:
%>
{{path_replace_movie(subtitles_file[1]) if subtitles_file[1] is not None else 'Video file subtitles track'}}
{{language_from_alpha2(subtitles_file[0])}}
%if subtitles_file[1] is not None:
%end
<%
end
if len(subtitles_files) == 0:
%>
No subtitles detected for this movie.
<%
end
end
%>
<%
missing_subs_languages = ast.literal_eval(str(details[11]))
if missing_subs_languages is not None:
%>