View Single Post
Old 07-21-2013, 04:55 AM   #209
mmjoshi
Connoisseur
mmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchforkmmjoshi can load mercury with a pitchfork
 
Posts: 96
Karma: 48406
Join Date: Jul 2013
Device: Kindle Touch
Quote:
Originally Posted by chrox View Post
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
This did not work for me. I just get a blank directory in the KOReader file manager. I am assuming I have to make this change in addition to the change to be made to the filechooser.lua

Am I missing something?

mj
mmjoshi is offline   Reply With Quote