#import sickbeard #import datetime #import locale #import operator #from sickbeard import config, metadata #from sickbeard.metadata.generic import GenericMetadata #from sickbeard.common import * #from sickbeard.helpers import anon_url, maybe_plural #from sickbeard.logger import reverseNames as file_logging_presets #from sickbeard.sgdatetime import * <% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp# #from _23 import list_keys ## #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"' ##
$xsrf_form_html

Misc

Startup options. TV info source 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

#set $def_isrc = 0 #if $sg_var('TVINFO_DEFAULT') #set $def_isrc = $sg_var('TVINFO_DEFAULT') #end if #if $getVar('infosrc', None) and 1 < $len($infosrc)
#end if

Updates

Options for software updates.

#if not $sg_var('EXT_UPDATES')
#else

Repo updates disabled. Using $sg_var('EXT_UPDATES') update method

#end if

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 $SGDatetime.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 not $sg_var('EXT_UPDATES')
#if $sg_str('BRANCH', 'master') != 'master'
#end if
#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')