#import sickbeard #import datetime #from sickbeard.common import * #from sickbeard import sbdatetime #from sickbeard.helpers import anon_url #set global $title = 'Coming Episodes' #set global $header = 'Coming Episodes' #set global $sbPath = '..' #set global $topmenu = 'comingEpisodes' #import os.path #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') #set $sort = $sickbeard.COMING_EPS_SORT #if $varExists('header')
Airdate | Show | Next Ep | Next Ep Name | Network | Quality | Indexers | Search | ||
---|---|---|---|---|---|---|---|---|---|
$sbdatetime.sbdatetime.sbfdatetime($cur_result['localtime']).decode($sickbeard.SYS_ENCODING) $time.mktime($cur_result['localtime'].timetuple())
|
$cur_result['show_name'] #if int($cur_result['paused']): [paused] #end if | <%= 'S%02iE%02i' % (int(cur_result['season']), int(cur_result['episode'])) %> | #if $cur_result['description']: #else: #end if $cur_result['name'] | $cur_result['network'] | #if int($cur_result['quality']) in $qualityPresets: $qualityPresetStrings[int($cur_result['quality'])] #else: Custom #end if | #if $cur_result['imdb_id']: #end if | |||
  |
#if 'banner' == $layout: |
---|
$cur_result['show_name']
#if int($cur_result['paused']):
[paused]
#end if
#if $cur_result['imdb_id']:
#end if
Next Episode: <%= 'S%02iE%02i' % (int(cur_result['season']), int(cur_result['episode'])) %> - $cur_result['name']
Airs: $sbdatetime.sbdatetime.sbfdatetime($cur_result['localtime']).decode($sickbeard.SYS_ENCODING)<%= ('', ' on %s' % str(cur_result['network']))[None is not cur_result['network']] %>
Quality:
#if int($cur_result['quality']) in $qualityPresets:
$qualityPresetStrings[int($cur_result['quality'])]
#else:
Custom
#end if
|
#if $cur_result['description']:
Plot:
$cur_result['description']
#else:
Plot:
#end if
|
$day.strftime('%A').decode($sickbeard.SYS_ENCODING).capitalize() |
---|
${airtime} on $cur_result["network"]
<%= 'S%02iE%02i' % (int(cur_result['season']), int(cur_result['episode'])) %> - $cur_result['name']
|
No shows for this day |