#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
#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 'rating' in $show.imdb_info:
#set $rating_tip = str($show.imdb_info['rating']) + " / 10" + " Stars" + " " + str($show.imdb_info['votes']) + " Votes"
$show.imdb_info['rating']
#end if
#set $_show = $show
#if 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 $show.imdbid
#if $show.genre:
#for $genre in $show.genre[1:-1].split('|')
#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
#if $show.network and $show.airs:
Originally Airs:
$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
Show Status:
$show.status
Default EP Status:
$statusStrings[$show.default_ep_status]
#if $showLoc[1]:
Location:
$showLoc[0]
#else:
Location:
$showLoc[0] (dir is missing)
#end if
Scene Name:
#if $show.exceptions then $exceptions_string else $show.name#
#if $show.rls_require_words:
Required Words:
#echo $show.rls_require_words#
#end if
#if $show.rls_ignore_words:
Ignored Words:
#echo $show.rls_ignore_words#
#end if
#if $bwl and $bwl.get_white_keywords_for("release_group"):
Wanted Group#if len($bwl.get_white_keywords_for("release_group"))>1 then "s" else ""#:
#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 $epLoc != None:
$epResult["episode"]
#else
$epResult["episode"]
#end if
#if $show.is_anime:
$epResult["absolute_number"]
#end if
#if $scene:
"
title="Change the value here if scene numbering differs from the indexer episode numbering"
#if $dfltEpNumbering:
value=""
#else
value="<%=str(scSeas) + 'x' + str(scEpis)%>"
#end if
style="padding: 0; text-align: center; max-width: 60px;" />
#elif $scene_anime:
"
title="Change the value here if scene absolute numbering differs from the indexer absolute numbering"
#if $dfltAbsNumbering:
value=""
#else
value="<%=str(scAbsolute)%>"
#end if
style="padding: 0; text-align: center; max-width: 60px;" />
#end if
#if $epResult["description"] != "" and $epResult["description"] != None:
" />
#else:
#end if
$epResult["name"]
#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)))#
#if len($sickbeard.DOWNLOAD_URL) > 0 and len($epResult['location']) > 0
#set $filename = $epResult['location']
#for $rootDir in $sickbeard.ROOT_DIRS.split('|')
#if $rootDir.startswith('/')
#set $filename = $filename.replace($rootDir, "")
#end if
#end for
#set $filename = $sickbeard.DOWNLOAD_URL + $urllib.quote($filename.encode('utf8'))
#end if
#if $sickbeard.USE_SUBTITLES and $show.subtitles:
#if $epResult["subtitles"]:
#for $sub_lang in subliminal.language.language_list([x.strip() for x in $epResult["subtitles"].split(',')]):
#if sub_lang.alpha2 != ""
#end if
#end for
#end if