mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
6fcf80c02d
Add "Maximum fanart image files per show to cache" to config General/Interface. Add populate images when the daily show updater is run with a default maximum 3 images per show. Change force full update in a show will replace existing images with new. Add fanart livepanel to lower right of Episodes View and Display Show page. Add highlight panel red until button is clicked a few times. Add flick through multiple background images on Episodes View and Display Show page. Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye). Add persistent translucency of background images on Episodes View and Display Show page. Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always. Add persistent views of the show detail on Display Show page. Add persistent views on Episodes View. Add persistent button to collapse and expand card images on Episode View/Layout daybyday. Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page. Add "smart" selection of fanart image to display on Episode view. Change insert [!] and change text shade of ended shows in drop down show list on Display Show page. Change button graphic for next and previous show of show list on Display Show page. Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances. Add "(Ended)" where appropriate to show title on Display Show page. Add links to fanart.tv where appropriate on Display Show page. Change use tense for label "Airs" or "Aired" depending on if show ended. Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match". Add persistent button to newest season to "Show all" episodes. Add persistent button to all shown seasons to "Hide most" episodes. Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes. Add season level status counts next to each season header on display show page Add sorting to season table headers on display show page Add filename and size to quality badge on display show page, removed its redundant "downloaded" text Remove redundant "Add show" buttons Change combine the NFO and TBN columns into a single Meta column Change reduce screen estate used by episode numbers columns Change improve clarity of text on Add Show page. Add "Reset fanart ratings" to show Edit/Other tab. Add fanart usage to show Edit/Other tab. Add fanart keys guide to show Edit/Other tab. Change add placeholder tip to "Alternative release name(s)" on show Edit. Change add placeholder tip to search box on shows Search. Change hide Anime tips on show Edit when selecting its mutually exclusive options. Change label "End upgrade on first match" to "Upgrade once" on show Edit. Change improve performance rendering displayShow. Add total episodes to start of show description (excludes specials if those are hidden). Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu. Add "Import (existing)" action to Tools menu. Change SD quality from red to dark green, 2160p UHD 4K is red. Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File. Add warning indicator to the Tools menu in different colour depending on error count (green through red). Change View Log error item output from reversed to natural order. Change View Log add a typeface and some colour to improve readability. Change View Log/Errors only display "Clear Errors" button when there are errors to clear. Change improve performance of View Log File.
199 lines
8.5 KiB
Cheetah
199 lines
8.5 KiB
Cheetah
#import sickbeard
|
|
#from sickbeard import common
|
|
#from sickbeard import exceptions
|
|
<% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp#
|
|
<% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp#
|
|
##
|
|
#set global $title = 'Mass Edit'
|
|
#set global $header = 'Mass Edit'
|
|
#set global $sbPath = '..'
|
|
#set global $topmenu = 'manage'
|
|
##
|
|
#import os.path
|
|
#include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl')
|
|
|
|
#if None is not $quality_value:
|
|
#set $initial_quality = int($quality_value)
|
|
#else:
|
|
#set $initial_quality = $common.SD
|
|
#end if
|
|
#set $anyQualities, $bestQualities = $common.Quality.splitQuality($initial_quality)
|
|
<script type="text/javascript" src="$sbRoot/js/qualityChooser.js?v=$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/massEdit.js?v=$sbPID"></script>
|
|
|
|
<form action="massEditSubmit" method="post">
|
|
<input type="hidden" name="toEdit" value="$showList">
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Parent folder <span class="separator">*</span></span><br />
|
|
#set $selected = 'selected="selected"'
|
|
#for $cur_dir in $root_dir_list:
|
|
#set $cur_index = $root_dir_list.index($cur_dir)
|
|
<div>
|
|
<input class="btn edit_root_dir" type="button" class="edit_root_dir" id="edit_root_dir_$cur_index" value="Edit">
|
|
<input class="btn delete_root_dir" type="button" class="delete_root_dir" id="delete_root_dir_$cur_index" value="Delete">
|
|
$cur_dir => <span id="display_new_root_dir_$cur_index">$cur_dir</span>
|
|
</div>
|
|
<input type="hidden" name="orig_root_dir_$cur_index" value="$cur_dir">
|
|
<input type="text" style="display:none" name="new_root_dir_$cur_index" id="new_root_dir_$cur_index" class="new_root_dir" value="$cur_dir">
|
|
#end for
|
|
</div>
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Paused</span>
|
|
<div class="selectChoices">
|
|
<select id="edit_paused" name="paused" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable" #if $paused_value then $selected else ''#>enable</option>
|
|
<option value="disable" #if $paused_value == False then $selected else ''#>disable</option>
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Quality</span>
|
|
<div class="selectChoices">
|
|
<select id="qualityPreset" name="quality_preset" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="0" #if None is not $quality_value and $quality_value not in $common.qualityPresets then $selected else ''#>Custom</option>
|
|
#for $curPreset in sorted($common.qualityPresets):
|
|
<option value="$curPreset" #if $quality_value == $curPreset then $selected else ''#>$common.qualityPresetStrings[$curPreset]</option>
|
|
#end for
|
|
</select>
|
|
</div><br />
|
|
|
|
<div id="customQuality" class="show-if-quality-custom">
|
|
<div class="manageCustom pull-left">
|
|
<h4 style="font-size:14px">Initial</h4>
|
|
#set $anyQualityList = filter(lambda x: x > $common.Quality.NONE, $common.Quality.qualityStrings)
|
|
<select id="anyQualities" name="anyQualities" multiple="multiple" size="$len($anyQualityList)">
|
|
#for $curQuality in sorted($anyQualityList):
|
|
<option value="$curQuality" #if $curQuality in $anyQualities then $selected else ''#>$common.Quality.qualityStrings[$curQuality]</option>
|
|
#end for
|
|
</select>
|
|
</div>
|
|
<div class="manageCustom pull-left">
|
|
<h4 style="font-size:14px">Upgrade to</h4>
|
|
#set $bestQualityList = filter(lambda x: x > $common.Quality.SDTV, $common.Quality.qualityStrings)
|
|
<select id="bestQualities" name="bestQualities" multiple="multiple" size="$len($bestQualityList)">
|
|
#for $curQuality in sorted($bestQualityList):
|
|
<option value="$curQuality" #if $curQuality in $bestQualities then $selected else ''#>$common.Quality.qualityStrings[$curQuality]</option>
|
|
#end for
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
</div>
|
|
|
|
#if $anyQualities + $bestQualities:
|
|
#set $isSelected = ' selected="selected"'
|
|
#set $isEnabled = $isSelected
|
|
#set $isDisabled = $isSelected
|
|
#if $archive_firstmatch_value##set $isDisabled = ''##else##set $isEnabled = ''##end if#
|
|
<div class="optionWrapper clearfix">
|
|
<span class="selectTitle">Upgrade once</span>
|
|
<div class="selectChoices">
|
|
<select id="edit_archive_firstmatch" name="archive_firstmatch" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable"${isEnabled}>enable</option>
|
|
<option value="disable"${isDisabled}>disable</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
#end if
|
|
|
|
<div class="optionWrapper clearfix">
|
|
<span class="selectTitle">Flat folder structure <span class="separator">*</span></span>
|
|
<div class="selectChoices">
|
|
<select id="edit_flatten_folders" name="flatten_folders" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable" #if $flatten_folders_value then $selected else ''#>enable</option>
|
|
<option value="disable" #if $flatten_folders_value == False then $selected else ''#>disable</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Air by date episode names</span>
|
|
<div class="selectChoices">
|
|
<select id="edit_air_by_date" name="air_by_date" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable" #if $air_by_date_value then $selected else ''#>enable</option>
|
|
<option value="disable" #if $air_by_date_value == False then $selected else ''#>disable</option>
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Scene numbering</span>
|
|
<div class="selectChoices">
|
|
<select id="edit_scene" name="scene" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable" #if $scene_value then $selected else ''#>enable</option>
|
|
<option value="disable" #if $scene_value == False then $selected else ''#>disable</option>
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Subtitles<span class="separator"></span></span>
|
|
<div class="selectChoices">
|
|
<select id="edit_subtitles" name="subtitles" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable" #if $subtitles_value then $selected else ''#>enable</option>
|
|
<option value="disable" #if $subtitles_value == False then $selected else ''#>disable</option>
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Show is sports</span>
|
|
<div class="selectChoices">
|
|
<select id="edit_sports" name="sports" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable" #if $sports_value then $selected else ''#>enable</option>
|
|
<option value="disable" #if $sports_value == False then $selected else ''#>disable</option>
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
|
|
<div class="optionWrapper">
|
|
<span class="selectTitle">Show is anime</span>
|
|
<div class="selectChoices">
|
|
<select id="edit_anime" name="anime" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
<option value="enable" #if $anime_value then $selected else ''#>enable</option>
|
|
<option value="disable" #if $anime_value == False then $selected else ''#>disable</option>
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
|
|
<div class="optionWrapper #if $sg_str('SHOWLIST_TAGVIEW') != 'custom' then 'hidden' else ''#">
|
|
<span class="selectTitle">Show is grouped in</span>
|
|
<div class="selectChoices">
|
|
<select id="edit_tag" name="tag" class="form-control form-control-inline input-sm">
|
|
<option value="keep">< keep ></option>
|
|
#for $tag in $sg_var('SHOW_TAGS', []):
|
|
<option value="$tag" #if $tag_value == $tag then $selected else ''#>$tag#echo ('', ' (default)')['Show List' == $tag]#</option>
|
|
#end for
|
|
</select>
|
|
</div><br />
|
|
</div>
|
|
|
|
<div class="optionWrapper" style="font-size:13px;margin-top:15px">
|
|
<span class="separator" style="font-size:1.2em; font-weight:700">*</span>
|
|
Changing these settings will cause selected shows to be refreshed
|
|
</div>
|
|
|
|
<div class="optionWrapper" style="text-align:center">
|
|
<input type="submit" value="Submit" class="btn"><br />
|
|
</div>
|
|
</form>
|
|
<br />
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
<!--
|
|
jQuery('#location').fileBrowser({ title:'Select Show Location' });
|
|
//-->
|
|
</script>
|
|
|
|
#include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_bottom.tmpl')
|