|
|
|
@ -155,9 +155,10 @@
|
|
|
|
|
%if episode[4] is not None:
|
|
|
|
|
% actual_languages = ast.literal_eval(episode[4])
|
|
|
|
|
%else:
|
|
|
|
|
actual_languages = '[]'
|
|
|
|
|
% actual_languages = '[]'
|
|
|
|
|
%end
|
|
|
|
|
%if actual_languages is not None:
|
|
|
|
|
|
|
|
|
|
%try:
|
|
|
|
|
%for language in actual_languages:
|
|
|
|
|
%if language[1] is not None:
|
|
|
|
|
<a data-episodePath="{{episode[1]}}" data-subtitlesPath="{{path_replace(language[1])}}" data-language="{{pycountry.languages.lookup(str(language[0])).alpha_3}}" data-sonarrSeriesId={{episode[5]}} data-sonarrEpisodeId={{episode[7]}} class="remove_subtitles ui tiny label">
|
|
|
|
@ -170,9 +171,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
%end
|
|
|
|
|
%end
|
|
|
|
|
%except:
|
|
|
|
|
%pass
|
|
|
|
|
%end
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
%try:
|
|
|
|
|
%if episode[6] is not None:
|
|
|
|
|
% missing_languages = ast.literal_eval(episode[6])
|
|
|
|
|
%else:
|
|
|
|
@ -186,6 +190,9 @@
|
|
|
|
|
</a>
|
|
|
|
|
%end
|
|
|
|
|
%end
|
|
|
|
|
%except:
|
|
|
|
|
%pass
|
|
|
|
|
%end
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
%end
|
|
|
|
|