From 64d00b29691ece4cc83899bc8f9dc645eae4bd9d Mon Sep 17 00:00:00 2001 From: Yann Muller Date: Thu, 18 Oct 2018 19:12:30 +0100 Subject: [PATCH] [UX] Display the author in OPDS catalogs. (#4278) --- frontend/ui/widget/opdsbrowser.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/ui/widget/opdsbrowser.lua b/frontend/ui/widget/opdsbrowser.lua index 5a973bf98..8bb11ce7b 100644 --- a/frontend/ui/widget/opdsbrowser.lua +++ b/frontend/ui/widget/opdsbrowser.lua @@ -404,11 +404,12 @@ function OPDSBrowser:genItemTableFromCatalog(catalog, item_url, username, passwo if title == "Unknown" then logger.info("Cannot handle title", entry.title) end + item.text = title local author = "Unknown Author" if type(entry.author) == "table" and entry.author.name then author = entry.author.name + item.text = title .. "\n" .. author end - item.text = title item.title = title item.author = author item.id = entry.id