2014-03-10 05:18:05 +00:00
#import sickbeard
#from sickbeard . common import *
#from sickbeard import subtitles
2015-03-24 18:11:51 +00:00
<div class="stepDiv linefix">
2014-11-20 22:25:33 +00:00
<div class="field-pair">
<label for="statusSelect">
2015-03-24 18:11:51 +00:00
<span class="component-title">Initial episode status</span>
2014-11-20 22:25:33 +00:00
<span class="component-desc">
<select name="defaultStatus" id="statusSelect" class="form-control form-control-inline input-sm">
#for $ curStatus in [ $ SKIPPED , $ WANTED , $ ARCHIVED , $ IGNORED ] :
<option value=" $ curStatus " #if $ sickbeard . STATUS_DEFAULT == $ curStatus then ' selected= " selected " ' else ' ' # > $ statusStrings [ $ curStatus ]</option>
#end for
</select>
<span>set the initial status of missing episodes</span>
</span>
</label>
</div>
2014-03-10 05:18:05 +00:00
2014-05-26 06:29:22 +00:00
<div class="field-pair alt">
2014-11-20 22:25:33 +00:00
<p class="grey-text">Tip: The following options are <span style="font-weight:800">edit</span>able later in the detail view of the show</p>
</div>
2015-02-16 03:17:56 +00:00
<div class="field-pair">
#set $ qualities = $ Quality . splitQuality ( $ sickbeard . QUALITY_DEFAULT )
#set global $ anyQualities = $ qualities [ 0 ]
#set global $ bestQualities = $ qualities [ 1 ]
#include $ os . path . join ( $ sickbeard . PROG_DIR , ' gui/slick/interfaces/default/inc_qualityChooser.tmpl ' )
2014-11-20 22:25:33 +00:00
</div>
2015-04-07 03:10:50 +00:00
2015-03-10 00:13:58 +00:00
#try :
#if True == $ enable_default_wanted :
<div class="field-pair alt">
<span class="component-title">From season 1 forward, set</span>
<span class="component-desc">
2015-03-14 19:51:14 +00:00
<label for="wanted_begin" style="padding-bottom:10px">
<input type="number" name="wanted_begin" id="wanted_begin" value=" $ sickbeard . WANTED_BEGIN_DEFAULT " class="form-control input-sm input75">
2015-03-10 00:13:58 +00:00
<span>episodes as wanted (10 ... 0, and where -1 is whole first season)</span>
</label>
</span>
<span class="component-title">From latest going back, set</span>
<span class="component-desc">
2015-03-14 19:51:14 +00:00
<label for="wanted_latest">
<input type="number" name="wanted_latest" id="wanted_latest" value=" $ sickbeard . WANTED_LATEST_DEFAULT " class="form-control input-sm input75">
2015-03-10 00:13:58 +00:00
<span>episodes as wanted (10 ... 0, and where -1 is whole latest season)</span>
</label>
</span>
</div>
#end if
#except ( NameError , NotFound ) :
#pass
#end try
2014-11-20 22:25:33 +00:00
2015-05-03 00:42:14 +00:00
<div class="field-pair #if $ sickbeard . SHOWLIST_TAGVIEW != ' custom ' then ' hidden ' else ' ' # " style="margin-top:10px">
<label for="tag">
<span class="component-title">Place show in group</span>
<span class="component-desc">
<select name="tag" id="tag" class="form-control form-control-inline input-sm">
#for $ tag in $ sickbeard . SHOW_TAGS :
<option value=" $ tag " #if $ tag == $ sickbeard . DEFAULT_SHOW_TAG then ' selected= " selected " ' else ' ' # > $ tag </option>
#end for
</select>
<span>and display on the show list page under this section</span>
</span>
</label>
</div>
2014-11-20 22:25:33 +00:00
<div class="field-pair alt">
<label for="flatten_folders">
2015-02-16 03:17:56 +00:00
<span class="component-title">Flat folder structure</span>
2014-11-20 22:25:33 +00:00
<span class="component-desc">
<input class="cb" type="checkbox" name="flatten_folders" id="flatten_folders" #if $ sickbeard . FLATTEN_FOLDERS_DEFAULT then " checked= \" checked \" " else " " # />
<p>do not create sub folders</p>
</span>
</label>
</div>
<div class="field-pair alt">
2015-02-16 03:17:56 +00:00
<label for="scene">
<span class="component-title">Scene numbering</span>
2014-11-20 22:25:33 +00:00
<span class="component-desc">
2015-02-16 03:17:56 +00:00
<input type="checkbox" name="scene" id="scene" #if $ sickbeard . SCENE_DEFAULT then " checked= \" checked \" " else " " # />
2015-08-14 23:02:05 +00:00
<p>search for episodes numbered by scene groups instead of by the TV network<span id="scene-maps-found" style="display:none" class="grey-text"> (scene numbers found)</span></p>
2014-11-20 22:25:33 +00:00
</span>
</label>
</div>
2015-02-16 03:17:56 +00:00
#if $ sickbeard . USE_SUBTITLES :
2014-11-20 22:25:33 +00:00
<div class="field-pair alt">
2015-02-16 03:17:56 +00:00
<label for="subtitles">
<span class="component-title">Subtitles</span>
2014-11-20 22:25:33 +00:00
<span class="component-desc">
2015-02-16 03:17:56 +00:00
<input type="checkbox" name="subtitles" id="subtitles" #if $ sickbeard . SUBTITLES_DEFAULT then " checked= \" checked \" " else " " # />
<p>download subtitles for this show</p>
2014-11-20 22:25:33 +00:00
</span>
</label>
</div>
2015-02-16 03:17:56 +00:00
#end if
2014-11-20 22:25:33 +00:00
2015-03-10 02:29:52 +00:00
#if $ enable_anime_options
2015-02-16 03:17:56 +00:00
<div class="field-pair alt">
<label for="anime">
<span class="component-title">Show is anime</span>
<span class="component-desc">
2015-11-12 00:18:19 +00:00
<input type="checkbox" name="anime" id="anime" #if $ sickbeard . ANIME_DEFAULT or $ kwargs . get ( ' is_anime ' ) then " checked= \" checked \" " else " " # />
2015-02-16 03:17:56 +00:00
<p>enable if this show is anime and episode releases are named ... <em class="grey-text">Show.265</em> instead of <em class="grey-text">Show.S02E03</em></p>
</span>
</label>
</div>
2014-11-20 22:25:33 +00:00
2015-03-10 02:29:52 +00:00
#end if
2015-02-16 03:17:56 +00:00
<div class="field-pair alt" style="margin-top:20px">
2014-11-20 22:25:33 +00:00
<label for="saveDefaultsButton">
<span class="component-title">Save options as defaults</span>
<span class="component-desc">
<input class="btn btn-inline" type="button" id="saveDefaultsButton" value="Save Defaults" disabled="disabled" />
<p>reuse the above options when adding more shows</p>
</span>
</label>
</div>
2015-03-24 18:11:51 +00:00
</div>
2015-01-25 11:58:49 +00:00
2015-03-10 02:29:52 +00:00
#if $ enable_anime_options
2015-02-16 03:17:56 +00:00
#import sickbeard . blackandwhitelist
2015-03-10 02:29:52 +00:00
#include $ os . path . join ( $ sickbeard . PROG_DIR , ' gui/slick/interfaces/default/inc_blackwhitelist.tmpl ' )
#else
<input type="hidden" name="anime" id="anime" value="0" />
2015-03-10 00:13:58 +00:00
#end if