Name | Path | Audio Language | Subtitle Language(s) | 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['sonarrSeriesId'] == row['sonarrSeriesId']:
% total_subs = total_subtitles['missing_subtitles']
% end
% end
% for missing_subtitles in missing_subtitles_list:
% if missing_subtitles['sonarrSeriesId'] == row['sonarrSeriesId']:
% 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
%>
|