Episode | Title | Existing subtitles |
Missing subtitles |
Manual search |
||
---|---|---|---|---|---|---|
%if episode[9] == 'True': %else: %end | {{episode[3]}} | % if episode[8] is not None: % end | {{episode[0]}} |
%if episode[4] is not None:
% actual_languages = ast.literal_eval(episode[4])
% actual_languages.sort()
%else:
% actual_languages = '[]'
%end
%try:
%for language in actual_languages:
%if language[1] is not None:
{{language[0]}}
%else:
{{language[0]}}
%end
%end
%except:
%pass
%end
|
%try: %if episode[6] is not None: % missing_languages = ast.literal_eval(episode[6]) % missing_languages.sort() %else: % missing_languages = None %end %if missing_languages is not None: %from get_subtitle import search_active %from get_settings import get_general_settings %for language in missing_languages: %if episode[10] is not None and get_general_settings()[25]: %for lang in ast.literal_eval(episode[10]): %if language in lang: %active = search_active(lang[1]) %if active: {{language}} %else: {{language}} %end %end %end %else: {{language}} %end %end %end %except: %pass %end | %if subs_languages is not None: %end |