From 5888773c955280f874faefd5d1768d80e3e3104d Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Fri, 7 Nov 2014 22:08:03 +0100 Subject: [PATCH] Try to fetch next page if loading a new catalog resulted in a single page --- frontend/ui/widget/opdsbrowser.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/ui/widget/opdsbrowser.lua b/frontend/ui/widget/opdsbrowser.lua index c48c196ae..54c3596fa 100644 --- a/frontend/ui/widget/opdsbrowser.lua +++ b/frontend/ui/widget/opdsbrowser.lua @@ -375,6 +375,9 @@ function OPDSBrowser:updateCatalog(url, baseurl) if #menu_table > 0 then --DEBUG("menu table", menu_table) self:swithItemTable(nil, menu_table) + if self.page_num <= 1 then + self:onNext() + end return true end end