Ignore OPDS links with unknown rel values.

This commit is contained in:
Andrey Golovizin
2014-11-08 09:19:29 +01:00
parent 74db44c61b
commit 8bce54a6a0

View File

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