Loading...
%import ast %import time %import pretty %for row in rows: %end
Name Episode Episode Title Date Description
%if row['action'] == 0:
%elif row['action'] == 1:
%elif row['action'] == 2:
%elif row['action'] == 3:
%elif row['action'] == 4:
%end
{{row['seriesTitle']}} %if row['episode_number'] is not None: % episode = row['episode_number'].split('x') {{episode[0] + 'x' + episode[1].zfill(2)}} %end %if row['episodeTitle'] is not None: {{row['episodeTitle']}} %else: Deleted episode %end
{{pretty.date(int(row['timestamp']))}}
% upgradable_criteria = dict([('timestamp', row['timestamp']), ('video_path', row['path']), ('score', row['score']), ('languages', row['languages'])]) % if upgradable_criteria in upgradable_episodes: % if row['languages'] != "None": % desired_languages = ast.literal_eval(str(row['languages'])) % if row['forced'] == "True": % forced_languages = [l + ":forced" for l in desired_languages] % elif row['forced'] == "Both": % forced_languages = [l + ":forced" for l in desired_languages] + desired_languages % else: % forced_languages = desired_languages % end % if row['language'] in forced_languages:
{{row['description']}}
% else: {{row['description']}} % end % end % else: {{row['description']}} % end
%try: page_size %except NameError: page_size = "25" %end %if page_size != -1:
{{page}} / {{max_page}}
Total Records: {{row_count}}
%end