2014-03-10 01:18:05 -04:00
#import sickbeard
#import datetime
#from sickbeard . common import *
#from sickbeard import sbdatetime
#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
<script type="text/javascript" src=" $ sbRoot /js/ajaxEpSearch.js? $ sbPID "></script>
#if $ varExists ( ' header ' )
<h1 class="header"> $ header </h1>
#else
<h1 class="title"> $ title </h1>
#end if
<style type="text/css">
.sort_data {display:none}
</style>
<div class="h2footer align-right">
<b>Key:</b>
<span class="listing_overdue">Missed</span>
<span class="listing_current">Current</span>
<span class="listing_default">Future</span>
<span class="listing_toofar">Distant</span>
2014-09-30 18:20:37 -04:00
<a class="btn forceBacklog" href="webcal:// $ sbHost : $ sbHttpPort /calendar">
2014-03-10 01:18:05 -04:00
<i class="icon-calendar icon-white"></i>Subscribe</a>
<!-- <span class="listing_unknown">Unknown</span> //-->
</div>
#if $ layout == ' list ' :
<!-- start list view //-->
<script type="text/javascript" src=" $ sbRoot /js/plotTooltip.js? $ sbPID "></script>
<script type="text/javascript" charset="utf-8">
<!--
\$.tablesorter.addParser({
id: 'loadingNames',
is: function(s) {
return false;
},
format: function(s) {
if (s.indexOf('Loading...') == 0)
return s.replace('Loading...','000');
#if not $ sickbeard . SORT_ARTICLE :
return (s || '').replace(/^(The|A|An)\s/i,'');
#else :
return (s || '');
#end if
},
type: 'text'
});
\$.tablesorter.addParser({
id: 'quality',
is: function(s) {
return false;
},
format: function(s) {
return s.replace('hd1080p',5).replace('hd720p',4).replace('hd',3).replace('sd',2).replace('any',1).replace('best',0).replace('custom',7);
},
type: 'numeric'
});
\$.tablesorter.addParser({
id: 'cDate',
is: function(s) {
return false;
},
format: function(s) {
return s;
},
type: 'numeric'
});
\$(document).ready(function(){
#set $ sort_codes = { ' date ' : 0 , ' show ' : 1 , ' network ' : 4 }
#if $ sort not in $ sort_codes :
$ sort = 'date'
#end if
sortList = [[ $ sort_codes [ $ sort ],0]];
\$(" #showListTable : has ( tbody tr ) " ).tablesorter( {
widgets: ['stickyHeaders'],
sortList: sortList,
textExtraction: {
0: function(node) { return \$(node).find("span").text().toLowerCase(); },
4: function(node) { return \$(node).find("img").attr("alt"); },
5: function(node) { return \$(node).find("span").text().toLowerCase(); }
},
headers: {
0: { sorter: 'cDate' },
1: { sorter: 'loadingNames' },
2: { sorter: false },
3: { sorter: false },
4: { sorter: 'loadingNames' },
5: { sorter: 'quality' },
6: { sorter: false },
7: { sorter: false },
8: { sorter: false }
}
});
\$(' #sbRoot ' ).ajaxEpSearch();
2014-05-23 11:20:44 -04:00
#set $ fuzzydate = ' airdate '
#if $ sickbeard . FUZZY_DATING :
fuzzyMoment({
containerClass : '. ${ fuzzydate } ',
dateHasTime : true,
dateFormat : ' ${ sickbeard . DATE_PRESET } ',
timeFormat : ' ${ sickbeard . TIME_PRESET } ',
trimZero : #if $ sickbeard . TRIM_ZERO then " true " else " false " #
});
#end if
2014-03-10 01:18:05 -04:00
});
//-->
</script>
2014-09-30 18:20:37 -04:00
#set $ show_div = " listing_default "
2014-03-10 01:18:05 -04:00
<input type="hidden" id="sbRoot" value=" $ sbRoot " />
2014-09-30 18:20:37 -04:00
<table id="showListTable" class="sickbeardTable tablesorter seasonstyle" cellspacing="1" border="0" cellpadding="0">
<thead>
<tr>
<th>Airdate</th>
<th>Show</th>
<th class="nowrap">Next Ep</th>
<th>Next Ep Name</th>
<th>Network</th>
<th>Quality</th>
<th>Indexers</th>
<th>Search</th>
</tr>
</thead>
<tbody style="text-shadow:none;">
2014-03-10 01:18:05 -04:00
#for $ cur_result in $ sql_results :
2014-03-26 00:15:10 -04:00
#set $ cur_indexer = int ( $ cur_result [ " indexer " ] )
2014-05-23 06:00:45 -04:00
#set $ runtime = $ cur_result [ " runtime " ]
2014-03-10 01:18:05 -04:00
#if int ( $ cur_result [ " paused " ] ) and not $ sickbeard . COMING_EPS_DISPLAY_PAUSED :
#continue
#end if
#set $ cur_ep_airdate = $ cur_result [ " localtime " ] . date ( )
2014-05-23 06:00:45 -04:00
#if $ runtime :
#set $ cur_ep_enddate = $ cur_result [ " localtime " ] + datetime . timedelta ( minutes = $ runtime )
2014-03-10 01:18:05 -04:00
#if $ cur_ep_enddate < $ today :
#set $ show_div = " listing_overdue "
#elif $ cur_ep_airdate > = $ next_week . date ( ) :
#set $ show_div = " listing_toofar "
#elif $ cur_ep_airdate > = $ today . date ( ) and $ cur_ep_airdate < $ next_week . date ( ) :
#if $ cur_ep_airdate == $ today . date ( ) :
#set $ show_div = " listing_current "
#else :
#set $ show_div = " listing_default "
#end if
#end if
2014-05-23 06:00:45 -04:00
#end if
2014-03-10 01:18:05 -04:00
<!-- start $ cur_result ["show_name"] //-->
2014-09-30 18:20:37 -04:00
<tr class=" $ show_div ">
## forced to use a div to wrap airdate, the column sort went crazy with a span
<td align="center" class="nowrap">
<div class=" ${ fuzzydate } "> $ sbdatetime . sbdatetime . fromtimestamp ( $ time . mktime ( $ cur_result ["localtime"].timetuple())).sbfdate().decode( $ sickbeard . SYS_ENCODING )</div><span class="sort_data"> $ time . mktime ( $ cur_result ["localtime"].timetuple())</span>
</td>
<td class="comingtvShow"><a href=" $ sbRoot /home/displayShow?show= ${ cur_result [ " showid " ] } "> $ cur_result ["show_name"]</a>
#if int ( $ cur_result [ " paused " ] ) :
<span class="pause">[paused]</span>
#end if
</td>
<td class="nowrap" align="center">
<%="S%02i" % int(cur_result["season"])+"E%02i" % int(cur_result["episode"]) %>
</td>
<td>
#if $ cur_result [ " description " ] != " " and $ cur_result [ " description " ] != None :
<img alt="" src=" $ sbRoot /images/info32.png" height="16" width="16" class="plotInfo" id="plot_info_<%=str(cur_result["showid"])+"_"+str(cur_result["season"])+"_"+str(cur_result["episode"])%>" style="padding-top: 7px;" />
#else :
<img src=" $ sbRoot /images/info32.png" width="16" height="16" class="plotInfoNone" alt="" style="padding-top: 7px;" />
#end if
$ cur_result ["name"]
</td>
<td align="center">
$ cur_result ["network"]
</td>
<td align="center">
#if int ( $ cur_result [ " quality " ] ) in $ qualityPresets :
<span class="quality $ qualityPresetStrings [int( $ cur_result ["quality"])]"> $ qualityPresetStrings [int( $ cur_result ["quality"])]</span>
#else :
<span class="quality Custom">Custom</span>
#end if
</td>
<td align="center" style="vertical-align: middle;">
#if $ cur_result [ " imdb_id " ] :
<a href="http://www.imdb.com/title/ ${ cur_result [ " imdb_id " ] } " rel="noreferrer" onclick="window.open(' ${ sickbeard . ANON_REDIRECT } ' + this.href, '_blank'); return false;" title="http://www.imdb.com/title/ ${ cur_result [ " imdb_id " ] } "><img alt="[imdb]" height="16" width="16" src=" $ sbRoot /images/imdb.png" />
#end if
<a href=" $ sickbeard . indexerApi ( $ cur_indexer ).config["show_url"] ${ cur_result [ " showid " ] } " rel="noreferrer" onclick="window.open(' ${ sickbeard . ANON_REDIRECT } ' + this.href, '_blank'); return false;" title=" $ sickbeard . indexerApi ( $ cur_indexer ).config["show_url"] ${ cur_result [ " showid " ] } "><img alt=" $ sickbeard . indexerApi ( $ cur_indexer ).name" height="16" width="16" src=" $ sbRoot /images/ $ sickbeard . indexerApi ( $ cur_indexer ).config["icon"]" /></a>
</td>
<td align="center">
<a href=" $ sbRoot /home/searchEpisode?show= ${ cur_result [ " showid " ] } &season= $ cur_result ["season"]&episode= $ cur_result ["episode"]" title="Manual Search" id="forceUpdate- ${ cur_result [ " showid " ] } " class="forceUpdate epSearch"><img alt="[search]" height="16" width="16" src=" $ sbRoot /images/search16.png" id="forceUpdateImage- ${ cur_result [ " showid " ] } " /></a>
</td>
</tr>
<!-- end $ cur_result ["show_name"] //-->
2014-03-10 01:18:05 -04:00
#end for
</tbody>
2014-09-30 18:20:37 -04:00
<tfoot>
<tr>
<th rowspan="1" colspan="10" align="center"> </th>
</tr>
</tfoot>
</table>
2014-03-10 01:18:05 -04:00
<!-- end list view //-->
2014-09-30 18:20:37 -04:00
2014-09-15 13:43:49 -04:00
#else if $ layout in [ ' banner ' , ' poster ' ] :
2014-09-30 18:20:37 -04:00
2014-03-10 01:18:05 -04:00
<!-- start non list view //-->
<script type="text/javascript" charset="utf-8">
<!--
\$(document).ready(function(){
2014-09-30 18:20:37 -04:00
\$(' #sbRoot ' ).ajaxEpSearch( { ' size ' : 16, ' loadingImage ' : ' loading16 . gif ' });
\$(".ep_summary").hide();
\$(".ep_summaryTrigger").click(function() {
\$(this).next(".ep_summary").slideToggle('normal', function() {
\$(this).prev(".ep_summaryTrigger").attr('src', function(i, src) {
return \$(this).next(".ep_summary").is(':visible') ? src.replace('plus','minus') : src.replace('minus','plus');
});
});
});
2014-03-10 01:18:05 -04:00
});
//-->
</script>
2014-09-30 18:20:37 -04:00
#set $ cur_segment = None
#set $ too_late_header = False
#set $ missed_header = False
#set $ today_header = False
#set $ show_div = " ep_listing listing_default "
2014-03-10 01:18:05 -04:00
2014-09-30 18:20:37 -04:00
#if $ sort == " show " :
<br /><br />
#end if
2014-03-10 01:18:05 -04:00
2014-09-30 18:20:37 -04:00
#for $ cur_result in $ sql_results :
#set $ cur_indexer = int ( $ cur_result [ " indexer " ] )
2014-03-26 00:15:10 -04:00
2014-09-30 18:20:37 -04:00
<!-- start $ cur_result ["show_name"] //-->
2014-03-10 01:18:05 -04:00
2014-09-30 18:20:37 -04:00
#if int ( $ cur_result [ " paused " ] ) and not $ sickbeard . COMING_EPS_DISPLAY_PAUSED :
#continue
#end if
2014-03-10 01:18:05 -04:00
2014-09-30 18:20:37 -04:00
#set $ runtime = $ cur_result [ " runtime " ]
2014-05-23 06:00:45 -04:00
2014-09-30 18:20:37 -04:00
#if $ sort == " network " :
#if $ cur_result [ " network " ] and $ cur_segment != $ cur_result [ " network " ] :
<div class="comingepheader">
<h1 class="network"> $ cur_result ["network"]</h1>
2014-03-10 01:18:05 -04:00
#set $ cur_segment = $ cur_result [ " network " ]
2014-09-30 18:20:37 -04:00
#end if
#set $ cur_ep_airdate = $ cur_result [ " localtime " ] . date ( )
2014-05-23 06:00:45 -04:00
2014-09-30 18:20:37 -04:00
#if $ runtime :
#set $ cur_ep_enddate = $ cur_result [ " localtime " ] + datetime . timedelta ( minutes = $ runtime )
#if $ cur_ep_enddate < $ today :
#set $ show_div = " ep_listing listing_overdue "
#elif $ cur_ep_airdate > = $ next_week . date ( ) :
#set $ show_div = " ep_listing listing_toofar "
#elif $ cur_ep_enddate > = $ today and $ cur_ep_airdate < $ next_week . date ( ) :
#if $ cur_ep_airdate == $ today . date ( ) :
#set $ show_div = " ep_listing listing_current "
2014-05-23 06:00:45 -04:00
#else :
#set $ show_div = " ep_listing listing_default "
#end if
2014-03-10 01:18:05 -04:00
#end if
#end if
2014-09-30 18:20:37 -04:00
#elif $ sort == " date " :
#set $ cur_ep_airdate = $ cur_result [ " localtime " ] . date ( )
2014-05-23 06:00:45 -04:00
2014-09-30 18:20:37 -04:00
#if $ cur_segment != $ cur_ep_airdate :
2014-08-22 02:26:49 -04:00
#if $ runtime :
2014-09-17 01:11:21 -04:00
#set $ cur_ep_enddate = $ cur_result [ " localtime " ] + datetime . timedelta ( minutes = $ runtime )
2014-09-30 18:20:37 -04:00
#if $ cur_ep_enddate < $ today and $ cur_ep_airdate != $ today . date ( ) and not $ missed_header :
<div class="comingepheader">
<br /><h1 class="day">Missed</h1>
#set $ missed_header = True
#elif $ cur_ep_airdate > = $ next_week . date ( ) and not $ too_late_header :
<div class="comingepheader">
<br /><h1 class="day">Later</h1>
#set $ too_late_header = True
2014-08-22 02:26:49 -04:00
#elif $ cur_ep_enddate > = $ today and $ cur_ep_airdate < $ next_week . date ( ) :
#if $ cur_ep_airdate == $ today . date ( ) :
2014-09-30 18:20:37 -04:00
<div class="comingepheader">
<br /><h1 class="day"> $ datetime . date . fromordinal ( $ cur_ep_airdate . toordinal ).strftime("%A").decode( $ sickbeard . SYS_ENCODING ).capitalize() <span style="font-size: 12px;">[today]</span></h1>
#set $ today_header = True
2014-08-22 02:26:49 -04:00
#else :
2014-09-30 18:20:37 -04:00
<div class="comingepheader">
<br /><h1 class="day"> $ datetime . date . fromordinal ( $ cur_ep_airdate . toordinal ).strftime("%A").decode( $ sickbeard . SYS_ENCODING ).capitalize()</h1>
2014-08-22 02:26:49 -04:00
#end if
2014-05-23 06:00:45 -04:00
#end if
#end if
2014-09-30 18:20:37 -04:00
#set $ cur_segment = $ cur_ep_airdate
#end if
#if $ cur_ep_airdate == $ today . date ( ) and not $ today_header :
<div class="comingepheader">
<br /><h1 class="day"> $ datetime . date . fromordinal ( $ cur_ep_airdate . toordinal ).strftime("%A").decode( $ sickbeard . SYS_ENCODING ).capitalize() <span style="font-size: 12px;">[today]</span></h1>
#set $ today_header = True
#end if
#if $ runtime :
#if $ cur_ep_enddate < $ today :
#set $ show_div = " ep_listing listing_overdue "
#elif $ cur_ep_airdate > = $ next_week . date ( ) :
#set $ show_div = " ep_listing listing_toofar "
#elif $ cur_ep_enddate > = $ today and $ cur_ep_airdate < $ next_week . date ( ) :
#if $ cur_ep_airdate == $ today . date ( ) :
#set $ show_div = " ep_listing listing_current "
#else :
#set $ show_div = " ep_listing listing_default "
#end if
#end if
#end if
2014-05-23 06:00:45 -04:00
#elif $ sort == " show " :
#set $ cur_ep_airdate = $ cur_result [ " localtime " ] . date ( )
#if $ runtime :
#set $ cur_ep_enddate = $ cur_result [ " localtime " ] + datetime . timedelta ( minutes = $ runtime )
#if $ cur_ep_enddate < $ today :
2014-09-30 18:20:37 -04:00
#set $ show_div = " ep_listing listing_overdue listingradius "
2014-05-23 06:00:45 -04:00
#elif $ cur_ep_airdate > = $ next_week . date ( ) :
2014-09-30 18:20:37 -04:00
#set $ show_div = " ep_listing listing_toofar listingradius "
2014-05-23 06:00:45 -04:00
#elif $ cur_ep_enddate > = $ today and $ cur_ep_airdate < $ next_week . date ( ) :
#if $ cur_ep_airdate == $ today . date ( ) :
2014-09-30 18:20:37 -04:00
#set $ show_div = " ep_listing listing_current listingradius "
2014-03-10 01:18:05 -04:00
#else :
2014-09-30 18:20:37 -04:00
#set $ show_div = " ep_listing listing_default listingradius "
2014-03-10 01:18:05 -04:00
#end if
#end if
#end if
#end if
2014-09-30 18:20:37 -04:00
<div class=" $ show_div " id="listing_ ${ cur_result [ " showid " ] } ">
<div class="tvshowDiv">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th #if $ layout == ' banner ' then " class= \" nobg \" " else " rowspan= \" 2 \" " # valign="top">
<a href=" $ sbRoot /home/displayShow?show= ${ cur_result [ " showid " ] } "><img alt="" class=" #if $ layout == ' banner ' then " bannerThumb " else " posterThumb " # " src=" $ sbRoot /showPoster/?show= ${ cur_result [ " showid " ] } &which= #if $ layout == ' poster ' then " poster_thumb " else $ layout # " /></a>
</th>
#if $ layout == ' banner ' :
</tr>
<tr>
#end if
<td class="next_episode">
<div class="clearfix">
<h2 class="tvshowTitle"><a href=" $ sbRoot /home/displayShow?show= ${ cur_result [ " showid " ] } "> $ cur_result ["show_name"]
#if int ( $ cur_result [ " paused " ] ) :
<span class="pause">[paused]</span>
#end if
</a></h2>
<span class="tvshowTitleIcons">
#if $ cur_result [ " imdb_id " ] :
<a href="http://www.imdb.com/title/ ${ cur_result [ " imdb_id " ] } " rel="noreferrer" onclick="window.open(' ${ sickbeard . ANON_REDIRECT } ' + this.href, '_blank'); return false;" title="http://www.imdb.com/title/ ${ cur_result [ " imdb_id " ] } "><img alt="[imdb]" height="16" width="16" src=" $ sbRoot /images/imdb.png" />
#end if
<a href=" $ sickbeard . indexerApi ( $ cur_indexer ).config["show_url"] ${ cur_result [ " showid " ] } " rel="noreferrer" onclick="window.open(' ${ sickbeard . ANON_REDIRECT } ' + this.href, '_blank'); return false;" title=" $ sickbeard . indexerApi ( $ cur_indexer ).config["show_url"] ${ cur_result [ " showid " ] } "><img alt=" $ sickbeard . indexerApi ( $ cur_indexer ).name" height="16" width="16" src=" $ sbRoot /images/ $ sickbeard . indexerApi ( $ cur_indexer ).config["icon"]" /></a>
<span><a href=" $ sbRoot /home/searchEpisode?show= ${ cur_result [ " showid " ] } &season= $ cur_result ["season"]&episode= $ cur_result ["episode"]" title="Manual Search" id="forceUpdate- ${ cur_result [ " showid " ] } " class="epSearch forceUpdate"><img alt="[search]" height="16" width="16" src=" $ sbRoot /images/search16.png" id="forceUpdateImage- ${ cur_result [ " showid " ] } " /></a></span>
</span>
</div>
<span class="title">Next Episode:</span> <span><%="S%02i" % int(cur_result["season"])+"E%02i" % int(cur_result["episode"]) %> - $ cur_result ["name"] ( $ sbdatetime . sbdatetime . fromtimestamp ( $ time . mktime ( $ cur_result ["localtime"].timetuple())).sbfdate().decode( $ sickbeard . SYS_ENCODING ))</span>
<div class="clearfix">
<span class="title">Airs:</span> <span> $ sbdatetime . sbdatetime . fromtimestamp ( $ time . mktime ( $ cur_result ["localtime"].timetuple())).sbftime().decode( $ sickbeard . SYS_ENCODING ) on $ cur_result ["network"]</span>
</div>
<div class="clearfix">
<span class="title">Quality:</span>
#if int ( $ cur_result [ " quality " ] ) in $ qualityPresets :
<span class="quality $ qualityPresetStrings [int( $ cur_result ["quality"])]"> $ qualityPresetStrings [int( $ cur_result ["quality"])]</span>
#else :
<span class="quality Custom">Custom</span>
#end if
</div>
</td>
2014-03-10 01:18:05 -04:00
</tr>
<tr>
2014-09-30 18:20:37 -04:00
<td style="vertical-align: top;">
<div>
#if $ cur_result [ " description " ] != " " and $ cur_result [ " description " ] != None :
<span class="title" style="vertical-align:middle;">Plot:</span>
<img class="ep_summaryTrigger" src=" $ sbRoot /images/plus.png" height="16" width="16" alt="" title="Toggle Summary" /><div class="ep_summary"> $ cur_result ["description"]</div>
#else :
<span class="title ep_summaryTriggerNone" style="vertical-align:middle;">Plot:</span>
<img class="ep_summaryTriggerNone" src=" $ sbRoot /images/plus.png" height="16" width="16" alt="" />
#end if
</div>
</td>
2014-03-10 01:18:05 -04:00
</tr>
2014-09-30 18:20:37 -04:00
</table>
2014-03-10 01:18:05 -04:00
</div>
2014-09-30 18:20:37 -04:00
</div>
2014-03-10 01:18:05 -04:00
2014-09-30 18:20:37 -04:00
<!-- end $ cur_result ["show_name"] //-->
#end for
2014-03-10 01:18:05 -04:00
<!-- end non list view //-->
#end if
2014-09-15 13:43:49 -04:00
#if $ layout == ' calendar ' :
#set $ today = datetime . date . today ( )
#set $ dates = [ $ today + datetime . timedelta ( days = $ i ) for $ i in range ( 7 ) ]
<input type="hidden" id="sbRoot" value=" $ sbRoot " />
#for $ day in $ dates
2014-09-30 18:20:37 -04:00
<table class="sickbeardTable tablesorter" cellspacing="0" border="0" cellpadding="0" style="float:left;width:178px;white-space: nowrap; table-layout: fixed;">
2014-09-15 13:43:49 -04:00
<thead><tr><th> $ day . strftime ("%A").decode( $ sickbeard . SYS_ENCODING ).capitalize()</th></tr></thead>
<tbody>
#for $ cur_result in $ sql_results :
#set $ cur_indexer = int ( $ cur_result [ " indexer " ] )
#set $ runtime = $ cur_result [ " runtime " ]
#set $ airday = $ cur_result [ " localtime " ] . date ( )
#if $ airday == $ day :
<tr>
2014-09-30 18:20:37 -04:00
<td style="overflow: hidden; text-overflow: ellipsis; font-size: 12px; LINE-HEIGHT:14px;">
<a href=" $ sbRoot /home/displayShow?show= ${ cur_result [ " showid " ] } "><img alt="" src=" $ sbRoot /showPoster/?show= ${ cur_result [ " showid " ] } &which=poster_thumb" width="155" style="padding-bottom: 5px;" /></a>
2014-09-15 13:43:49 -04:00
<br> $ cur_result ["localtime"].strftime("%H:%M") on $ cur_result ["network"]
#set $ episodestring = " %s x %s %s " % ( $ cur_result [ " season " ] , $ cur_result [ " episode " ] , $ cur_result [ " name " ] )
2014-09-30 18:20:37 -04:00
<br> <%="S%02i" % int(cur_result["season"])+"E%02i" % int(cur_result["episode"]) %> - $ cur_result ["name"]
2014-09-15 13:43:49 -04:00
</td>
</tr>
#end if
<!-- end $ cur_result ["show_name"] //-->
#end for
</tbody>
</table>
#end for
<!-- end calender view //-->
#end if
2014-03-10 01:18:05 -04:00
<script type="text/javascript" charset="utf-8">
<!--
window.setInterval( "location.reload(true)", 600000); // Refresh every 10 minutes
//-->
</script>
#include $ os . path . join ( $ sickbeard . PROG_DIR , " gui/slick/interfaces/default/inc_bottom.tmpl " )