From 8bce54a6a0d1b35f8a5e713e047e8484ce5eed4b Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Sat, 8 Nov 2014 09:19:29 +0100 Subject: [PATCH] Ignore OPDS links with unknown rel values. --- frontend/ui/widget/opdsbrowser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/widget/opdsbrowser.lua b/frontend/ui/widget/opdsbrowser.lua index 54c3596fa..f22ccaa2a 100644 --- a/frontend/ui/widget/opdsbrowser.lua +++ b/frontend/ui/widget/opdsbrowser.lua @@ -329,7 +329,7 @@ function OPDSBrowser:genItemTableFromURL(item_url, base_url) item.acquisitions = {} if entry.link then for i, link in ipairs(entry.link) do - if link.type:find(self.catalog_type) then + if link.type:find(self.catalog_type) and not link.rel then item.url = build_href(link.href) end if link.rel and link.rel:match(self.acquisition_rel) then