From 42149579c4eb3bf87b423b7f44a2a85635c2992a Mon Sep 17 00:00:00 2001 From: benjamin Date: Sat, 15 Feb 2020 09:56:56 -0800 Subject: [PATCH] Added pager support ot tvshows --- source/Main.brs | 4 +++- source/ShowScenes.brs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Main.brs b/source/Main.brs index e3aab600..5b24bd13 100644 --- a/source/Main.brs +++ b/source/Main.brs @@ -175,6 +175,8 @@ sub Main() MovieLister(group, m.page_size) else if group.library.type = "boxsets" CollectionLister(group, m.page_size) + else if group.library.type = "tvshows" + SeriesLister(group, m.page_size) end if ' TODO - abstract away the "picker" node group.findNode("picker").setFocus(true) @@ -317,4 +319,4 @@ sub wipe_groups() while(m.scene.getChildCount() > 1) m.scene.removeChildIndex(1) end while -end sub \ No newline at end of file +end sub diff --git a/source/ShowScenes.brs b/source/ShowScenes.brs index a9cbdbed..59057502 100644 --- a/source/ShowScenes.brs +++ b/source/ShowScenes.brs @@ -231,6 +231,7 @@ function CreateSeriesListGroup(library) group.appendChild(p) group.pageNumber = 1 + p.currentPage = group.pageNumber SeriesLister(group, m.page_size) return group