mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-16 17:47:43 +00:00
Overhaul Config Post Processing.
Change overhaul Config Post Processing to be in line with General Configuration. Change rearrange post processing items into sections for easier use. Fix CSS overriding link colors on config pages.
This commit is contained in:
parent
463df59b05
commit
be92776792
5 changed files with 1005 additions and 979 deletions
|
@ -18,6 +18,9 @@
|
|||
* Add option to treat anime releases that lack a quality tag as HDTV instead of "unknown"
|
||||
* Remove old version checking code that no longer applies to SickGear's release system
|
||||
* Fix pnotify notifications going full page
|
||||
* Change overhaul Config Post Processing to be in line with General Configuration
|
||||
* Change rearrange post processing items into sections for easier use
|
||||
* Fix CSS overriding link colors on config pages
|
||||
|
||||
[develop changelog]
|
||||
* Change descriptions and layout on Config/Anime page
|
||||
|
|
|
@ -211,7 +211,6 @@ inc_top.tmpl
|
|||
|
||||
.ui-widget-content a:hover {
|
||||
color: #09A2FF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ui-widget-header {
|
||||
|
|
|
@ -199,6 +199,14 @@ inc_top.tmpl
|
|||
background: #dcdcdc url("../css/lib/images/ui-bg_highlight-soft_75_dcdcdc_1x100.png") 50% top repeat-x;
|
||||
}
|
||||
|
||||
.ui-widget-content a {
|
||||
color: rgb(42, 100, 150);
|
||||
}
|
||||
|
||||
.ui-widget-content a:hover {
|
||||
color: #09A2FF;
|
||||
}
|
||||
|
||||
.ui-widget-header {
|
||||
background: #ffffff url("../css/lib/images/ui-bg_flat_0_ffffff_40x100.png") 50% 50% repeat-x;
|
||||
}
|
||||
|
|
|
@ -3006,6 +3006,9 @@ span.token-input-delete-token {
|
|||
margin: 0 1px;
|
||||
}
|
||||
|
||||
.ui-widget-content a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.red-text {color:#d33}
|
||||
.clear-left {clear:left}
|
||||
.nextline-block {display:block}
|
||||
|
|
|
@ -1,27 +1,29 @@
|
|||
#import os.path
|
||||
#import sickbeard
|
||||
#from sickbeard.common import *
|
||||
#from sickbeard.helpers import anon_url
|
||||
#from sickbeard import config
|
||||
#from sickbeard import metadata
|
||||
#from sickbeard.metadata.generic import GenericMetadata
|
||||
#from sickbeard import naming
|
||||
|
||||
#set global $title = "Config - Post Processing"
|
||||
#set global $header = "Post Processing"
|
||||
#set global $title = 'Config - Post Processing'
|
||||
#set global $header = 'Post Processing'
|
||||
|
||||
#set global $sbPath="../.."
|
||||
#set global $sbPath = '../..'
|
||||
|
||||
#set global $topmenu="config"#
|
||||
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl")
|
||||
#set global $topmenu = 'config'
|
||||
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
|
||||
|
||||
<script type="text/javascript" src="$sbRoot/js/configPostProcessing.js?$sbPID"></script>
|
||||
<script type="text/javascript" src="$sbRoot/js/config.js?$sbPID"></script>
|
||||
<div id="content960">
|
||||
|
||||
#if $varExists('header')
|
||||
<h1 class="header">$header</h1>
|
||||
#else
|
||||
<h1 class="title">$title</h1>
|
||||
#end if
|
||||
|
||||
<div id="config">
|
||||
<div id="config-content">
|
||||
|
||||
|
@ -34,7 +36,8 @@
|
|||
<li><a href="#core-component-group3">Metadata</a></li>
|
||||
</ul>
|
||||
|
||||
<div id="core-component-group1" class="component-group">
|
||||
<div id="core-component-group1">
|
||||
<div class="component-group">
|
||||
|
||||
<div class="component-group-desc">
|
||||
<h3>Post-Processing</h3>
|
||||
|
@ -43,27 +46,22 @@
|
|||
|
||||
<fieldset class="component-group-list">
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="tv_download_dir">
|
||||
<span class="component-title">TV Download Dir</span>
|
||||
<label for="tv_download_dir">
|
||||
<span class="component-title">TV download dir</span>
|
||||
<span class="component-desc">
|
||||
<input type="text" name="tv_download_dir" id="tv_download_dir" value="$sickbeard.TV_DOWNLOAD_DIR" class="form-control input-sm input350" />
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">The folder where your download client puts TV downloads.</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> Use only if not using SABnzbd+ post processing.</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Or if SABnzbd+ and SickGear are on different PCs.</span>
|
||||
<div class="clear-left">
|
||||
<p>the folder where your download client puts <b>completed</b> downloads<br>
|
||||
<span class="red-text">should be separate to where your download client puts files while downloading</span><br>
|
||||
<b>note:</b> use only if not using SABnzbd+ post processing or if SABnzbd+ and SickGear are on different PCs.</p>
|
||||
</div>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="process_method">
|
||||
<span class="component-title">Process Episode Method:</span>
|
||||
<label for="process_method">
|
||||
<span class="component-title">Process episode method</span>
|
||||
<span class="component-desc">
|
||||
<select name="process_method" id="process_method" class="form-control input-sm">
|
||||
#set $process_method_text = {'copy': "Copy", 'move': "Move", 'hardlink': "Hard Link", 'symlink' : "Symbolic Link"}
|
||||
|
@ -76,152 +74,175 @@
|
|||
<option value="$curAction" $process_method>$process_method_text[$curAction]</option>
|
||||
#end for
|
||||
</select>
|
||||
<p>method to be used to put file in the <em>TV directory</em></p>
|
||||
</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">What method should be used to put file in the TV directory?</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" name="skip_removed_files" id="skip_removed_files" #if $sickbeard.SKIP_REMOVED_FILES == True then "checked=\"checked\"" else ""# />
|
||||
<label for="skip_removed_files">
|
||||
<span class="component-title">Skip Remove Detection</span>
|
||||
<span class="component-desc">Skip detection of removed files, so they don't get set to ignored?</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> This may mean SickGear misses renames as well</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="field-pair">
|
||||
<label class="nocheck">
|
||||
<span class="component-title">Extra Scripts</span>
|
||||
<input type="text" name="extra_scripts" value="<%='|'.join(sickbeard.EXTRA_SCRIPTS)%>" class="form-control input-sm input350" />
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Additional scripts separated by <b>|</b>.</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> Scripts are called after SickGear's own post-processing.</span>
|
||||
<label for="process_automatically">
|
||||
<span class="component-title">Scan and post-process</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" name="process_automatically" id="process_automatically" #if $sickbeard.PROCESS_AUTOMATICALLY == True then "checked=\"checked\"" else ""# />
|
||||
<p>scan and post-process any files in your <em>TV download dir</em>?<br>
|
||||
<b>note:</b> do not use if you use an external post-processing script<br>
|
||||
eg. NZBMedia w/ NZBGET, sabToSickbeard w/ SABnzbd</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" name="move_associated_files" id="move_associated_files" #if $sickbeard.MOVE_ASSOCIATED_FILES == True then "checked=\"checked\"" else ""# />
|
||||
<label for="move_associated_files">
|
||||
<span class="component-title">Move Associated Files</span>
|
||||
<span class="component-desc">Move srr/srt/sfv/etc files with the episode when processed?</span>
|
||||
<label for="autopostprocesser_frequency">
|
||||
<span class="component-title">Run post-process every</span>
|
||||
<span class="component-desc">
|
||||
<input type="text" name="autopostprocesser_frequency" id="autopostprocesser_frequency" value="$sickbeard.AUTOPOSTPROCESSER_FREQUENCY" class="form-control input-sm input75" />
|
||||
<p>minutes to check for new files to post-process (eg. 10)</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" name="postpone_if_sync_files" id="postpone_if_sync_files" #if $sickbeard.POSTPONE_IF_SYNC_FILES == True then "checked=\"checked\"" else ""# />
|
||||
<label for="postpone_if_sync_files">
|
||||
<span class="component-title">Postpone post processing</span>
|
||||
<span class="component-desc">if !sync files are present in the TV download dir</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" name="postpone_if_sync_files" id="postpone_if_sync_files" #if $sickbeard.POSTPONE_IF_SYNC_FILES == True then "checked=\"checked\"" else ""# />
|
||||
<p>if <b>!sync</b> files are present in the <em>TV download dir</em></p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" name="nfo_rename" id="nfo_rename" #if $sickbeard.NFO_RENAME == True then "checked=\"checked\"" else ""# />
|
||||
<label for="nfo_rename">
|
||||
<span class="component-title">Rename .nfo file</span>
|
||||
<span class="component-desc">Rename the original .nfo file to .nfo-orig to avoid conflicts?</span>
|
||||
</label>
|
||||
<label for="extra_scripts">
|
||||
<span class="component-title">Extra scripts</span>
|
||||
<span class="component-desc">
|
||||
<input type="text" name="extra_scripts" value="<%='|'.join(sickbeard.EXTRA_SCRIPTS)%>" class="form-control input-sm input350" />
|
||||
<div class="clear-left">
|
||||
<p>Additional scripts separated by <b>|</b><br>
|
||||
<b>note:</b> scripts are called after SickGear's own post-processing</p>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" name="rename_episodes" id="rename_episodes" #if $sickbeard.RENAME_EPISODES == True then "checked=\"checked\"" else ""# />
|
||||
<label for="rename_episodes">
|
||||
<span class="component-title">Rename Episodes</span>
|
||||
<span class="component-desc">Rename episode using the Episode Naming settings?</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" name="airdate_episodes" id="airdate_episodes" #if $sickbeard.AIRDATE_EPISODES == True then "checked=\"checked\"" else ""# />
|
||||
<label for="airdate_episodes">
|
||||
<span class="component-title">Change File Date</span>
|
||||
<span class="component-desc">Set last modified filedate to the date that the episode aired?</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> Some systems may ignore this feature.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" name="process_automatically" id="process_automatically" #if $sickbeard.PROCESS_AUTOMATICALLY == True then "checked=\"checked\"" else ""# />
|
||||
<label for="process_automatically">
|
||||
<span class="component-title">Scan and Process</span>
|
||||
<span class="component-desc">Scan and post-process any files in your <i>TV Download Dir</i>?</span>
|
||||
</label>
|
||||
<label class="nocheck" for="process_automatically">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> Do not use if you use PostProcesing external script</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">eg. NZBMedia w/ NZBGET, sabToSickbeard w/ SABnzbd+!</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label class="nocheck">
|
||||
<span class="component-title">Auto Post-Processing Frequency</span>
|
||||
<input type="text" name="autopostprocesser_frequency" id="autopostprocesser_frequency" value="$sickbeard.AUTOPOSTPROCESSER_FREQUENCY" class="form-control input-sm input75" />
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Time in minutes to check for new files to auto post-process (eg. 10)</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input id="unpack" type="checkbox" name="unpack" #if $sickbeard.UNPACK == True then "checked=\"checked\"" else ""# />
|
||||
<label for="unpack">
|
||||
<span class="component-title">Unpack</span>
|
||||
<span class="component-desc">Unpack any TV releases in your <i>TV Download Dir</i>?</span>
|
||||
</label>
|
||||
<label class="nocheck" for="unpack">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> Only working with RAR archive</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input id="use_failed_downloads" type="checkbox" class="enabler" name="use_failed_downloads" #if $sickbeard.USE_FAILED_DOWNLOADS == True then "checked=\"checked\"" else ""# />
|
||||
<label for="use_failed_downloads">
|
||||
<span class="component-title">Use Failed Downloads</span>
|
||||
<span class="component-desc">Use Failed Download Handling?</span>
|
||||
</label>
|
||||
<label class="nocheck" for="use_failed_downloads">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> See <i>readme-FailedDownloads.md</i> before enabling.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div id="content_use_failed_downloads">
|
||||
<div class="field-pair">
|
||||
<input id="delete_failed" type="checkbox" name="delete_failed" #if $sickbeard.DELETE_FAILED == True then "checked=\"checked\"" else ""# />
|
||||
<label for="delete_failed">
|
||||
<span class="component-title">Delete Failed</span>
|
||||
<span class="component-desc">Delete files left over from a failed download?</span>
|
||||
</label>
|
||||
<label class="nocheck" for="delete_failed">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc"><b>NOTE:</b> This only works if Use Failed Downloads is enabled.</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<input type="submit" class="btn config_submitter" value="Save Changes" /><br/>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="component-group">
|
||||
|
||||
<div class="component-group-desc">
|
||||
<h3>File Handling</h3>
|
||||
<p>Optional settings for the way post-processing handles files</p>
|
||||
</div>
|
||||
|
||||
<fieldset class="component-group-list">
|
||||
|
||||
<div class="field-pair">
|
||||
<label for="unpack">
|
||||
<span class="component-title">Unpack downloads</span>
|
||||
<span class="component-desc">
|
||||
<input id="unpack" type="checkbox" name="unpack" #if $sickbeard.UNPACK == True then "checked=\"checked\"" else ""# />
|
||||
<p>unpack any TV releases in your <em>TV download dir</em>?<br>
|
||||
<b>note:</b> only working with RAR archive</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label for="skip_removed_files">
|
||||
<span class="component-title">Skip remove detection</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" name="skip_removed_files" id="skip_removed_files" #if $sickbeard.SKIP_REMOVED_FILES == True then "checked=\"checked\"" else ""# />
|
||||
<p>skip detection of removed files, so they don't get set to ignored<br>
|
||||
<b>note:</b> this may mean SickGear misses renames as well</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label for="move_associated_files">
|
||||
<span class="component-title">Move associated files</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" name="move_associated_files" id="move_associated_files" #if $sickbeard.MOVE_ASSOCIATED_FILES == True then "checked=\"checked\"" else ""# />
|
||||
<p>move srr/srt/sfv/etc files with the episode when processed</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label for="nfo_rename">
|
||||
<span class="component-title">Rename .nfo file</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" name="nfo_rename" id="nfo_rename" #if $sickbeard.NFO_RENAME == True then "checked=\"checked\"" else ""# />
|
||||
<p>rename the original .nfo file to .nfo-orig to avoid conflicts</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label for="rename_episodes">
|
||||
<span class="component-title">Rename episodes</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" name="rename_episodes" id="rename_episodes" #if $sickbeard.RENAME_EPISODES == True then "checked=\"checked\"" else ""# />
|
||||
<p>rename episodes using the Episode Naming settings</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label for="airdate_episodes">
|
||||
<span class="component-title">Change file date</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" name="airdate_episodes" id="airdate_episodes" #if $sickbeard.AIRDATE_EPISODES == True then "checked=\"checked\"" else ""# />
|
||||
<p>set last modified filedate to the date that the episode aired<br>
|
||||
<b>note:</b> some systems may ignore this feature.</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<input type="submit" class="btn config_submitter" value="Save Changes" /><br/>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="component-group">
|
||||
|
||||
<div class="component-group-desc">
|
||||
<h3>Failed Downloads</h3>
|
||||
<p>SickGear will attempt to download another release if downloads are reported as failed</p>
|
||||
</div>
|
||||
|
||||
<fieldset class="component-group-list">
|
||||
|
||||
<div class="field-pair">
|
||||
<label for="use_failed_downloads">
|
||||
<span class="component-title">Enable</span>
|
||||
<span class="component-desc">
|
||||
<input id="use_failed_downloads" type="checkbox" class="enabler" name="use_failed_downloads" #if $sickbeard.USE_FAILED_DOWNLOADS == True then "checked=\"checked\"" else ""# />
|
||||
<p>failed download handling<br>
|
||||
<b>note:</b> see <em><a href="<%= anon_url('https://raw.githubusercontent.com/SickGear/SickGear/master/readme-FailedDownloads.md') %>" rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">readme-FailedDownloads.md</a></em> before enabling for SABnzbd setup instructions</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div id="content_use_failed_downloads">
|
||||
<div class="field-pair">
|
||||
<label for="delete_failed">
|
||||
<span class="component-title">Delete failed downloads</span>
|
||||
<span class="component-desc">
|
||||
<input id="delete_failed" type="checkbox" name="delete_failed" #if $sickbeard.DELETE_FAILED == True then "checked=\"checked\"" else ""# />
|
||||
<p>delete left over files from a failed download<br>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="submit" class="btn config_submitter" value="Save Changes" /><br/>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
</div><!-- /component-group1 //-->
|
||||
|
||||
<div id="core-component-group2" class="component-group">
|
||||
|
@ -234,8 +255,8 @@
|
|||
<fieldset class="component-group-list">
|
||||
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="name_presets">
|
||||
<span class="component-title">Name Pattern:</span>
|
||||
<label for="name_presets">
|
||||
<span class="component-title">Naming pattern</span>
|
||||
<span class="component-desc">
|
||||
<select id="name_presets" class="form-control input-sm">
|
||||
#set is_custom = True
|
||||
|
@ -254,10 +275,8 @@
|
|||
|
||||
<div id="naming_custom">
|
||||
<div class="field-pair" style="padding-top: 0;">
|
||||
<label class="nocheck">
|
||||
<span class="component-title">
|
||||
|
||||
</span>
|
||||
<label for="naming_pattern">
|
||||
<span class="component-title"></span>
|
||||
<span class="component-desc">
|
||||
<input type="text" name="naming_pattern" id="naming_pattern" value="$sickbeard.NAMING_PATTERN" class="form-control input-sm input350" />
|
||||
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_key" title="Toggle Naming Legend" class="legend" class="legend" />
|
||||
|
@ -265,7 +284,7 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div id="naming_key" class="nocheck" style="display: none;">
|
||||
<div id="naming_key" style="display: none;">
|
||||
<table class="Key">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -387,8 +406,8 @@
|
|||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="naming_multi_ep">
|
||||
<span class="component-title">Multi-Episode Style:</span>
|
||||
<label for="naming_multi_ep">
|
||||
<span class="component-title">Multi-Episode style</span>
|
||||
<span class="component-desc">
|
||||
<select id="naming_multi_ep" name="naming_multi_ep" class="form-control input-sm">
|
||||
#for $cur_multi_ep in sorted($multiEpStrings.items(), key=lambda x: x[1]):
|
||||
|
@ -400,7 +419,7 @@
|
|||
</div>
|
||||
|
||||
<div id="naming_example_div">
|
||||
<h3>Single-EP Sample:</h3>
|
||||
<h3>Single-Episode sample:</h3>
|
||||
<div class="example">
|
||||
<span class="jumbo" id="naming_example"> </span>
|
||||
</div>
|
||||
|
@ -408,7 +427,7 @@
|
|||
</div>
|
||||
|
||||
<div id="naming_example_multi_div">
|
||||
<h3>Multi-EP sample:</h3>
|
||||
<h3>Multi-Episode sample:</h3>
|
||||
<div class="example">
|
||||
<span class="jumbo" id="naming_example_multi"> </span>
|
||||
</div>
|
||||
|
@ -416,29 +435,30 @@
|
|||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" id="naming_strip_year" name="naming_strip_year" #if $sickbeard.NAMING_STRIP_YEAR then "checked=\"checked\"" else ""#/>
|
||||
<label for="naming_strip_year">
|
||||
<span class="component-title">Strip Show Year</span>
|
||||
<span class="component-desc">Remove the TV show's year when renaming the file?</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Only applies to shows that have year inside parentheses</span>
|
||||
<span class="component-title">Strip show year</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" id="naming_strip_year" name="naming_strip_year" #if $sickbeard.NAMING_STRIP_YEAR then "checked=\"checked\"" else ""#/>
|
||||
<p>remove the show's year when renaming the file<br>
|
||||
only applies to shows that have year inside parentheses</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" class="enabler" id="naming_custom_abd" name="naming_custom_abd" #if $sickbeard.NAMING_CUSTOM_ABD then "checked=\"checked\"" else ""#/>
|
||||
<label for="naming_custom_abd">
|
||||
<span class="component-title">Custom Air-By-Date</span>
|
||||
<span class="component-desc">Name Air-By-Date shows differently than regular shows?</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" class="enabler" id="naming_custom_abd" name="naming_custom_abd" #if $sickbeard.NAMING_CUSTOM_ABD then "checked=\"checked\"" else ""#/>
|
||||
<p>name Air-By-Date shows differently than regular shows</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div id="content_naming_custom_abd">
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="name_abd_presets">
|
||||
<span class="component-title">Name Pattern:</span>
|
||||
<label for="name_abd_presets">
|
||||
<span class="component-title">Naming pattern</span>
|
||||
<span class="component-desc">
|
||||
<select id="name_abd_presets" class="form-control input-sm">
|
||||
#set is_abd_custom = True
|
||||
|
@ -457,10 +477,8 @@
|
|||
|
||||
<div id="naming_abd_custom">
|
||||
<div class="field-pair">
|
||||
<label class="nocheck">
|
||||
<span class="component-title">
|
||||
|
||||
</span>
|
||||
<label for="naming_abd_pattern">
|
||||
<span class="component-title"></span>
|
||||
<span class="component-desc">
|
||||
<input type="text" name="naming_abd_pattern" id="naming_abd_pattern" value="$sickbeard.NAMING_ABD_PATTERN" class="form-control input-sm input350" />
|
||||
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_abd_key" title="Toggle ABD Naming Legend" class="legend" />
|
||||
|
@ -468,7 +486,7 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div id="naming_abd_key" class="nocheck" style="display: none;">
|
||||
<div id="naming_abd_key" style="display: none;">
|
||||
<table class="Key">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -595,7 +613,7 @@
|
|||
</div><!-- /naming_abd_custom -->
|
||||
|
||||
<div id="naming_abd_example_div">
|
||||
<h3>Sample:</h3>
|
||||
<h3>Air-By-Date sample:</h3>
|
||||
<div class="example">
|
||||
<span class="jumbo" id="naming_abd_example"> </span>
|
||||
</div>
|
||||
|
@ -605,17 +623,19 @@
|
|||
</div><!-- /naming_abd_different -->
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" class="enabler" id="naming_custom_sports" name="naming_custom_sports" #if $sickbeard.NAMING_CUSTOM_SPORTS then "checked=\"checked\"" else ""#/>
|
||||
<label for="naming_custom_sports">
|
||||
<span class="component-title">Custom Sports</span>
|
||||
<span class="component-desc">Name Sports shows differently than regular shows?</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" class="enabler" id="naming_custom_sports" name="naming_custom_sports" #if $sickbeard.NAMING_CUSTOM_SPORTS then "checked=\"checked\"" else ""#/>
|
||||
<p>name Sports shows differently than regular shows</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div id="content_naming_custom_sports">
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="name_sports_presets">
|
||||
<span class="component-title">Name Pattern:</span>
|
||||
<label for="name_sports_presets">
|
||||
<span class="component-title">Naming pattern</span>
|
||||
<span class="component-desc">
|
||||
<select id="name_sports_presets" class="form-control input-sm">
|
||||
#set is_sports_custom = True
|
||||
|
@ -634,10 +654,8 @@
|
|||
|
||||
<div id="naming_sports_custom">
|
||||
<div class="field-pair" style="padding-top: 0;">
|
||||
<label class="nocheck">
|
||||
<span class="component-title">
|
||||
|
||||
</span>
|
||||
<label for="naming_sports_pattern">
|
||||
<span class="component-title"></span>
|
||||
<span class="component-desc">
|
||||
<input type="text" name="naming_sports_pattern" id="naming_sports_pattern" value="$sickbeard.NAMING_SPORTS_PATTERN" class="form-control input-sm input350" />
|
||||
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_sports_key" title="Toggle Sports Naming Legend" class="legend" />
|
||||
|
@ -645,7 +663,7 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div id="naming_sports_key" class="nocheck" style="display: none;">
|
||||
<div id="naming_sports_key" style="display: none;">
|
||||
<table class="Key">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -772,7 +790,7 @@
|
|||
</div><!-- /naming_sports_custom -->
|
||||
|
||||
<div id="naming_sports_example_div">
|
||||
<h3>Sample:</h3>
|
||||
<h3>Sports sample:</h3>
|
||||
<div class="example">
|
||||
<span class="jumbo" id="naming_sports_example"> </span>
|
||||
</div>
|
||||
|
@ -783,16 +801,18 @@
|
|||
|
||||
<!-- naming_anime_custom -->
|
||||
<div class="field-pair">
|
||||
<input type="checkbox" class="enabler" id="naming_custom_anime" name="naming_custom_anime" #if $sickbeard.NAMING_CUSTOM_ANIME then "checked=\"checked\"" else ""#/>
|
||||
<label for="naming_custom_anime">
|
||||
<span class="component-title">Custom Anime</span>
|
||||
<span class="component-desc">Name Anime shows differently than regular shows?</span>
|
||||
<span class="component-desc">
|
||||
<input type="checkbox" class="enabler" id="naming_custom_anime" name="naming_custom_anime" #if $sickbeard.NAMING_CUSTOM_ANIME then "checked=\"checked\"" else ""#/>
|
||||
<p>name Anime shows differently than regular shows</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div id="content_naming_custom_anime">
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="name_anime_presets">
|
||||
<label for="name_anime_presets">
|
||||
<span class="component-title">Name Pattern:</span>
|
||||
<span class="component-desc">
|
||||
<select id="name_anime_presets" class="form-control input-sm">
|
||||
|
@ -811,11 +831,9 @@
|
|||
</div>
|
||||
|
||||
<div id="naming_anime_custom">
|
||||
<div class="field-pair" style="padding-top: 0;">
|
||||
<label class="nocheck">
|
||||
<span class="component-title">
|
||||
|
||||
</span>
|
||||
<div class="field-pair">
|
||||
<label for="naming_anime_pattern">
|
||||
<span class="component-title"></span>
|
||||
<span class="component-desc">
|
||||
<input type="text" name="naming_anime_pattern" id="naming_anime_pattern" value="$sickbeard.NAMING_ANIME_PATTERN" class="form-control input-sm input350" />
|
||||
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_anime_key" title="Toggle Anime Naming Legend" class="legend" />
|
||||
|
@ -823,7 +841,7 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div id="naming_anime_key" class="nocheck" style="display: none;">
|
||||
<div id="naming_anime_key" style="display: none;">
|
||||
<table class="Key">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -945,8 +963,8 @@
|
|||
</div><!-- /naming_anime_custom -->
|
||||
|
||||
<div class="field-pair">
|
||||
<label class="nocheck" for="naming_anime_multi_ep">
|
||||
<span class="component-title">Multi-Episode Style:</span>
|
||||
<label for="naming_anime_multi_ep">
|
||||
<span class="component-title">Multi-Episode style</span>
|
||||
<span class="component-desc">
|
||||
<select id="naming_anime_multi_ep" name="naming_anime_multi_ep" class="form-control input-sm">
|
||||
#for $cur_multi_ep in sorted($multiEpStrings.items(), key=lambda x: x[1]):
|
||||
|
@ -958,7 +976,7 @@
|
|||
</div>
|
||||
|
||||
<div id="naming_example_anime_div">
|
||||
<h3>Single-EP Anime Sample:</h3>
|
||||
<h3>Single-Episode Anime sample:</h3>
|
||||
<div class="example">
|
||||
<span class="jumbo" id="naming_example_anime"> </span>
|
||||
</div>
|
||||
|
@ -966,7 +984,7 @@
|
|||
</div>
|
||||
|
||||
<div id="naming_example_multi_anime_div">
|
||||
<h3>Multi-EP Anime sample:</h3>
|
||||
<h3>Multi-Episode Anime sample:</h3>
|
||||
<div class="example">
|
||||
<span class="jumbo" id="naming_example_multi_anime"> </span>
|
||||
</div>
|
||||
|
@ -974,38 +992,33 @@
|
|||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="radio" name="naming_anime" id="naming_anime" value="1" #if $sickbeard.NAMING_ANIME == 1 then "checked=\"checked\"" else ""#/>
|
||||
<label for="naming_anime">
|
||||
<span class="component-title">Add Absolute Number</span>
|
||||
<span class="component-desc">Add the absolute number to the season/episode format?</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Only applies to animes. (eg. S15E45 - 310 vs S15E45)</span>
|
||||
<span class="component-title">Add absolute numbering</span>
|
||||
<span class="component-desc">
|
||||
<input type="radio" name="naming_anime" id="naming_anime" value="1" #if $sickbeard.NAMING_ANIME == 1 then "checked=\"checked\"" else ""#/>
|
||||
<p>add the absolute number to the season/episode format<br>
|
||||
(eg. S15E45 - 310 vs S15E45)</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="radio" name="naming_anime" id="naming_anime_only" value="2" #if $sickbeard.NAMING_ANIME == 2 then "checked=\"checked\"" else ""#/>
|
||||
<label for="naming_anime_only">
|
||||
<span class="component-title">Only Absolute Number</span>
|
||||
<span class="component-desc">Replace season/episode format with absolute number</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Only applies to animes.</span>
|
||||
<span class="component-title">Only absolute numbering</span>
|
||||
<span class="component-desc">
|
||||
<input type="radio" name="naming_anime" id="naming_anime_only" value="2" #if $sickbeard.NAMING_ANIME == 2 then "checked=\"checked\"" else ""#/>
|
||||
<p>replace season/episode format with absolute numbering</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<input type="radio" name="naming_anime" id="naming_anime_none" value="3" #if $sickbeard.NAMING_ANIME == 3 then "checked=\"checked\"" else ""#/>
|
||||
<label for="naming_anime_none">
|
||||
<span class="component-title">No Absolute Number</span>
|
||||
<span class="component-desc">Dont include the absolute number</span>
|
||||
</label>
|
||||
<label class="nocheck">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Only applies to animes.</span>
|
||||
<span class="component-title">No absolute numbering</span>
|
||||
<span class="component-desc">
|
||||
<input type="radio" name="naming_anime" id="naming_anime_none" value="3" #if $sickbeard.NAMING_ANIME == 3 then "checked=\"checked\"" else ""#/>
|
||||
<p>do <b>not</b> include absolute numbering</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
@ -1027,7 +1040,7 @@
|
|||
<fieldset class="component-group-list">
|
||||
<div class="field-pair">
|
||||
<label>
|
||||
<span class="component-title">Metadata Type:</span>
|
||||
<span class="component-title">Metadata type</span>
|
||||
<span class="component-desc">
|
||||
#set $m_dict = $metadata.get_metadata_generator_dict()
|
||||
<select id="metadataType" class="form-control input-sm">
|
||||
|
@ -1100,4 +1113,4 @@
|
|||
jQuery('#tv_download_dir').fileBrowser({ title: 'Select TV Download Directory' });
|
||||
//-->
|
||||
</script>
|
||||
#include $os.path.join($sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.tmpl")
|
||||
#include $os.path.join($sickbeard.PROG_DIR,'gui/slick/interfaces/default/inc_bottom.tmpl')
|
||||
|
|
Loading…
Reference in a new issue