Filesearcher: add search in book metadata (#10198)

This commit is contained in:
hius07
2023-03-28 16:16:53 +03:00
committed by GitHub
parent df9c2bcb7f
commit 4d26650ad6
8 changed files with 539 additions and 472 deletions

View File

@@ -668,4 +668,15 @@ function CoverBrowser:setupCollectionDisplayMode(display_mode)
end
end
function CoverBrowser:getBookInfo(file)
return BookInfoManager:getBookInfo(file)
end
function CoverBrowser:extractBooksInDirectory(path)
local Trapper = require("ui/trapper")
Trapper:wrap(function()
BookInfoManager:extractBooksInDirectory(path)
end)
end
return CoverBrowser