Quote:
Originally Posted by mmjoshi
This works perfectly when the pdf files are in the documents folder. However, when I add pdf files through Calibre, they typically get added in a subdirectory. In that case this code does not work. Can this code be modified for such an scenario? Ideally I would like to put all my pdf, epub, djvu files in a single folder say "Non Kindle Formats" from where KOReader can pick them up.
I use a Kindle Touch.
mj
|
How about changing this in koreader/reader.lua at around line 164:
Code:
file_filter = function(filename)
if DocumentRegistry:getProvider(filename) then
return true
end
end
into this:
Code:
file_filter = function(filename)
if filename:match("%.pdf$") or filename:match("%.epub$")
or filename:match("%.djvu$") then
return true
end
end