#import sickbeard #import datetime #import locale #import operator #from sickbeard.common import * #from sickbeard.sbdatetime import * #from sickbeard import config #from sickbeard import metadata #from sickbeard.metadata.generic import GenericMetadata #from sickbeard.helpers import anon_url #from sickbeard.logger import reverseNames as file_logging_presets #from sickbeard.helpers import maybe_plural <% 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 = 'Config - General' #set global $header = 'General Settings' #set global $sbPath = '../..' #set global $topmenu = 'config' ## #import os.path #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')

$header

#else

$title

#end if ## #set $checked = ' checked="checked"' #set $selected = ' selected="selected"' ## #set $indexer = 0 #if $sg_var('INDEXER_DEFAULT') #set $indexer = $sg_var('INDEXER_DEFAULT') #end if
$xsrf_form_html

Misc

Startup options. Indexer options. Log and show file locations.

Some options may require a manual restart to take effect.

Send to trash for actions

selected actions use trash (recycle bin) instead of the default permanent delete

#if 1 < $len($indexers)
#end if

Updates

Options for software updates.

User Interface

Options for visual appearance.

#if not hasattr($sickbeard, 'FANART_LIMIT')#Restart SickGear to reveal new options here#else#
#end if
#if not hasattr($sickbeard, 'DISPLAY_FREESPACE')#Restart SickGear to reveal new option here#else#
#end if
#if not $sbdatetime.is_locale_eng() #else
#end if
Timezone:

display dates and times in either your timezone or the shows network timezone

Web Interface

It is recommended that you enable a username and password to secure SickGear from being tampered with remotely.

These options require a manual restart to take effect.

Advanced

#if $sg_str('BRANCH', 'master') != 'master'
#end if

All non-absolute folder locations are relative to $sg_str('DATA_DIR')
#include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_bottom.tmpl')