diff --git a/gui/slick/images/xem.png b/gui/slick/images/xem.png new file mode 100644 index 00000000..634def23 Binary files /dev/null and b/gui/slick/images/xem.png differ diff --git a/gui/slick/interfaces/default/displayShow.tmpl b/gui/slick/interfaces/default/displayShow.tmpl index 0c2d7af2..74316b3f 100644 --- a/gui/slick/interfaces/default/displayShow.tmpl +++ b/gui/slick/interfaces/default/displayShow.tmpl @@ -72,14 +72,12 @@

$show.name

+ #if not $show.imdbid ($show.startyear) - $show.runtime min #if $show.genre: - $show.genre[1:-1].replace('|',' | ') #end if - - $sickbeard.indexerApi($show.indexer).name - #else #if 'country_codes' in $show.imdb_info: #for $country in $show.imdb_info['country_codes'].split('|') @@ -89,11 +87,13 @@ #if 'year' in $show.imdb_info: ($show.imdb_info['year']) - $show.imdb_info['runtimes'] min - $show.imdb_info['genres'].replace('|',' | ') #end if - - [imdb] - $sickbeard.indexerApi($show.indexer).name - + [imdb] #end if +$sickbeard.indexerApi($show.indexer).name +#if $xem_numbering or $xem_absolute_numbering: + [xem] +#end if + #if $seasonResults: ##There is a special/season_0?## diff --git a/gui/slick/interfaces/default/manage.tmpl b/gui/slick/interfaces/default/manage.tmpl index d3936a62..1138d997 100644 --- a/gui/slick/interfaces/default/manage.tmpl +++ b/gui/slick/interfaces/default/manage.tmpl @@ -56,9 +56,12 @@ 6: { sorter: false}, 7: { sorter: false}, 8: { sorter: false}, - 9: { sorter: false} + 9: { sorter: false}, + 10: { sorter: false}, + 11: { sorter: false}, + 12: { sorter: false} #if $sickbeard.USE_SUBTITLES - , 10: { sorter: false} + , 13: { sorter: false} #end if } }); @@ -79,10 +82,11 @@ Edit
- + Show Name Quality Sports + Scene Anime Flat Folders Paused @@ -100,7 +104,7 @@ - + @@ -137,7 +141,6 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name)) -
$curShow.name #if $curShow.quality in $qualityPresets: $qualityPresetStrings[$curShow.quality] @@ -145,6 +148,7 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name)) Custom #end if \"Y\"" + \"Y\"" \"Y\"" \"Y\"" \"Y\"" @@ -155,7 +159,6 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name)) #if $sickbeard.USE_SUBTITLES: $curSubtitle #end if - $curDelete #end for diff --git a/sickbeard/dailysearcher.py b/sickbeard/dailysearcher.py index 02009a04..f7c9672b 100644 --- a/sickbeard/dailysearcher.py +++ b/sickbeard/dailysearcher.py @@ -79,11 +79,11 @@ class DailySearcher(): else: todaysEps[show].append(ep) - sql_l.append(ep.get_sql()) + sql_l.append(ep.get_sql()) - if len(sql_l) > 0: - myDB = db.DBConnection() - myDB.mass_action(sql_l) + if len(sql_l) > 0: + myDB = db.DBConnection() + myDB.mass_action(sql_l) if len(todaysEps): for show in todaysEps: diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 38a5524d..70f219f3 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -2963,7 +2963,7 @@ class Home: showObj.exceptions = scene_exceptions.get_scene_exceptions(showObj.indexerid) # Update scene numbering in DB - sickbeard.scene_numbering.xem_refresh(showObj.indexerid, showObj.indexer, True) + sickbeard.scene_numbering.xem_refresh(showObj.indexerid, showObj.indexer) myDB = db.DBConnection()