mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2025-02-24 17:01:03 +00:00
Fix paging in libraries
This commit is contained in:
parent
9c639ba005
commit
f77a662dfb
@ -9,7 +9,7 @@
|
||||
<field id="collectionSelected" alias="picker.itemSelected" />
|
||||
<field id="objects" alias="picker.objects" />
|
||||
<field id="pageNumber" type="integer" />
|
||||
<field id="library" type="node" />
|
||||
<field id="library" type="associativeArray" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="scene.brs" />
|
||||
</component>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<field id="movieSelected" alias="picker.itemSelected" />
|
||||
<field id="objects" alias="picker.objects" />
|
||||
<field id="pageNumber" type="integer" />
|
||||
<field id="library" type="node" />
|
||||
<field id="library" type="associativeArray" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="scene.brs" />
|
||||
</component>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<field id="seriesSelected" alias="picker.itemSelected" />
|
||||
<field id="objects" alias="picker.objects" />
|
||||
<field id="pageNumber" type="integer" />
|
||||
<field id="library" type="node" />
|
||||
<field id="library" type="associativeArray" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="scene.brs" />
|
||||
</component>
|
||||
|
@ -239,11 +239,11 @@ sub Main()
|
||||
group.pageNumber = msg.getRoSGNode().pageSelected
|
||||
if group.library = invalid
|
||||
' Cover this case first to avoid "invalid.type" calls
|
||||
else if group.library.type = "movies"
|
||||
else if group.library.CollectionType = "movies"
|
||||
MovieLister(group, m.page_size)
|
||||
else if group.library.type = "boxsets"
|
||||
else if group.library.CollectionType = "boxsets"
|
||||
CollectionLister(group, m.page_size)
|
||||
else if group.library.type = "tvshows"
|
||||
else if group.library.CollectionType = "tvshows"
|
||||
SeriesLister(group, m.page_size)
|
||||
end if
|
||||
' TODO - abstract away the "picker" node
|
||||
|
Loading…
x
Reference in New Issue
Block a user