Name | Path | Audio language | Subtitles languages | Hearing-impaired | Forced | Subtitles | |
---|---|---|---|---|---|---|---|
{{row.title}} | %if os.path.isdir(row.path): %else: %end {{row.path}} | {{row.audio_language}} |
%subs_languages = ast.literal_eval(str(row.languages))
%if subs_languages is not None:
%for subs_language in subs_languages:
{{subs_language}}
%end
%end
|
{{!"" if row.hearing_impaired is None else row.hearing_impaired}} | {{row.forced}} |
%total_subs = 0
%missing_subs = 0
%if not total_subtitles_list:
% pass
%else:
% for total_subtitles in total_subtitles_list:
% if total_subtitles.sonarr_series_id == row.sonarr_series_id:
% total_subs = total_subtitles.missing_subtitles
% end
% end
% for missing_subtitles in missing_subtitles_list:
% if missing_subtitles.sonarr_series_id == row.sonarr_series_id:
% missing_subs = missing_subtitles.missing_subtitles
% end
% end
%end
|
<%
subs_languages_list = []
if subs_languages is not None:
for subs_language in subs_languages:
subs_languages_list.append(subs_language)
end
end
%>
|