View Single Post
Old 09-27-2011, 03:06 AM   #332
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,795
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Quote:
Originally Posted by just_me View Post
Hi,

There's a feature that lots of people are asking for on the Nook Simple Touch: to set the current book's cover as a screensaver. I saw workarounds on the forums but all require manual work.

However, I was able to change the Cool Reader 3 sources to automatically do it in a very simple way (more a hack than a real feature implementation) and I thought maybe it can be properly implemented in the official release. And it seems to work ...

The approach I took was to create a directory (/media/screensavers/currentbook) and, whenever PageViewAnimation.findCoverPage is called, if a cover is found, check if a file with the same name as <book_title>.jpg is present in that directory (not to create same file each time the book is loaded, only when changing books). If not present, delete all the files in the directory and create a file with name as <book_title>.jpg and write to it the cover page bytes. It works with all the books I tried but I am not sure if it works for covers that are not jpg (if it ignores the extension and finds the right type or not).

If I want to use this feature, I just select "currentbook" as a screensaver from the Nook settings.

What do you think? Anyone interested?
Can you post your hack on the coolreader git or the russian forum as buggins is not that active on this forum I would love to have this for my nook touch.
Dopedangel is offline   Reply With Quote