View Single Post
Old 09-08-2014, 11:20 AM   #1629
embryo
Fanatic
embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.
 
embryo's Avatar
 
Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
Quote:
Originally Posted by WS64 View Post
Havn't tested it, but it should make sure that your epubs show their covers and all other files your defualt cover. You could change it also to ~="pdf" instead of =="epub"...
Thank you.
Tried both ~="pdf" and =="epub"
Suspend crashes back to KSM
Code:
./luajit: error loading module 'ui/screensaver' from file 'frontend/ui/screensaver.lua':
	frontend/ui/screensaver.lua:16: unexpected symbol near 'or'
stack traceback:
	[C]: at 0x00041881
	[C]: in function 'require'
	frontend/ui/device.lua:206: in function 'onPowerEvent'
	frontend/ui/uimanager.lua:69: in function 'handler'
	frontend/ui/uimanager.lua:430: in function 'run'
	./reader.lua:162: in main chunk
	[C]: in function 'dofile'
	./koreader-base:22: in main chunk
	[C]: at 0x0000bd85
Is it because of the 2 spaces before 'or'
or the whole 'local extension = or "")' line?

Update: It works!
Commented out the 'local extension = or "")' line.

Last edited by embryo; 09-08-2014 at 11:32 AM.
embryo is offline   Reply With Quote