#import sickbeard #from sickbeard import subtitles, sbdatetime, network_timezones #import sickbeard.helpers #from sickbeard.common import * #from sickbeard.helpers import anon_url #from lib import subliminal #import os.path, os #import datetime #set global $title=$show.name ##set global $header = '' % #set global $topmenu="manageShows"# #set $exceptions_string = " | ".join($show.exceptions) #include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl")
Change Show:

$show.name

#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 (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 #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 [imdb] #end if $sickbeard.indexerApi($show.indexer).name #if $xem_numbering or $xem_absolute_numbering: [xem] #end if
    #if not $show.imdbid #if $show.genre: #for $genre in $show.genre[1:-1].split('|')
  • $genre
  • #end for #end if #end if #if 'year' in $show.imdb_info: #for $imdbgenre in $show.imdb_info['genres'].replace('Sci-Fi','Science-Fiction').split('|')
  • $imdbgenre
  • #end for #end if
#set $anyQualities, $bestQualities = $Quality.splitQuality(int($show.quality)) #else if $show.network: #else if $show.airs: #end if #if $showLoc[1]: #else: #end if #if $show.rls_require_words: #end if #if $show.rls_ignore_words: #end if #if $bwl and $bwl.get_white_keywords_for("release_group"): #end if #if $bwl and $bwl.get_black_keywords_for("release_group"): #end if
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 #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
Originally Airs: $show.network
Originally Airs: >$show.airs #if not $network_timezones.test_timeformat($show.airs) then " (invalid Timeformat) " else ""#
Show Status: $show.status
Default EP Status: $statusStrings[$show.default_ep_status]
Location: $showLoc[0]
Location: $showLoc[0] (dir is missing)
Scene Name:#if $show.exceptions then $exceptions_string else $show.name#
Required Words: #echo $show.rls_require_words#
Ignored Words: #echo $show.rls_ignore_words#
Wanted Group#if len($bwl.get_white_keywords_for("release_group"))>1 then "s" else ""#: #echo ', '.join($bwl.get_white_keywords_for("release_group"))#
Unwanted Group#if len($bwl.get_black_keywords_for("release_group"))>1 then "s" else ""#: #echo ', '.join($bwl.get_black_keywords_for("release_group"))#
Size:$sickbeard.helpers.human(sickbeard.helpers.get_size($showLoc[0]))
#if $sickbeard.USE_SUBTITLES #end if #if $anyQualities + $bestQualities #end if
Info Language:$show.lang
Subtitles: \"Y"
Flat Folders: \"Y"
Paused: \"Y"
Air-by-Date: \"Y"
Sports: \"Y"
Anime: \"Y"
DVD Order: \"Y"
Scene Numbering: \"Y"
Archive First Match: \"Y"
Change selected episodes to:


#set $curSeason = -1 #set $odd = 0 #for $epResult in $sqlResults: #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: #continue #end if #set $scene = False #set $scene_anime = False #if not $show.air_by_date and not $show.is_sports and not $show.is_anime and $show.is_scene: #set $scene = True #elif not $show.air_by_date and not $show.is_sports and $show.is_anime and $show.is_scene: #set $scene_anime = True #end if #set ($dfltSeas, $dfltEpis, $dfltAbsolute) = (0, 0, 0) #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"]] #end if #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"])] #set $dfltEpNumbering = False #else #set ($scSeas, $scEpis) = ($dfltSeas, $dfltEpis) #set $dfltEpNumbering = True #end if #if int($epResult["season"]) != $curSeason: #if $sickbeard.PLAY_VIDEOS: #end if #if $show.is_anime: #end if #if $scene: #end if #if $scene_anime: #end if #if $sickbeard.USE_SUBTITLES and $show.subtitles: #end if #set $curSeason = int($epResult["season"]) #end if #set $epLoc = $epResult["location"] #if $sickbeard.PLAY_VIDEOS: #end if #if $show.is_anime: #end if #if $scene: #elif $scene_anime: #end if #if $sickbeard.USE_SUBTITLES and $show.subtitles: #end if #set $curStatus, $curQuality = $Quality.splitCompositeStatus(int($epResult["status"])) #if $curQuality != Quality.NONE: #else: #end if #end for

#if int($epResult["season"]) == 0 then "Specials" else "Season " + str($epResult["season"])#

Video EpisodeAbsoluteSceneScene AbsoluteName AirdateSubtitlesStatus Search
#if int($epResult["status"]) != $UNAIRED " name="<%=str(epResult["season"]) +"x"+str(epResult["episode"]) %>" /> #end if #if $epResult["location"]: #set $video_root = $os.path.dirname($show._location) #set $video_source = $sbRoot + $epResult["location"].replace($video_root, '/videos')
Loading the player...
#else: No Video #end if
\"Y" \"Y" #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 $epResult["absolute_number"] " 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;" /> " 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;" /> #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 $epResult["subtitles"]: #for $sub_lang in subliminal.language.language_list($epResult["subtitles"].split(',')): #if sub_lang.alpha2 != "" ${sub_lang} #end if #end for #end if $statusStrings[$curStatus] $Quality.qualityStrings[$curQuality]$statusStrings[$curStatus]
#include $os.path.join($sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.tmpl")