@ -19,7 +19,9 @@
<script type="text/javascript" src=" $ sbRoot /js/displayShow.js? $ sbPID "></script>
<script type="text/javascript" src=" $ sbRoot /js/plotTooltip.js? $ sbPID "></script>
<script type="text/javascript" src=" $ sbRoot /js/sceneExceptionsTooltip.js? $ sbPID "></script>
#if $ sickbeard . USE_IMDB_INFO :
<script type="text/javascript" src=" $ sbRoot /js/ratingTooltip.js? $ sbPID "></script>
#end if
<script type="text/javascript" src=" $ sbRoot /js/ajaxEpSearch.js? $ sbPID "></script>
<script type="text/javascript" src=" $ sbRoot /js/ajaxEpSubtitles.js? $ sbPID "></script>
<script type="text/javascript" charset="utf-8">
@ -32,7 +34,7 @@
dateHasTime : false,
dateFormat : ' ${ sickbeard . DATE_PRESET } ',
timeFormat : ' ${ sickbeard . TIME_PRESET } ',
trimZero : #if $ sickbeard . TRIM_ZERO then " true " else " false " #
trimZero : #if $ sickbeard . TRIM_ZERO then ' true ' else ' false ' #
});
#end if
#raw
@ -45,12 +47,12 @@
});
});
#end raw
#if $ sickbeard . USE_IMDB_INFO :
\$.fn.generateStars = function() {
return this.each(function(i,e){\$(e).html(\$('<span/>').width(\$(e).text()*12));});
};
\$('.imdbstars').generateStars();
#end if
TVShowList = [ ${ tvshow_id_csv } ]
});
//-->
@ -64,13 +66,13 @@
#set $ curShowType = $ curShowList [ 0 ]
#set $ curShowList = $ curShowList [ 1 ]
#if len ( $ sortedShowLists ) > 1 :
#if 1 < len ( $ sortedShowLists ) :
<optgroup label=" $ curShowType ">
#end if
#for $ curShow in $ curShowList :
<option value=" $ curShow . indexerid " #if $ curShow == $ show then " selected= \" selected \" " else " " # > $ curShow . name </option>
<option value=" $ curShow . indexerid " #if $ curShow == $ show then ' selected= " selected " ' else ' ' # > $ curShow . name </option>
#end for
#if len ( $ sortedShowLists ) > 1 :
#if 1 < len ( $ sortedShowLists ) :
</optgroup>
#end if
#end for
@ -84,14 +86,9 @@
<h1 class="title" id="scene_exception_ $ show . indexerid "><span> $ show . name </span></h1>
</div>
#if $ seasonResults :
##There is a special/season_0?##
#if int ( $ seasonResults [ - 1 ] [ " season " ] ) == 0 :
#set $ season_special = 1
#else :
#set $ season_special = 0
#end if
#set $ season_special = ( 0 , 1 ) [ 0 == int ( $ seasonResults [ - 1 ] [ ' season ' ] ) ]
#if not $ sickbeard . DISPLAY_SHOW_SPECIALS and $ season_special :
$ seasonResults . pop (-1)
@ -114,16 +111,16 @@
<select id="seasonJump" class="form-control input-sm" style="position: relative; top: -4px;">
<option value="jump">Jump to Season</option>
#for $ seasonNum in $ seasonResults :
<option value=" #season - $ seasonNum [ " season " ] " > # if int( $ seasonNum ["season"]) == 0 then "Specials" else "Season " + str( $ seasonNum ["season" ]) #</option>
<option value=" #season - $ seasonNum [ ' season ' ] " > # if 0 == int( $ seasonNum ['season']) then 'Specials' else 'Season ' + str( $ seasonNum ['season' ]) #</option>
#end for
</select>
#else :
Season:
#for $ seasonNum in $ seasonResults :
#if int ( $ seasonNum [ " season " ] ) == 0 :
<a href=" #season - $ seasonNum [ " season " ] " >Specials</a>
#if 0 == int ( $ seasonNum [ ' season ' ] ) :
<a href=" #season - $ seasonNum [ ' season ' ] " >Specials</a>
#else :
<a href=" #season - $ seasonNum [ " season " ] " >$ { str($seasonNum[ " season " ])}</a>
<a href=" #season - $ seasonNum [ ' season ' ] " >$ { str($seasonNum[ ' season ' ])}</a>
#end if
#if $ seasonNum != $ seasonResults [ - 1 ] :
<span class="separator">|</span>
@ -145,19 +142,24 @@
<div id="container">
<div id="posterCol">
<a href=" $ sbRoot /showPoster/?show= $ show . indexerid &which=poster" rel="dialog" title="View Poster for $ show . name "><img src=" $ sbRoot /showPoster/?show= $ show . indexerid &which=poster_thumb" class="tvshowImg" alt=""/></a>
<a href=" $ sbRoot /showPoster/?show= $ show . indexerid &which=poster" rel="dialog" title="View Poster for $ show . name ">
<img #echo ( ' ' , ' style= " height:271px " ' ) [ not $ sickbeard . USE_IMDB_INFO or not $ show . imdbid or ' year ' not in $ show . imdb_info ] # src=" $ sbRoot /showPoster/?show= $ show . indexerid &which=poster_thumb" class="tvshowImg" alt="" /></a>
</div>
<div id="showCol">
<div id="showinfo">
#if ' rating ' in $ show . imdb_info :
#set $ rating_tip = str ( $ show . imdb_info [ ' rating ' ] ) + " / 10 " + " Stars " + " <br /> " + str ( $ show . imdb_info [ ' votes ' ] ) + " Votes "
#if $ sickbeard . USE_IMDB_INFO and ' rating ' in $ show . imdb_info
#if ' ' != $ show . imdb_info [ ' votes ' ]
#set $ rating_tip = ' %s of 10 stars<br /> %s votes ' % ( str ( $ show . imdb_info [ ' rating ' ] ) , str ( $ show . imdb_info [ ' votes ' ] ) )
<span class="imdbstars" qtip-content=" $ rating_tip "> $ show . imdb_info ['rating']</span>
#else
<span class="imdb-info">[ No votes available ]</span>
#end if
#end if
#set $ _show = $ show
#if not $ show . imdbid
#if not $ sickbeard . USE_IMDB_INFO or not $ s how . imdbid
<span>( $ show . startyear ) - $ show . runtime minutes - </span>
#else
#if ' country_codes ' in $ show . imdb_info :
@ -175,23 +177,27 @@
<a class="service" href="<%= anon_url('http://thexem.de/search?q=', _show.name) %>" rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;" title="http://thexem.de/search?q- $ show . name "><img alt="[xem]" height="16" width="16" src=" $ sbRoot /images/xem.png" /></a>
#end if
</div>
#if not $ sickbeard . USE_IMDB_INFO or not $ show . imdbid
## Disabling these trackt tags as they 404 on trakt2.0, remove False to re-enable
#if False and $ show . genre :
<div id="tags">
<ul class="tags">
#if not $ show . imdbid
#if $ show . genre :
#for $ genre in $ show . genre [ 1 : - 1 ] . split ( ' | ' )
<a href="<%= anon_url('http://trakt.tv/shows/popular/', genre.lower()) %>" target="_blank" title="View other popular $ genre shows on trakt.tv. "><li > $ genre </li></a >
<li><a href="<%= anon_url('http://trakt.tv/shows/popular/', genre.lower()) %>" target="_blank" title="View other popular $ genre shows on trakt.tv"> $ genre </a></li>
#end for
</ul>
</div>
#end if
#end if
#if ' year ' in $ show . imdb_info :
#for $ imdbgenre in $ show . imdb_info [ ' genres ' ] . replace ( ' Sci-Fi ' , ' Science-Fiction ' ) . split ( ' | ' )
<a href="<%= anon_url('http://trakt.tv/shows/popular/', imdbgenre.lower()) %>" target="_blank" title="View other popular $ imdbgenre shows on trakt.tv."><li> $ imdbgenre </li></a>
#if $ sickbeard . USE_IMDB_INFO and ' year ' in $ show . imdb_info :
<div id="tags">
<ul class="tags">
#for $ imdbgenre in $ show . imdb_info [ ' genres ' ] . split ( ' | ' )
<li><a href="<%= anon_url('http://www.imdb.com/genre/', imdbgenre) %>" target="_blank" title="View other popular $ imdbgenre shows on imdb.com"> $ imdbgenre . replace ('Sci-Fi', 'Science-Fiction')</a></li>
#end for
#end if
</ul>
</div>
#end if
<div id="summary">
<table class="summaryTable pull-left">
@ -214,12 +220,12 @@
<span class="quality $ qualityPresetStrings [ $ show . quality ]"> $ qualityPresetStrings [ $ show . quality ]</span>
#else :
#if $ anyQualities :
<i class="grey-text">Initial ...</i> <%= ', '.join([Quality.qualityStrings[x] for x in sorted(anyQualities)])%> #if $ bestQualities then " </br> " else " " #
<i class="grey-text">Initial ...</i> <%= ', '.join([Quality.qualityStrings[x] for x in sorted(anyQualities)])%> #if $ bestQualities then ' </br> ' else ' ' #
#end if
#if $ bestQualities :
<i class="grey-text">Replace with ...</i> <%= ', '.join([Quality.qualityStrings[x] for x in sorted(bestQualities)])%>
#end if
#end if
#end if</td></tr>
<tr><td class="showLegend grey-text">Scene name</td><td> #if $ show . exceptions then $ exceptions_string else $ show . name # </td></tr>
#if $ show . rls_ignore_words :
@ -241,27 +247,27 @@
#end if
<tr><td class="showLegend grey-text">Size</td><td> $ sickbeard . helpers . human (sickbeard.helpers.get_size( $ showLoc [0]))</td></tr>
</table>
<table class="options-on-right">
<tr><td class="showLegendRight grey-text">Paused</td><td><img src=" $ sbRoot /images/ #if int ( $ show . paused ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
#set $ no = ' no16.png " title= " No " alt= " No '
#set $ yes = ' yes16.png " title= " Yes " alt= " Yes '
<tr><td class="showLegendRight grey-text">Paused</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . paused ) ] # " width="16" height="16" /></td></tr>
#if $ anyQualities + $ bestQualities
<tr><td class="showLegendRight grey-text">Archive on first match</td><td><img src=" $ sbRoot /images/ #if int ( $ show . archive_firstmatch ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Archive on first match</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . archive_firstmatch ) ] # " width="16" height="16" /></td></tr>
#end if
<tr><td class="showLegendRight grey-text">Flat folder structure</td><td><img src=" $ sbRoot /images/ #if $ show . flatten_folders == 1 or $ sickbeard . NAMING_FORCE_FOLDERS then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Air by date naming</td><td><img src=" $ sbRoot /images/ #if int ( $ show . air_by_date ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Use DVD order</td><td><img src=" $ sbRoot /images/ #if int ( $ show . dvdorder ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Scene numbering</td><td><img src=" $ sbRoot /images/ #if int ( $ show . scene ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Flat folder structure</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == $ show . flatten_folders or $ sickbeard . NAMING_FORCE_FOLDERS ] # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Air by date naming</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . air_by_date ) ] # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Use DVD order</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . dvdorder ) ] # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Scene numbering</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . scene ) ] # " width="16" height="16" /></td></tr>
#if $ sickbeard . USE_SUBTITLES
<tr><td class="showLegendRight grey-text">Subtitles</td><td><img src=" $ sbRoot /images/ #if int ( $ show . subtitles ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Subtitles</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . subtitles ) ] # " width="16" height="16" /></td></tr>
#end if
<tr><td class="showLegendRight grey-text">Show is sports</td><td><img src=" $ sbRoot /images/ #if int ( $ show . is_sports ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Show is anime</td><td><img src=" $ sbRoot /images/ #if int ( $ show . is_anime ) == 1 then ' yes16.png " title= " Yes " alt= " Yes ' else ' no16.png " title= " No " alt= " No ' # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Show is sports</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . is_sports ) ] # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Show is anime</td><td><img src=" $ sbRoot /images/ #echo ( $ no , $ yes ) [ 1 == int ( $ show . is_anime ) ] # " width="16" height="16" /></td></tr>
<tr><td class="showLegendRight grey-text">Info language</td><td><img src=" $ sbRoot /images/flags/ ${ show . lang } .png" width="16" height="11" alt=" $ show . lang " title=" $ show . lang " /></td></tr>
</table>
</div>
</div>
</div>
@ -271,7 +277,7 @@
Change selected episodes to
<select id="statusSelect" class="form-control form-control-inline input-sm">
#for $ curStatus in [ $ WANTED , $ SKIPPED , $ ARCHIVED , $ IGNORED , $ FAILED ] + sorted ( $ Quality . DOWNLOADED ) :
#if $ curStatus == $ DOWNLOADED :
#if $ DOWNLOADED == $ curStatus :
#continue
#end if
<option value=" $ curStatus "> $ statusStrings [ $ curStatus ]</option>
@ -305,12 +311,12 @@
#set $ odd = 0
#for $ epResult in $ sqlResults :
#set $ epStr = str ( $ epResult [ " season " ] ) + " x " + str ( $ epResult [ " episode " ] )
#set $ epStr = str ( $ epResult [ ' season ' ] ) + ' x ' + str ( $ epResult [ ' episode ' ] )
#if not $ epStr in $ epCats :
#continue
#end if
#if not $ sickbeard . DISPLAY_SHOW_SPECIALS and int ( $ epResult [ " season " ] ) == 0 :
#if not $ sickbeard . DISPLAY_SHOW_SPECIALS and 0 == int ( $ epResult [ ' season ' ] ) :
#continue
#end if
@ -324,37 +330,37 @@
#set ( $ dfltSeas , $ dfltEpis , $ dfltAbsolute ) = ( 0 , 0 , 0 )
#if ( epResult [ " season " ] , epResult [ " episode " ] ) in $ xem_numbering :
#set ( $ dfltSeas , $ dfltEpis ) = $ xem_numbering [ ( epResult [ " season " ] , epResult [ " episode " ] ) ]
#if ( epResult [ ' season ' ] , epResult [ ' episode ' ] ) in $ xem_numbering :
#set ( $ dfltSeas , $ dfltEpis ) = $ xem_numbering [ ( epResult [ ' season ' ] , epResult [ ' episode ' ] ) ]
#end if
#if epResult [ " absolute_number " ] in $ xem_absolute_numbering :
#set $ dfltAbsolute = $ xem_absolute_numbering [ epResult [ " absolute_number " ] ]
#if epResult [ ' absolute_number ' ] in $ xem_absolute_numbering :
#set $ dfltAbsolute = $ xem_absolute_numbering [ epResult [ ' absolute_number ' ] ]
#end if
#if epResult [ " absolute_number " ] in $ scene_absolute_numbering :
#set $ scAbsolute = $ scene_absolute_numbering [ epResult [ " absolute_number " ] ]
#if epResult [ ' absolute_number ' ] in $ scene_absolute_numbering :
#set $ scAbsolute = $ scene_absolute_numbering [ epResult [ ' absolute_number ' ] ]
#set $ dfltAbsNumbering = False
#else
#set $ scAbsolute = $ dfltAbsolute
#set $ dfltAbsNumbering = True
#end if
#if ( epResult [ " season " ] , epResult [ " episode " ] ) in $ scene_numbering :
#set ( $ scSeas , $ scEpis ) = $ scene_numbering [ ( epResult [ " season " ] , epResult [ " episode " ] ) ]
#if ( epResult [ ' season ' ] , epResult [ ' episode ' ] ) in $ scene_numbering :
#set ( $ scSeas , $ scEpis ) = $ scene_numbering [ ( epResult [ ' season ' ] , epResult [ ' episode ' ] ) ]
#set $ dfltEpNumbering = False
#else
#set ( $ scSeas , $ scEpis ) = ( $ dfltSeas , $ dfltEpis )
#set $ dfltEpNumbering = True
#end if
#if int ( $ epResult [ " season " ] ) != $ curSeason :
#if int ( $ epResult [ ' season ' ] ) != $ curSeason :
<tr id="season- $ epResult ['season']">
<th class="row-seasonheader" colspan="13" style="width: auto;"><h3><a name="season- $ epResult ["season"]"></a> #if int ( $ epResult [ " season " ] ) == 0 then " Specials " else " Season " + str ( $ epResult [ " season " ] ) # </h3></th>
<th class="row-seasonheader" colspan="13" style="width: auto;"><h3><a name="season- $ epResult ['season']"></a> #if 0 == int ( $ epResult [ ' season ' ] ) then ' Specials ' else ' Season ' + str ( $ epResult [ ' season ' ] ) # </h3></th>
</tr>
<tr id="season- $ epResult ["season" ]-cols" class="seasoncols">
<th class="col-checkbox"><input type="checkbox" class="seasonCheck" id=" $ epResult ["season" ]" /></th>
<tr id="season- $ epResult ['season' ]-cols" class="seasoncols">
<th class="col-checkbox"><input type="checkbox" class="seasonCheck" id=" $ epResult ['season' ]" /></th>
<th class="col-metadata">NFO</th>
<th class="col-metadata">TBN</th>
<th class="col-ep">Episode</th>
@ -375,23 +381,22 @@
<th class="col-status">Status</th>
<th class="col-search">Search</th>
</tr>
#set $ curSeason = int ( $ epResult [ " season " ] )
#set $ curSeason = int ( $ epResult [ ' season ' ] )
#end if
#set $ epLoc = $ epResult [ " location " ]
#set $ epLoc = $ epResult [ ' location ' ]
<tr class=" $ Overview . overviewStrings [ $ epCats [ $ epStr ]] season- $ curSeason seasonstyle">
<td class="col-checkbox">
#if int ( $ epResult [ " status " ] ) != $ UNAIRED
<input type="checkbox" class="epCheck" id="<%=str(epResult["season"])+'x'+str(epResult["episode"])%>" name="<%=str(epResult["season"]) +"x"+str(epResult["episode"]) %>" />
#if $ UNAIRED != int ( $ epResult [ ' status ' ] )
<input type="checkbox" class="epCheck" id="<%=str(epResult['season'])+'x'+str(epResult['episode'])%>" name="<%=str(epResult['season']) +'x'+str(epResult['episode']) %>" />
#end if
</td>
<td align="center"><img src=" $ sbRoot /images/ #if $ epResult [ " hasnfo " ] == 1 then " nfo.gif \" alt= \" Y " else " nfo-no.gif \" alt= \" N " # " width="23" height="11" /></td>
<td align="center"><img src=" $ sbRoot /images/ #if 1 == $ epResult [ ' hasnfo ' ] then ' nfo.gif " alt= " Y ' else ' nfo-no.gif " alt= " N ' # " width="23" height="11" /></td>
<td align="center"><img src=" $ sbRoot /images/ #if $ epResult [ " hastbn " ] == 1 then " tbn.gif \" alt= \" Y " else " tbn-no.gif \" alt= \" N " # " width="23" height="11" /></td>
<td align="center"><img src=" $ sbRoot /images/ #if 1 == $ epResult [ ' hastbn ' ] then ' tbn.gif " alt= " Y ' else ' tbn-no.gif " alt= " N ' # " width="23" height="11" /></td>
<td align="center">
#if $ epLoc and $ show . _location and $ epLoc . lower ( ) . startswith ( $ show . _location . lower ( ) ) :
@ -400,22 +405,22 @@
#set $ epLoc = $ epLoc
#end if
#if $ epLoc != " " and $ epLoc != None :
#if ' ' != $ epLoc and None != $ epLoc :
<span title=" $ epLoc " class="addQTip"> $ epResult ["episode"]</span>
#else
$ epResult ["episode" ]
$ epResult ['episode' ]
#end if
</td>
#if $ show . is_anime :
<td align="center"> $ epResult ["absolute_number" ]</td>
<td align="center"> $ epResult ['absolute_number' ]</td>
#end if
#if $ scene :
<td align="center">
<input type="text" placeholder="<%=str(dfltSeas) + 'x' + str(dfltEpis)%>" size="6" maxlength="8"
class="sceneSeasonXEpisode form-control input-scene" data-for-season=" $ epResult ["season" ]" data-for-episode=" $ epResult ["episode" ]"
id="sceneSeasonXEpisode_ $ show . indexerid <%="_"+str(epResult["season"])+"_"+str(epResult["episode" ])%>"
class="sceneSeasonXEpisode form-control input-scene" data-for-season=" $ epResult ['season' ]" data-for-episode=" $ epResult ['episode' ]"
id="sceneSeasonXEpisode_ $ show . indexerid <%='_'+str(epResult['season'])+'_'+str(epResult['episode' ])%>"
title="Change the value here if scene numbering differs from the indexer episode numbering"
#if $ dfltEpNumbering :
value=""
@ -427,8 +432,8 @@
#elif $ scene_anime :
<td align="center">
<input type="text" placeholder="<%=str(dfltAbsolute)%>" size="6" maxlength="8"
class="sceneAbsolute form-control input-scene" data-for-absolute=" $ epResult ["absolute_number" ]"
id="sceneAbsolute_ $ show . indexerid <%="_"+str(epResult["absolute_number" ])%>"
class="sceneAbsolute form-control input-scene" data-for-absolute=" $ epResult ['absolute_number' ]"
id="sceneAbsolute_ $ show . indexerid <%='_'+str(epResult['absolute_number' ])%>"
title="Change the value here if scene absolute numbering differs from the indexer absolute numbering"
#if $ dfltAbsNumbering :
value=""
@ -440,23 +445,23 @@
#end if
<td class="col-name">
#if $ epResult [ " description " ] != " " and $ epResult [ " description " ] != None :
<img src=" $ sbRoot /images/info32.png" width="16" height="16" class="plotInfo" alt="" id="plot_info_ $ show . indexerid <%="_" + str(epResult["season"]) + "_" + str(epResult["episode" ])%>" />
#if ' ' != $ epResult [ ' description ' ] and None != $ epResult [ ' description ' ] :
<img src=" $ sbRoot /images/info32.png" width="16" height="16" class="plotInfo" alt="" id="plot_info_ $ show . indexerid <%='_' + str(epResult['season']) + '_' + str(epResult['episode' ])%>" />
#else :
<img src=" $ sbRoot /images/info32.png" width="16" height="16" class="plotInfoNone" alt="" />
#end if
$ epResult ["name" ]
$ epResult ['name' ]
</td>
<td class="col-airdate">
<span class=" ${ fuzzydate } "> #if int ( $ epResult [ ' airdate ' ] ) == 1 then ' never ' else $ sbdatetime . sbdatetime . sbfdate ( $ sbdatetime . sbdatetime . convert_to_setting ( $ network_timezones . parse_date_time ( $ epResult [ ' airdate ' ] , $ show . airs , $ show . network ) ) ) # </span>
<span class=" ${ fuzzydate } "> #if 1 == int ( $ epResult [ ' airdate ' ] ) then ' never ' else $ sbdatetime . sbdatetime . sbfdate ( $ sbdatetime . sbdatetime . convert_to_setting ( $ network_timezones . parse_date_time ( $ epResult [ ' airdate ' ] , $ show . airs , $ show . network ) ) ) # </span>
</td>
#if $ sickbeard . USE_SUBTITLES and $ show . subtitles :
<td class="col-subtitles" align="center">
#if $ epResult [ " subtitles " ] :
#for $ sub_lang in subliminal . language . language_list ( $ epResult [ " subtitles " ] . split ( ' , ' ) ) :
#if sub_lang . alpha2 != " "
#if $ epResult [ ' subtitles ' ] :
#for $ sub_lang in subliminal . language . language_list ( $ epResult [ ' subtitles ' ] . split ( ' , ' ) ) :
#if ' ' != sub_lang . alpha2
<img src=" $ sbRoot /images/flags/ ${ sub_lang . alpha2 } .png" width="16" height="11" alt=" ${ sub_lang } " />
#end if
#end for
@ -464,30 +469,28 @@
</td>
#end if
#set $ curStatus , $ curQuality = $ Quality . splitCompositeStatus ( int ( $ epResult [ " status " ] ) )
#if $ curQuality != Quality . NONE :
<td class="col-status"> $ statusStrings [ $ curStatus ] <span class="quality $ Quality . qualityStrings [ $ curQuality ].replace("720p","HD720p").replace("1080p","HD1080p").replace("RawHD TV", "RawHD").replace("HD TV", "HD720p" )"> $ Quality . qualityStrings [ $ curQuality ]</span></td>
#set $ curStatus , $ curQuality = $ Quality . splitCompositeStatus ( int ( $ epResult [ ' status ' ] ) )
#if Quality . NONE != $ curQuality :
<td class="col-status"> $ statusStrings [ $ curStatus ] <span class="quality $ Quality . qualityStrings [ $ curQuality ].replace('720p','HD720p').replace('1080p','HD1080p').replace('RawHD TV', 'RawHD').replace('HD TV', 'HD720p' )"> $ Quality . qualityStrings [ $ curQuality ]</span></td>
#else :
<td class="col-status"> $ statusStrings [ $ curStatus ]</td>
#end if
<td class="col-search">
#if int ( $ epResult [ " season " ] ) != 0 :
#if ( int ( $ epResult [ " status " ] ) in $ Quality . SNATCHED or int ( $ epResult [ " status " ] ) in $ Quality . DOWNLOADED ) and $ sickbeard . USE_FAILED_DOWNLOADS :
<a class="epRetry" id="<%=str(epResult["season"])+'x'+str(epResult["episode"])%>" name="<%=str(epResult["season"]) +"x"+str(epResult["episode" ]) %>" href="retryEpisode?show= $ show . indexerid &season= $ epResult ["season" ]&episode= $ epResult ["episode" ]"><img src=" $ sbRoot /images/search16.png" height="16" alt="retry" title="Retry Download" /></a>
#if 0 != int ( $ epResult [ ' season ' ] ) :
#if ( int ( $ epResult [ ' status ' ] ) in $ Quality . SNATCHED or int ( $ epResult [ ' status ' ] ) in $ Quality . DOWNLOADED ) and $ sickbeard . USE_FAILED_DOWNLOADS :
<a class="epRetry" id="<%=str(epResult['season'])+'x'+str(epResult['episode'])%>" name="<%=str(epResult['season']) +'x'+str(epResult['episode' ]) %>" href="retryEpisode?show= $ show . indexerid &season= $ epResult ['season' ]&episode= $ epResult ['episode' ]"><img src=" $ sbRoot /images/search16.png" height="16" alt="retry" title="Retry Download" /></a>
#else :
<a class="epSearch" id="<%=str(epResult["season"])+'x'+str(epResult["episode"])%>" name="<%=str(epResult["season"]) +"x"+str(epResult["episode" ]) %>" href="searchEpisode?show= $ show . indexerid &season= $ epResult ["season" ]&episode= $ epResult ["episode" ]"><img src=" $ sbRoot /images/search16.png" width="16" height="16" alt="search" title="Manual Search" /></a>
<a class="epSearch" id="<%=str(epResult['season'])+'x'+str(epResult['episode'])%>" name="<%=str(epResult['season']) +'x'+str(epResult['episode' ]) %>" href="searchEpisode?show= $ show . indexerid &season= $ epResult ['season' ]&episode= $ epResult ['episode' ]"><img src=" $ sbRoot /images/search16.png" width="16" height="16" alt="search" title="Manual Search" /></a>
#end if
#end if
#if $ sickbeard . USE_SUBTITLES and $ show . subtitles and len ( set ( str ( $ epResult [ " subtitles " ] ) . split ( ' , ' ) ) . intersection ( set ( $ subtitles . wantedLanguages ( ) ) ) ) < len ( $ subtitles . wantedLanguages ( ) ) and $ epResult [ " location " ]
<a class="epSubtitlesSearch" href="searchEpisodeSubtitles?show= $ show . indexerid &season= $ epResult ["season" ]&episode= $ epResult ["episode" ]"><img src=" $ sbRoot /images/closed_captioning.png" height="16" alt="search subtitles" title="Search Subtitles" /></a>
#if $ sickbeard . USE_SUBTITLES and $ show . subtitles and len ( set ( str ( $ epResult [ ' subtitles ' ] ) . split ( ' , ' ) ) . intersection ( set ( $ subtitles . wantedLanguages ( ) ) ) ) < len ( $ subtitles . wantedLanguages ( ) ) and $ epResult [ ' location ' ]
<a class="epSubtitlesSearch" href="searchEpisodeSubtitles?show= $ show . indexerid &season= $ epResult ['season' ]&episode= $ epResult ['episode' ]"><img src=" $ sbRoot /images/closed_captioning.png" height="16" alt="search subtitles" title="Search Subtitles" /></a>
#end if
</td>
</tr>
#end for
</table>
#include $ os . path . join ( $ sickbeard . PROG_DIR , ' gui/slick/interfaces/default/inc_bottom.tmpl ' )