@ -102,8 +102,8 @@
< div id = " divdetails " class = " ui container " >
< div id = " divdetails " class = " ui container " >
< img class = " left floated ui image " style = " max-height:250px; " src = " {{ base_url}}image_proxy {{ details[2]}} " >
< img class = " left floated ui image " style = " max-height:250px; " src = " {{ base_url}}image_proxy {{ details[2]}} " >
< div class = " ui right floated basic icon buttons " >
< div class = " ui right floated basic icon buttons " >
< button id = " scan_disk " class = " ui button " data - tooltip = " Scan disk for subtitles " data - inverted = " " > < i class = " ui inverted large compact refresh icon " > < / i > < / button >
< button id = " scan_disk " class = " ui button " data - tooltip = " Scan disk for subtitles " > < i class = " ui inverted large compact refresh icon " > < / i > < / button >
< button id = " search_missing_subtitles " class = " ui button " data - tooltip = " Download missing subtitles " data - inverted = " " > < i class = " ui inverted huge compact search icon " > < / i > < / button >
< button id = " search_missing_subtitles " class = " ui button " data - tooltip = " Download missing subtitles " > < i class = " ui inverted huge compact search icon " > < / i > < / button >
< %
< %
subs_languages = ast . literal_eval ( str ( details [ 7 ] ) )
subs_languages = ast . literal_eval ( str ( details [ 7 ] ) )
subs_languages_list = [ ]
subs_languages_list = [ ]
@ -113,7 +113,7 @@
end
end
end
end
% >
% >
< button id = " config " class = " ui button " data - tooltip = " Edit series " data - inverted= " " data - tvdbid= " {{ details[5]}} " data - title = " {{ details[0]}} " data - poster = " {{ details[2]}} " data - audio = " {{ details[6]}} " data - languages = " {{ !subs_languages_list}} " data - hearing - impaired = " {{ details[4]}} " > < i class = " ui inverted large compact configure icon " > < / i > < / button >
< button id = " config " class = " ui button " data - tooltip = " Edit series " data - tvdbid= " {{ details[5]}} " data - title = " {{ details[0]}} " data - poster = " {{ details[2]}} " data - audio = " {{ details[6]}} " data - languages = " {{ !subs_languages_list}} " data - hearing - impaired = " {{ details[4]}} " > < i class = " ui inverted large compact configure icon " > < / i > < / button >
< / div >
< / div >
< h2 > { { details [ 0 ] } } < / h2 >
< h2 > { { details [ 0 ] } } < / h2 >
< p > { { details [ 1 ] } } < / p >
< p > { { details [ 1 ] } } < / p >
@ -165,7 +165,6 @@
< tr >
< tr >
< th class = " collapsing " > < / th >
< th class = " collapsing " > < / th >
< th class = " collapsing " > Episode < / th >
< th class = " collapsing " > Episode < / th >
< th class = " collapsing " > < / th >
< th > Title < / th >
< th > Title < / th >
< th class = " collapsing " > Existing < br > subtitles < / th >
< th class = " collapsing " > Existing < br > subtitles < / th >
< th class = " collapsing " > Missing < br > subtitles < / th >
< th class = " collapsing " > Missing < br > subtitles < / th >
@ -177,18 +176,18 @@
< tr >
< tr >
< td class = " collapsing " >
< td class = " collapsing " >
% if episode [ 9 ] == ' True ' :
% if episode [ 9 ] == ' True ' :
< span data - tooltip = " Episode monitored in Sonarr " > < i class = " bookmark icon " > < / i > < / span >
< span data - tooltip = " Episode monitored in Sonarr " data - inverted = ' ' data - position = " top left " > < i class = " bookmark icon " > < / i > < / span >
% else :
% else :
< span data - tooltip = " Episode unmonitored in Sonarr " > < i class = " bookmark outline icon " > < / i > < / span >
< span data - tooltip = " Episode unmonitored in Sonarr " data - inverted = ' ' data - position = " top left " > < i class = " bookmark outline icon " > < / i > < / span >
% end
% end
< / td >
< / td >
< td > { { episode [ 3 ] } } < / td >
< td > { { episode [ 3 ] } } < / td >
< td >
< td >
% if episode [ 8 ] is not None :
% if episode [ 8 ] is not None :
< span data - tooltip = " {{episode[8]}} " > < i class = " info circle icon " > < / i > < / span >
< span data - tooltip = " Scenename is: {{episode[8]}} " data - inverted = ' ' data - position = " top left " > < i class = " info circle icon " > < / i > < / span >
% end
% end
< span data - tooltip = " Path is: {{ episode[1]}} " data - inverted = ' ' data - position = " top left " > { { episode [ 0 ] } } < / span >
< / td >
< / td >
< td > < span data - tooltip = " {{ episode[1]}} " > { { episode [ 0 ] } } < / span > < / td >
< td >
< td >
% if episode [ 4 ] is not None :
% if episode [ 4 ] is not None :
% actual_languages = ast . literal_eval ( episode [ 4 ] )
% actual_languages = ast . literal_eval ( episode [ 4 ] )
@ -234,7 +233,7 @@
{ { language } }
{ { language } }
< i style = " margin-left:3px; margin-right:0px " class = " search icon " > < / i >
< i style = " margin-left:3px; margin-right:0px " class = " search icon " > < / i >
% else :
% else :
< a data - tooltip = " Exclude from automatic search" data - episodePath = " {{ episode[1]}} " data - scenename = " {{ episode[8]}} " data - language = " {{ alpha3_from_alpha2(str(language))}} " data - hi = " {{ details[4]}} " data - sonarrSeriesId = " {{ episode[5]}} " data - sonarrEpisodeId = " {{ episode[7]}} " class = " get_subtitle ui tiny label " >
< a data - tooltip = " Exclude d from automatic search" data - position = " top right " data - inverted = " " data - episodePath = " {{ episode[1]}} " data - scenename = " {{ episode[8]}} " data - language = " {{ alpha3_from_alpha2(str(language))}} " data - hi = " {{ details[4]}} " data - sonarrSeriesId = " {{ episode[5]}} " data - sonarrEpisodeId = " {{ episode[7]}} " class = " get_subtitle ui tiny label " >
{ { language } }
{ { language } }
< i style = " margin-left:3px; margin-right:0px " class = " search red icon " > < / i >
< i style = " margin-left:3px; margin-right:0px " class = " search red icon " > < / i >
% end
% end