#import sickgear #import datetime #import urllib #from sickgear.common import Quality, SNATCHED_ANY, DOWNLOADED, ARCHIVED, FAILED #from sickgear.helpers import anon_url #from sickgear.show_name_helpers import abbr_showname <% def sg_var(varname, default=False): return getattr(sickgear, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickgear, varname, default) %>#slurp# #slurp SickGear - $title #if $getVar('inc_top_glide', None) ## Required Core Stylesheet ## Optional Theme Stylesheet #end if #if $sg_var('FUZZY_DATING') #end if #if $getVar('inc_top_glide', None) #end if #if $getVar('inc_ofi', None) #end if #set $tab = 4 #set global $body_attr = '' #try #set global $body_attr += ' id="%s"' % $page_body_attr #except #pass #end try #if not any(x in $body_attr for x in ['back-art', 'pro', 'ii']) #set $parts = $body_attr.split('class="') #set $body_attr = ('class="%s '.join($parts), $parts[0] + ' class="%s"')[1 == len($parts)] % {0: '', 1: 'pro', 2: 'pro ii'}.get(getattr($sickgear, 'DISPLAY_SHOW_VIEWMODE', 0)) #end if #set $classes = ' '.join(([], ['shows-not-found'])[any([$getVar('log_num_not_found_shows_all', 0)])] \ + ([], [($getVar('log_num_not_found_shows', 0) * 'n')[0:4]])[any([$getVar('log_num_not_found_shows', 0)])]) #if any($classes) #set $body_attr = $body_attr.rstrip('"') + (' class="%s"', ' %s"')['class=' in $body_attr] % $classes #end if #if $varExists('submenu') #end if ## #set $py_ver = sys.version_info[:3] #if $py_ver in [(3, 9, 3), (3, 8, 1), (3, 7, 6)]: #end if #if $tvinfo_switch_running #end if #if $sg_str('NEWEST_VERSION_STRING') #end if #if $sg_str('MODULE_UPDATE_STRING') #end if ## #if $sickgear.MEMCACHE.get('DEPRECATE_SB_RUNNER')

Since Jan 2019, installations like this one have displayed a message on every startup to run `sickgear.py` instead of `SickBeard.py`.
But some runners (e.g. Linux service files) hide the message.

Nov 2022: To remove this red box, and to prevent a future startup failure when the outdated `SickBeard.py` is removed,
please change whatever starts SickGear to run `sickgear.py`.

#end if ## #set $items = [] #try #set void = $items.append($topmenu) #except (NameError, NotFound) #pass #end try #try #set void = $items.append($layout) #except (NameError, NotFound) #pass #end try #set $page_class = ('', ' class="%s"' % '_'.join($items).lower().replace(' ', '-').replace('_', '-'))[0 < len($items)]