From 41a0cea90a792da0ac9a088019fb9928e1f9c598 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Wed, 5 Sep 2018 15:15:08 +0100 Subject: [PATCH] Fix getting XEM absolute numbers for show. Fix IMDb info load for redirected ids. Fix flags on displayShow (under Linux). --- gui/slick/interfaces/default/displayShow.tmpl | 2 +- .../interfaces/default/inc_displayShow.tmpl | 1 + sickbeard/scene_numbering.py | 19 +++++++------- sickbeard/tv.py | 26 ++++++++++++++++--- 4 files changed, 35 insertions(+), 13 deletions(-) diff --git a/gui/slick/interfaces/default/displayShow.tmpl b/gui/slick/interfaces/default/displayShow.tmpl index 23cde60a..d28eb872 100644 --- a/gui/slick/interfaces/default/displayShow.tmpl +++ b/gui/slick/interfaces/default/displayShow.tmpl @@ -233,7 +233,7 @@ #echo ($startyear, 'Unknown')[None is $startyear]# #if $flags #for $country in $show.imdb_info['country_codes'].split('|') - + #end for #end if diff --git a/gui/slick/interfaces/default/inc_displayShow.tmpl b/gui/slick/interfaces/default/inc_displayShow.tmpl index 6a2aebc9..1e50ae12 100644 --- a/gui/slick/interfaces/default/inc_displayShow.tmpl +++ b/gui/slick/interfaces/default/inc_displayShow.tmpl @@ -65,6 +65,7 @@ style="padding:0; text-align:center; max-width:60px"> #elif $scene_anime + ## todo: $xem_absolute_numbering[$ep['absolute_number']] is tuple key: $xem_absolute_numbering[($ep['season'], $ep['episode'])] #set $dfltAbsolute = 0 if $ep['absolute_number'] not in $xem_absolute_numbering else $xem_absolute_numbering[$ep['absolute_number']]