2015-09-24 18:19:44 +00:00
|
|
|
#import sickbeard
|
|
|
|
#import datetime
|
|
|
|
#import re
|
|
|
|
#import urllib
|
2017-01-01 18:16:51 +00:00
|
|
|
#from sickbeard import WEB_ROOT, THEME_NAME
|
2015-09-24 18:19:44 +00:00
|
|
|
#from sickbeard.common import *
|
|
|
|
#from sickbeard import sbdatetime
|
|
|
|
#from sickbeard.helpers import anon_url
|
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
|
|
|
<% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp#
|
|
|
|
<% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp#
|
2015-09-24 18:19:44 +00:00
|
|
|
##
|
2016-04-19 22:28:44 +00:00
|
|
|
#set global $title='Browse %s Shows' % $browse_type
|
2015-09-24 18:19:44 +00:00
|
|
|
#set global $header='Browse Shows'
|
|
|
|
#set global $sbPath='..'
|
|
|
|
#set global $topmenu='home'
|
2016-02-14 12:28:30 +00:00
|
|
|
#set global $page_body_attr = 'browse-list'
|
2017-01-01 18:16:51 +00:00
|
|
|
#set sg_root = $getVar('sbRoot', WEB_ROOT)
|
2015-09-24 18:19:44 +00:00
|
|
|
##
|
|
|
|
#import os.path
|
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
|
|
|
#include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl')
|
2015-09-24 18:19:44 +00:00
|
|
|
|
2017-01-01 18:16:51 +00:00
|
|
|
<script type="text/javascript" src="$sg_root/js/plotTooltip.js?v=$sbPID"></script>
|
2015-09-24 18:19:44 +00:00
|
|
|
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
<!--
|
|
|
|
#raw
|
|
|
|
var addQTip = (function(){
|
|
|
|
$(this).css('cursor', 'help');
|
|
|
|
$(this).qtip({
|
|
|
|
show: {solo:true},
|
|
|
|
position: {viewport:$(window), my:'left center', adjust:{y: -10,x: 2 }},
|
|
|
|
style: {tip: {corner:true, method:'polygon'}, classes:'qtip-rounded qtip-bootstrap qtip-shadow ui-tooltip-sb'}
|
|
|
|
});
|
2017-01-01 18:16:51 +00:00
|
|
|
}),
|
|
|
|
llUpdate = (function(){
|
|
|
|
$.ll.handleScroll();
|
2015-09-24 18:19:44 +00:00
|
|
|
});
|
|
|
|
|
2017-01-01 18:16:51 +00:00
|
|
|
$(document).ready(function(){
|
2015-09-24 18:19:44 +00:00
|
|
|
// initialise combos for dirty page refreshes
|
2017-05-20 01:10:33 +00:00
|
|
|
$('#showsort').val('*');
|
2015-09-24 18:19:44 +00:00
|
|
|
|
2017-05-20 01:10:33 +00:00
|
|
|
$('#container').isotope({
|
|
|
|
itemSelector: '.show-card',
|
|
|
|
sortBy: 'original-order',
|
|
|
|
layoutMode: 'masonry',
|
|
|
|
masonry: {
|
|
|
|
columnWidth: 188,
|
|
|
|
isFitWidth: !0,
|
|
|
|
gutter: 12
|
|
|
|
},
|
|
|
|
getSortData: {
|
|
|
|
premiered: '[data-premiered] parseInt',
|
|
|
|
name: function( itemElem ) {
|
|
|
|
var name = $( itemElem ).attr('data-name') || '';
|
2017-01-01 18:16:51 +00:00
|
|
|
#end raw
|
2017-05-20 01:10:33 +00:00
|
|
|
#if not $sg_var('SORT_ARTICLE')
|
|
|
|
name = name.replace(/^(?:(?:A(?!\s+to)n?)|The)\s(\w)/i, '$1');
|
2015-09-24 18:19:44 +00:00
|
|
|
#end if
|
2017-01-01 18:16:51 +00:00
|
|
|
#raw
|
2017-05-20 01:10:33 +00:00
|
|
|
return name.toLowerCase();
|
|
|
|
},
|
|
|
|
rating: '[data-rating] parseInt',
|
|
|
|
votes: '[data-votes] parseInt',
|
|
|
|
}
|
2015-09-24 18:19:44 +00:00
|
|
|
});
|
|
|
|
|
2017-01-01 18:16:51 +00:00
|
|
|
$('#showsort').on('change', function(){
|
|
|
|
var sortCriteria, el$ = $('#container'), shuffle = !1;
|
2017-05-20 01:10:33 +00:00
|
|
|
switch (this.value.replace('by_', '')) {
|
|
|
|
case 'asc':
|
|
|
|
case 'desc':
|
|
|
|
sortCriteria = 'order';
|
|
|
|
break;
|
2015-09-24 18:19:44 +00:00
|
|
|
case 'original':
|
|
|
|
sortCriteria = 'original-order'
|
|
|
|
break;
|
|
|
|
case 'rating':
|
|
|
|
sortCriteria = 'rating';
|
2017-01-01 18:16:51 +00:00
|
|
|
shuffle = !0;
|
2015-09-24 18:19:44 +00:00
|
|
|
break;
|
|
|
|
case 'rating_votes':
|
|
|
|
sortCriteria = ['rating', 'votes'];
|
2017-01-01 18:16:51 +00:00
|
|
|
shuffle = !0;
|
2015-09-24 18:19:44 +00:00
|
|
|
break;
|
|
|
|
case 'votes':
|
|
|
|
sortCriteria = 'votes';
|
|
|
|
break;
|
|
|
|
case 'premiered':
|
|
|
|
sortCriteria = 'premiered';
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
sortCriteria = 'name'
|
|
|
|
break;
|
|
|
|
}
|
2017-01-01 18:16:51 +00:00
|
|
|
|
2017-05-20 01:10:33 +00:00
|
|
|
var showSort = $('#showsort option');
|
|
|
|
if('order' === sortCriteria){
|
|
|
|
showSort.filter($('option[value="asc"], option[value="desc"]')).removeClass('selected');
|
|
|
|
showSort.filter($('option[value="' + this.value + '"]')).addClass('selected');
|
|
|
|
|
2017-01-01 18:16:51 +00:00
|
|
|
el$.one('layoutComplete', llUpdate);
|
2017-05-20 01:10:33 +00:00
|
|
|
el$.isotope({sortAscending: 'asc' == this.value});
|
|
|
|
} else if(0 == this.value.indexOf('by_')){
|
|
|
|
showSort.filter($('option[value^="by_"][class*="selected"]')).removeClass('selected');
|
|
|
|
showSort.filter($('option[value="' + this.value + '"]')).addClass('selected');
|
|
|
|
|
|
|
|
if (!shuffle){
|
|
|
|
el$.one('layoutComplete', llUpdate);
|
|
|
|
el$.isotope({sortBy: sortCriteria});
|
|
|
|
} else {
|
|
|
|
// shuffle rating_votes where it can already be sorted by ratings which leaves it nothing to do.
|
|
|
|
function t(sortCriteria, lastPhase){
|
|
|
|
return function(){
|
|
|
|
var el$ = $('#container');
|
|
|
|
if (!lastPhase){
|
|
|
|
lastPhase = !0;
|
|
|
|
el$.isotope({sortBy: sortCriteria});
|
|
|
|
} else {
|
|
|
|
el$.off('layoutComplete');
|
|
|
|
el$.isotope('layout');
|
|
|
|
llUpdate();
|
|
|
|
}
|
2017-01-01 18:16:51 +00:00
|
|
|
}
|
|
|
|
}
|
2017-05-20 01:10:33 +00:00
|
|
|
el$.on('layoutComplete', t(sortCriteria, !1));
|
|
|
|
el$.isotope({sortBy: 'random'});
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
showSort.filter($('option[value^="*"], #showsort option[value^="."]')).removeClass('selected');
|
|
|
|
showSort.filter($('option[value="' + this.value + '"]')).addClass('selected');
|
|
|
|
|
|
|
|
var showCards = $('.show-card'), filter = this.value;
|
|
|
|
if('.hide' === this.value){
|
|
|
|
showCards.filter($('.hide')).removeClass('hide').addClass('to-hide');
|
|
|
|
filter = '.to-hide';
|
|
|
|
} else {
|
|
|
|
showCards.filter($('.to-hide')).removeClass('to-hide').addClass('hide');
|
2017-01-01 18:16:51 +00:00
|
|
|
}
|
2017-05-20 01:10:33 +00:00
|
|
|
|
|
|
|
var el$ = $('#container');
|
|
|
|
el$.one('layoutComplete', llUpdate);
|
|
|
|
el$.isotope({ filter: filter });
|
2017-01-01 18:16:51 +00:00
|
|
|
}
|
2015-09-24 18:19:44 +00:00
|
|
|
});
|
|
|
|
|
2017-05-20 01:10:33 +00:00
|
|
|
$('#container').on('click', '.show-toggle-hide', function(event){
|
|
|
|
var that = $(this);
|
|
|
|
event.preventDefault();
|
|
|
|
|
|
|
|
$.getJSON(this.href, function(data){
|
|
|
|
if(data.success){
|
|
|
|
var showCards = $('.show-card'), thisCard = $(that).parents('div[class*="show-card "]'),
|
|
|
|
numShows = showCards.length, numHidden, showSort = $('#showsort option'), filter = 'to-hide';
|
|
|
|
|
|
|
|
if(thisCard.hasClass(filter)){
|
|
|
|
title = 'Hide';
|
|
|
|
thisCard.removeClass(filter);
|
|
|
|
} else {
|
|
|
|
filter = 'hide';
|
|
|
|
title = 'Unhide';
|
|
|
|
thisCard.addClass(filter);
|
|
|
|
}
|
|
|
|
numHidden = showCards.filter($('.' + filter)).length;
|
|
|
|
that.attr('title', title);
|
|
|
|
|
|
|
|
showSort.filter($('option[value=".hide"]')).text('Hidden (' + numHidden + ')');
|
|
|
|
showSort.filter($('option[value="*"]')).text('All (' + (0 == numHidden ? '' : (numShows - numHidden) + '/') + numShows + ')');
|
|
|
|
|
|
|
|
var el$ = $('#container')
|
|
|
|
el$.on('layoutComplete', llUpdate);
|
|
|
|
el$.isotope();
|
|
|
|
}
|
|
|
|
});
|
2015-09-24 18:19:44 +00:00
|
|
|
});
|
|
|
|
|
2017-01-01 18:16:51 +00:00
|
|
|
$('#showfilter').on('change', function(){
|
2015-09-24 18:19:44 +00:00
|
|
|
var filterValue = this.value;
|
2016-04-19 22:28:44 +00:00
|
|
|
if (-1 == filterValue.indexOf('trakt') && -1 == filterValue.indexOf('imdb') && -1 == filterValue.indexOf('default')) {
|
2017-01-01 18:16:51 +00:00
|
|
|
var el$ = $('#container')
|
|
|
|
el$.on('layoutComplete', llUpdate);
|
|
|
|
el$.isotope({ filter: filterValue });
|
2015-09-24 18:19:44 +00:00
|
|
|
} else {
|
2017-01-01 18:16:51 +00:00
|
|
|
#end raw
|
|
|
|
location = '$sg_root/home/addShows/' + filterValue;
|
|
|
|
#raw
|
2015-09-24 18:19:44 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
$('.service, .browse-image').each(addQTip);
|
|
|
|
});
|
|
|
|
|
2017-01-01 18:16:51 +00:00
|
|
|
#end raw
|
2015-09-24 18:19:44 +00:00
|
|
|
//-->
|
|
|
|
</script>
|
2017-01-01 18:16:51 +00:00
|
|
|
|
|
|
|
<style>
|
|
|
|
#set theme_suffix = ('', '-dark')['dark' == $getVar('sbThemeName', THEME_NAME)]
|
|
|
|
.bfr{position:absolute;left:-999px;top:-999px}.bfr img{width:16px;height:16px}.spinner{display:inline-block;width:16px;height:16px;background:url(${sg_root}/images/loading16${theme_suffix}.gif) no-repeat 0 0}
|
|
|
|
</style>
|
|
|
|
<div class="bfr"><img src="$sg_root/images/loading16${theme_suffix}.gif" /></div>
|
|
|
|
|
2015-09-24 18:19:44 +00:00
|
|
|
#if $varExists('header')
|
|
|
|
#set $heading = ('header', $header)
|
|
|
|
#else
|
|
|
|
#set $heading = ('title', $title)
|
|
|
|
#end if
|
|
|
|
<h1 style="margin-bottom:0" class="grey-text #echo '%s">%s' % $heading#</h1>
|
|
|
|
|
2016-04-19 22:28:44 +00:00
|
|
|
#set $mode = $kwargs and $kwargs.get('mode', '')
|
|
|
|
#if $all_shows or ($kwargs and $kwargs.get('show_header'))
|
2015-09-24 18:19:44 +00:00
|
|
|
<div class="pull-right" style="margin-top:-35px">
|
2017-05-20 01:10:33 +00:00
|
|
|
<select id="showsort" class="form-control form-control-inline input-sm">
|
|
|
|
#set $num_all = len($all_shows)
|
2016-04-19 22:28:44 +00:00
|
|
|
#set $selected = ' class="selected"'
|
2017-05-20 01:10:33 +00:00
|
|
|
<optgroup label="View">
|
|
|
|
<option value="*"#echo selected# selected="selected">All (#echo ('', '%s/' % ($num_all - $num_hidden))[0 < $num_hidden]#$num_all)</option>
|
|
|
|
<option value=".notinlibrary">Not In Library (#echo $num_all - $num_inlibrary#)</option>
|
|
|
|
<option value=".inlibrary">In Library ($num_inlibrary)</option>
|
|
|
|
#if 'Ani' not in $browse_type
|
|
|
|
<option value=".hide">Hidden ($num_hidden)</option>
|
|
|
|
#end if
|
|
|
|
</optgroup>
|
|
|
|
<optgroup label="Sort order">
|
|
|
|
<option value="asc"#echo selected#>Asc</option>
|
|
|
|
<option value="desc">Desc</option>
|
|
|
|
</optgroup>
|
|
|
|
<optgroup label="Sort by">
|
|
|
|
<option value="by_name">Name</option>
|
|
|
|
<option value="by_original" #echo selected#>Original</option>
|
|
|
|
<option value="by_premiered">First aired</option>
|
|
|
|
<option value="by_votes">Votes</option>
|
|
|
|
<option value="by_rating">% Rating</option>
|
|
|
|
<option value="by_rating_votes">% Rating > Votes</option>
|
|
|
|
</optgroup>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
#if 'Ani' not in $browse_type
|
|
|
|
<select id="showfilter" class="form-control form-control-inline input-sm">
|
|
|
|
#set $selected = ' class="selected" selected="selected"'
|
|
|
|
#if 'Trakt' == $browse_type
|
2016-01-08 20:57:07 +00:00
|
|
|
<optgroup label="Trakt">
|
|
|
|
<option value="trakt_anticipated"#echo ('', selected)['anticipated' == $mode]#>Anticipating</option>
|
|
|
|
<option value="trakt_newseasons"#echo ('', selected)['newseasons' == $mode]#>New Seasons</option>
|
|
|
|
<option value="trakt_newshows"#echo ('', selected)['newshows' == $mode]#>New Shows</option>
|
|
|
|
<option value="trakt_popular"#echo ('', selected)['popular' == $mode]#>Popular</option>
|
|
|
|
<option value="trakt_trending"#echo ('', selected)['trending' == $mode]#>Trending</option>
|
|
|
|
</optgroup>
|
|
|
|
<optgroup label="Trakt last month">
|
|
|
|
<option value="trakt_watched"#echo ('', selected)['watched' == $mode]#>Most Watched</option>
|
|
|
|
<option value="trakt_played"#echo ('', selected)['played' == $mode]#>Most Played</option>
|
|
|
|
<option value="trakt_collected"#echo ('', selected)['collected' == $mode]#>Most Collected</option>
|
|
|
|
</optgroup>
|
|
|
|
<optgroup label="Trakt last 12 months">
|
|
|
|
<option value="trakt_watched?period=year"#echo ('', selected)['watched-year' == $mode]#>Most Watched</option>
|
|
|
|
<option value="trakt_played?period=year"#echo ('', selected)['played-year' == $mode]#>Most Played</option>
|
|
|
|
<option value="trakt_collected?period=year"#echo ('', selected)['collected-year' == $mode]#>Most Collected</option>
|
|
|
|
</optgroup>
|
2017-05-20 01:10:33 +00:00
|
|
|
#if any($sg_var('TRAKT_ACCOUNTS', []))
|
2016-01-08 20:57:07 +00:00
|
|
|
<optgroup label="Trakt recommended">
|
2017-05-20 01:10:33 +00:00
|
|
|
#for $account in $sg_var('TRAKT_ACCOUNTS')
|
|
|
|
#if $sg_var('TRAKT_ACCOUNTS').get($account).active and $sg_var('TRAKT_ACCOUNTS').get($account).name
|
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
|
|
|
<option value="trakt_recommended?account=$account"#echo ('', selected)[('recommended-%s' % $account) == $mode]#>for $sg_var('TRAKT_ACCOUNTS').get($account).name</option>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
|
|
|
#end for
|
|
|
|
#else
|
2016-01-08 20:57:07 +00:00
|
|
|
<optgroup label="To get recommended">
|
|
|
|
<option value="trakt_recommended?action=add">Enable Trakt here</option>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
2017-04-23 21:34:17 +00:00
|
|
|
</optgroup>
|
2017-05-20 01:10:33 +00:00
|
|
|
#if any($sg_var('TRAKT_ACCOUNTS', []))
|
2017-04-23 21:34:17 +00:00
|
|
|
<optgroup label="Trakt watchlisted">
|
2017-05-20 01:10:33 +00:00
|
|
|
#for $account in $sg_var('TRAKT_ACCOUNTS')
|
|
|
|
#if $sg_var('TRAKT_ACCOUNTS').get($account).active and $sg_var('TRAKT_ACCOUNTS').get($account).name
|
2017-04-23 21:34:17 +00:00
|
|
|
<option value="trakt_watchlist?account=$account"#echo ('', selected)[('watchlist-%s' % $account) == $mode]#>for $sg_var('TRAKT_ACCOUNTS').get($account).name</option>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
|
|
|
#end for
|
|
|
|
#else
|
2017-04-23 21:34:17 +00:00
|
|
|
<optgroup label="To get watchlisted">
|
|
|
|
<option value="trakt_watchlist?action=add">Enable Trakt here</option>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
2016-01-08 20:57:07 +00:00
|
|
|
</optgroup>
|
2017-05-20 01:10:33 +00:00
|
|
|
#elif 'IMDb' == $browse_type
|
|
|
|
#set $periods = $kwargs and $kwargs.get('periods')
|
|
|
|
#if $periods
|
2016-04-19 22:28:44 +00:00
|
|
|
<optgroup label="IMDb Popular">
|
2017-05-20 01:10:33 +00:00
|
|
|
#for $i, $p in enumerate($periods)
|
|
|
|
#set $period='%s,%s' % ($p[0], $p[1])
|
2016-04-19 22:28:44 +00:00
|
|
|
<option value="popular_imdb?period=$period"#echo ('', selected)[('popular-%s' % $period) == $mode]#>#echo '%s - %s' % (($p[1], 'Current')[not $i], $p[0])#</option>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end for
|
2016-04-19 22:28:44 +00:00
|
|
|
</optgroup>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
|
|
|
#if not hasattr($sickbeard, 'IMDB_ACCOUNTS')#<optgroup label="Restart SickGear to reveal"><option>new options after restart</option></optgroup>#else#
|
2016-04-19 22:28:44 +00:00
|
|
|
<optgroup label="IMDb Watchlists">
|
2017-05-20 01:10:33 +00:00
|
|
|
#if any($sg_var('IMDB_ACCOUNTS', []))
|
|
|
|
#for $i, $v in $enumerate($sg_var('IMDB_ACCOUNTS'))
|
|
|
|
#if not $i % 2
|
|
|
|
#set $id = $v
|
|
|
|
#elif not $v.startswith('(Off) ')
|
2016-04-19 22:28:44 +00:00
|
|
|
<option value="watchlist_imdb?account=$id"#echo ('', selected)[('watchlist-%s' % $id) == $mode]#>#echo '%s%s' % ($v, ('\'s', '')['your' == $v.replace('(Off) ', '').lower()])# list</option>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
|
|
|
#end for
|
|
|
|
#end if
|
2016-04-19 22:28:44 +00:00
|
|
|
<option value="watchlist_imdb?action=add"><< Add lists >></option>
|
|
|
|
</optgroup>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
2016-04-19 22:28:44 +00:00
|
|
|
#end if
|
2015-09-24 18:19:44 +00:00
|
|
|
</select>
|
2017-05-20 01:10:33 +00:00
|
|
|
#end if
|
2015-09-24 18:19:44 +00:00
|
|
|
</div>
|
|
|
|
<h4 style="float:left;margin:0 0 0 2px">$browse_title</h4>
|
2017-05-20 01:10:33 +00:00
|
|
|
#if $kwargs and $kwargs.get('oldest')
|
2015-09-24 18:19:44 +00:00
|
|
|
<div class="grey-text" style="clear:both;margin-left:2px;font-size:0.85em">
|
|
|
|
First aired from $kwargs['oldest'] until $kwargs['newest']
|
|
|
|
</div>
|
|
|
|
#end if
|
|
|
|
#end if
|
|
|
|
|
|
|
|
<div id="container">
|
|
|
|
#if $all_shows
|
2017-01-01 18:16:51 +00:00
|
|
|
#set $poster_id = 0
|
2017-05-20 01:10:33 +00:00
|
|
|
#for $this_show in $all_shows
|
2017-01-01 18:16:51 +00:00
|
|
|
#set $poster_id += 1
|
|
|
|
|
2015-09-24 18:19:44 +00:00
|
|
|
#set $title_html = $this_show['title'].replace('"', '"').replace("'", ''')
|
2016-04-19 22:28:44 +00:00
|
|
|
#if 'newseasons' == $mode
|
2015-11-17 00:42:26 +00:00
|
|
|
#set $overview = '%s: %s' % (
|
|
|
|
('Season %s' % $this_show['episode_season'], 'Brand-new')[1 == $this_show['episode_season']],
|
|
|
|
($this_show['overview'], $this_show['episode_overview'])[any($this_show['episode_overview']) and 1 != $this_show['episode_season']])
|
|
|
|
#else
|
|
|
|
#set $overview = $this_show['overview']
|
|
|
|
#end if
|
2015-09-24 18:19:44 +00:00
|
|
|
|
2017-05-20 01:10:33 +00:00
|
|
|
#set $known = 'not'
|
|
|
|
#set $show_id = $this_show['show_id']
|
|
|
|
#if ':' in $show_id
|
|
|
|
#set $known = ''
|
|
|
|
#set $show_id = $show_id[2:]
|
|
|
|
#end if
|
|
|
|
#set $hide = ('', 'hide ')[$show_id in $sickbeard.BROWSELIST_HIDDEN]
|
|
|
|
|
|
|
|
<div class="show-card ${hide}${known}inlibrary" data-name="#echo re.sub(r'([\'\"])', r'', $this_show['title'])#" data_id="$show_id" data-rating="$this_show['rating']" data-votes="$this_show['votes']" data-premiered="$this_show['premiered']">
|
2016-02-14 12:28:30 +00:00
|
|
|
<div class="show-card-inner">
|
2015-09-24 18:19:44 +00:00
|
|
|
<div class="browse-image">
|
|
|
|
<a class="browse-image" href="<%= anon_url(this_show['url_src_db']) %>" target="_blank"
|
2015-11-17 00:42:26 +00:00
|
|
|
title="<span style='color: rgb(66, 139, 202)'>$re.sub(r'(?m)\s+\((?:19|20)\d\d\)\s*$', '', $title_html)</span>#if $this_show['genres']#<br /><div style='font-weight:bold'>(<em>$this_show['genres']</em>)</div>#end if#
|
|
|
|
<p style='margin:0 0 2px'>#echo re.sub(r'([,\.!][^,\.!]*?)$', '...', re.sub(r'([!\?\.])(?=\w)', r'\1 ', $overview))#</p>
|
2016-08-17 14:37:08 +00:00
|
|
|
<p><span style='font-weight:bold;font-size:0.9em;color:#888'><em>#if $kwargs and 'newseasons' == $mode#Air#else#First air#end if##echo ('s', 'ed')[$this_show['when_past']]#: $this_show['premiered_str']</em></span>
|
2016-08-23 14:11:56 +00:00
|
|
|
#if $this_show.get('ended_str')# - <span style='font-weight:bold;font-size:0.9em;color:#888'><em>Ended: $this_show['ended_str']</em></span>#end if#</p>
|
2015-11-17 00:42:26 +00:00
|
|
|
<span style='float:right'>Click for more at <span class='boldest'>$browse_type</span></span>">
|
2017-05-20 01:10:33 +00:00
|
|
|
#if 'poster' in $this_show['images']
|
2015-09-24 18:19:44 +00:00
|
|
|
#set $image = $this_show['images']['poster']['thumb']
|
2017-01-01 18:16:51 +00:00
|
|
|
<img id="poster-$poster_id" alt="" class="browse-image" data-original="#if $image and 'http' != $image[:4]#$sg_root/#end if#$image" />
|
|
|
|
<span id="loading-poster-$poster_id" class="lazy-loading-image"><i class="spinner"></i></span>
|
2017-05-20 01:10:33 +00:00
|
|
|
#else
|
2015-09-24 18:19:44 +00:00
|
|
|
<span> </span>
|
|
|
|
#end if
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="show-title">
|
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
|
|
|
#echo ((re.sub('^((?:A(?!\s+to)n?)|The)\s(\w)', r'<span class="article">\1</span> \2', $this_show['title']), $this_show['title'])[$sg_var('SORT_ARTICLE')], '<span> </span>')['' == $this_show['title']]#
|
2015-09-24 18:19:44 +00:00
|
|
|
</div>
|
2017-05-20 01:10:33 +00:00
|
|
|
#if 'Ani' not in $browse_type
|
|
|
|
<a class="show-toggle-hide" href="$sg_root/home/addShows/show_toggle_hide?ids=$show_id#echo ('', ':%s' % $this_show['ids'].get('imdb', '-'))['Trakt' == $browse_type]#" title="#echo ('H', 'Unh')[any($hide)]#ide"><i class="sgicon-delete"></i></a>
|
|
|
|
#end if
|
2015-09-24 18:19:44 +00:00
|
|
|
<div class="clearfix">
|
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
|
|
|
<p>$this_show['rating']%<i class="heart icon-glyph"></i><i>$this_show['votes'] votes</i></p>
|
2017-05-20 01:10:33 +00:00
|
|
|
#if 'url_tvdb' in $this_show and $this_show['url_tvdb']
|
2015-09-24 18:19:44 +00:00
|
|
|
<a class="service" href="<%= anon_url(this_show['url_tvdb']) %>" onclick="window.open(this.href, '_blank'); return false;"
|
|
|
|
title="View <span class='boldest'>tvdb</span> detail for <span style='color: rgb(66, 139, 202)'>$title_html</span>">
|
2017-01-01 18:16:51 +00:00
|
|
|
<i><img style="margin-top:5px" alt="tvdb" height="16" width="16" src="$sg_root/images/$sickbeard.indexerApi($sickbeard.indexers.indexer_config.INDEXER_TVDB).config['icon']" /></i></a>
|
2015-09-24 18:19:44 +00:00
|
|
|
#end if
|
|
|
|
|
|
|
|
<div class="browse-add-show-holder">
|
2017-05-20 01:10:33 +00:00
|
|
|
#if ':' in $this_show['show_id']
|
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
|
|
|
<p style="line-height:1.5;padding:2px 5px 3px" title="#echo '%s added' % $sickbeard.indexerApi(this_show['show_id'][:1]).config.get('name')#">In library</p>
|
2015-09-24 18:19:44 +00:00
|
|
|
#else
|
2017-01-01 18:16:51 +00:00
|
|
|
<a href="$sg_root/home/addShows/add${browse_type}Show?indexer_id=${this_show['show_id']}&showName=${urllib.quote($this_show['title'].encode("utf-8"))}" class="btn btn-xs">Add Show</a>
|
2015-09-24 18:19:44 +00:00
|
|
|
#end if
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-04-12 15:34:28 +00:00
|
|
|
<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all">
|
|
|
|
#set $state = 'progress-%s0" title="%s"' % (('2', 'Upcoming'), ('8', 'Started'))[$this_show['when_past']]
|
|
|
|
<div style="width:102%" class="ui-progressbar-value ui-widget-header ui-corner-left ui-corner-right $state></div>
|
|
|
|
</div>
|
2015-09-24 18:19:44 +00:00
|
|
|
</div>
|
|
|
|
#end for
|
|
|
|
</div>
|
2017-05-20 01:10:33 +00:00
|
|
|
#if $kwargs and $kwargs.get('footnote')
|
2017-01-01 18:16:51 +00:00
|
|
|
<div style="clear:both">
|
2015-09-24 18:19:44 +00:00
|
|
|
$kwargs['footnote']
|
|
|
|
</div>
|
|
|
|
#end if
|
|
|
|
#else
|
2016-04-19 22:28:44 +00:00
|
|
|
<div class="show-card" style="width:100%; margin-top:20px; padding:20px">
|
2015-09-24 18:19:44 +00:00
|
|
|
<p class="red-text">
|
2017-05-20 01:10:33 +00:00
|
|
|
#if $kwargs and $kwargs.get('error_msg')
|
2015-09-24 18:19:44 +00:00
|
|
|
$kwargs['error_msg']
|
|
|
|
#else
|
|
|
|
$browse_type API did not return results, this can happen from time to time.
|
|
|
|
<br /><br />This view should auto refresh every 10 mins.
|
|
|
|
#end if
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
#end if
|
|
|
|
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
<!--
|
|
|
|
window.setInterval('location.reload(true)', 600000); // Refresh every 10 minutes
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
|
2017-01-01 18:16:51 +00:00
|
|
|
<script type="text/javascript" src="$sg_root/js/lazyload/lazyload.min.js?v=$sbPID"></script>
|
|
|
|
<script type="text/javascript" src="$sg_root/js/inc_bottom.js?v=$sbPID"></script>
|
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
|
|
|
#include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_bottom.tmpl')
|