#if not $show.imdbid
($show.startyear) - $show.runtime min
#if $show.genre:
- $show.genre[1:-1].replace('|',' | ')
#end if
#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'] min - $show.imdb_info['genres'].replace('|',' | ')
#end if
#end if
#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 (len($seasonResults) > 14):
#else:
Season:
#for $seasonNum in $seasonResults:
#if int($seasonNum["season"]) == 0:
Specials
#else:
${str($seasonNum["season"])}
#end if
#if $seasonNum != $seasonResults[-1]:
|
#end if
#end for
#end if
#if $season_special:
Display Specials:
#if sickbeard.DISPLAY_SHOW_SPECIALS:
Hide
#else:
Show
#end if
#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
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#
Info Language:
#if $sickbeard.USE_SUBTITLES
Subtitles:
#end if
Flat Folders:
Paused:
Air-by-Date:
Sports:
DVD Order:
#if $anyQualities + $bestQualities
Archive First Match:
#end if
#set $curSeason = -1
#set $odd = 0
Change selected episodes to
#for $epResult in $sqlResults:
#if not $sickbeard.DISPLAY_SHOW_SPECIALS and int($epResult["season"]) == 0:
#continue
#end if
#if int($epResult["season"]) != $curSeason:
#if int($epResult["season"]) == 0 then "Specials" else "Season "+str($epResult["season"])#
NFO
TBN
Episode
Scene #
Name
Airdate
Filename
#if $sickbeard.USE_SUBTITLES and $show.subtitles then "
Subtitles
" else ""#
Status
Search
#set $curSeason = int($epResult["season"])
#end if
#set $epStr = str($epResult["season"]) + "x" + str($epResult["episode"])
#set $epLoc = $epResult["location"]
#if int($show.air_by_date) != 1 and int($show.sports) != 1
#if (epResult["season"], epResult["episode"]) in $xem_numbering:
#set ($dfltSeas, $dfltEpis) = $xem_numbering[(epResult["season"], epResult["episode"])]
#elif $xem_numbering and (epResult["season"], epResult["episode"]) not in $xem_numbering:
#set ($dfltSeas, $dfltEpis) = (0,0)
#else:
#set ($dfltSeas, $dfltEpis) = (epResult["season"], epResult["episode"])
#end if
#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
"
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;"
/>
#else
N/A
#end if
#if $epResult["description"] != "" and $epResult["description"] != None:
" />
#end if
$epResult["name"]
#if int($epResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($epResult["airdate"],$show.airs,$show.network))#
#if $epLoc and $show._location and $epLoc.lower().startswith($show._location.lower()):
#set $epLoc = os.path.basename($epLoc[len($show._location)+1:])
#elif $epLoc and (not $epLoc.lower().startswith($show._location.lower()) or not $show._location):
#set $epLoc = os.path.basename($epLoc)
#end if
$epLoc
#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 int($epResult["season"]) != 0:
#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