%import ast %import pycountry %from get_general_settings import * %single_language = get_general_settings()[7]
Loading...
% include('menu.tpl')
<% 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 %>

{{details[0]}}

{{details[1]}}

{{details[6]}}
{{details[8]}}

%for language in subs_languages_list:

{{language}}
%end

<% subtitles_files = ast.literal_eval(str(details[9])) if subtitles_files is not None: for subtitles_file in subtitles_files: %> <% end if len(subtitles_files) == 0: %> <% end end %>
Subtitles path Language
{{path_replace(subtitles_file[1]) if subtitles_file[1] is not None else 'Video file subtitles track'}}
{{pycountry.languages.lookup(str(subtitles_file[0])).name}}
%if subtitles_file[1] is not None: %end
No subtitles detected for this movie.
<% missing_subs_languages = ast.literal_eval(str(details[11])) missing_subs_languages_list = [] if missing_subs_languages is not None: %>
Missing subtitles
<% for missing_subs_language in missing_subs_languages: %> {{pycountry.languages.lookup(str(missing_subs_language)).name}} <% end end %>
% include('footer.tpl')