Merge pull request #111 from thomabx/pager-fix

Added pager support tot tvshows
This commit is contained in:
Nick Bisby 2020-02-15 12:15:17 -06:00 committed by GitHub
commit 922e7e5ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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
end sub

View File

@ -231,6 +231,7 @@ function CreateSeriesListGroup(library)
group.appendChild(p)
group.pageNumber = 1
p.currentPage = group.pageNumber
SeriesLister(group, m.page_size)
return group