mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Change Display Show next/previous when show list is not split to loop around.
This commit is contained in:
parent
9d2d3cee45
commit
983f790a6e
2 changed files with 7 additions and 5 deletions
|
@ -24,6 +24,7 @@
|
|||
* Update qTip2 to v2.2.1
|
||||
* Overhaul all Add Show pages
|
||||
* Fix Display Show next/previous when show list is split
|
||||
* Change Display Show next/previous when show list is not split to loop around
|
||||
|
||||
[develop changelog]
|
||||
* Add TVRage network name standardization
|
||||
|
|
|
@ -3730,15 +3730,16 @@ class Home(MainHandler):
|
|||
t.sortedShowLists = [["Shows", sorted(shows, lambda x, y: cmp(titler(x.name), titler(y.name)))],
|
||||
["Anime", sorted(anime, lambda x, y: cmp(titler(x.name), titler(y.name)))]]
|
||||
|
||||
tvshows = []
|
||||
for tvshow_types in t.sortedShowLists:
|
||||
for tvshow in tvshow_types[1]:
|
||||
tvshows.append(tvshow.indexerid)
|
||||
t.tvshow_id_csv = ','.join(str(x) for x in tvshows)
|
||||
else:
|
||||
t.sortedShowLists = [
|
||||
["Shows", sorted(sickbeard.showList, lambda x, y: cmp(titler(x.name), titler(y.name)))]]
|
||||
|
||||
tvshows = []
|
||||
for tvshow_types in t.sortedShowLists:
|
||||
for tvshow in tvshow_types[1]:
|
||||
tvshows.append(tvshow.indexerid)
|
||||
t.tvshow_id_csv = ','.join(str(x) for x in tvshows)
|
||||
|
||||
t.bwl = None
|
||||
if showObj.is_anime:
|
||||
t.bwl = BlackAndWhiteList(showObj.indexerid)
|
||||
|
|
Loading…
Reference in a new issue