#if $seasonResults:
##There is a special/season_0?##
#set $season_special = (0, 1)[0 == int($seasonResults[-1]['season'])]
#if not $sickbeard.DISPLAY_SHOW_SPECIALS and $season_special:
$seasonResults.pop(-1)
#end if
#if $season_special:
Display Specials:
#if sickbeard.DISPLAY_SHOW_SPECIALS:
Hide
#else:
Show
#end if
#end if
#if $show_message:
$show_message
#end if
#if $sickbeard.USE_IMDB_INFO and 'rating' in $show.imdb_info
#if '' != $show.imdb_info['votes']
#set $rating_tip = '%s of 10 stars %s votes' % (str($show.imdb_info['rating']), str($show.imdb_info['votes']))
$show.imdb_info['rating']
#else
[ No votes available ]
#end if
#end if
#set $_show = $show
#if not $sickbeard.USE_IMDB_INFO or not $show.imdbid
($show.startyear) - $show.runtime minutes -
#else
#if 'country_codes' in $show.imdb_info:
#for $country in $show.imdb_info['country_codes'].split('|')
#end for
#end if
#if 'year' in $show.imdb_info:
($show.imdb_info['year']) - $show.imdb_info['runtimes'] minutes
#end if
#end if
#if $xem_numbering or $xem_absolute_numbering:
#end if
#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:
$show.airs #if not $network_timezones.test_timeformat($show.airs) then ' (invalid Timeformat) ' else ''# on $show.network
#else if $show.network:
Originally airs
$show.network
#else if $show.airs:
Originally airs
$show.airs #if not $network_timezones.test_timeformat($show.airs) then ' (invalid Timeformat) ' else ''#
#end if
Status
$show.status
#if $showLoc[1]:
Location
$showLoc[0]
#else:
Location
$showLoc[0] (dir is missing)
#end if
#set $anyQualities, $bestQualities = $Quality.splitQuality(int($show.quality))
Quality
#if $show.quality in $qualityPresets:
$qualityPresetStrings[$show.quality]
#else:
#if $anyQualities:
Initial ... <%= ', '.join([Quality.qualityStrings[x] for x in sorted(anyQualities)])%> #if $bestQualities then ' ' else ''#
#end if
#if $bestQualities:
Replace with ... <%= ', '.join([Quality.qualityStrings[x] for x in sorted(bestQualities)])%>
#end if
#end if
Scene name
#if $show.exceptions then $exceptions_string else $show.name#
#if $show.rls_ignore_words:
Ignore with any of
#echo $show.rls_ignore_words#
#end if
#if $show.rls_require_words:
Require one of
#echo $show.rls_require_words#
#end if
#if $bwl and $bwl.whitelist:
Whitelist group#if len($bwl.whitelist)>1 then 's' else ''#
#echo ', '.join($bwl.whitelist)#
#end if
#if $bwl and $bwl.blacklist:
Blacklist group#if len($bwl.blacklist)>1 then 's' else ''#
#set $curSeason = int($epResult['season'])
#end if
#set $epLoc = $epResult['location']
#if $UNAIRED != int($epResult['status'])
#end if
#if $epLoc and $show._location and $epLoc.lower().startswith($show._location.lower()):
#set $epLoc = $epLoc[len($show._location)+1:]
#elif $epLoc and (not $epLoc.lower().startswith($show._location.lower()) or not $show._location):
#set $epLoc = $epLoc
#end if
#if '' != $epLoc and None != $epLoc:
$epResult["episode"]
#else
$epResult['episode']
#end if
#if $show.is_anime:
$epResult['absolute_number']
#end if
#if $scene:
#elif $scene_anime:
#end if
#if '' != $epResult['description'] and None != $epResult['description']:
#else:
#end if
$epResult['name']
#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)))#
#if $sickbeard.USE_SUBTITLES and $show.subtitles:
#if $epResult['subtitles']:
#for $sub_lang in subliminal.language.language_list($epResult['subtitles'].split(',')):
#if '' != sub_lang.alpha2
#end if
#end for
#end if
#if 0 != int($epResult['season']):
#if (int($epResult['status']) in $Quality.SNATCHED or int($epResult['status']) in $Quality.DOWNLOADED) and $sickbeard.USE_FAILED_DOWNLOADS:
#else:
#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']
#end if