View Single Post
Old 12-15-2010, 03:49 PM   #22
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by Iņigo View Post
I've just published a new release of the lua bindings.
The icons.lua script has been improved and now is able to extract covers from FB2 files and add the images to the DR global database: https://www.mobileread.com/forums/sho...0&postcount=24

cool, isn't it?

EDIT: currently, the script in the lua package updates all the files each time you run the script, which is lot of time if you have many files. I'll change the defaults to add to DB if file is not present there only and a new flag to force update.
This new version attached here fixed the mentioned issue, it will only add new files.
In fact there is a new command line flag (--force-update or -u) that overrides the new default, but as advanced function you can't specify it from gui-icons.lua script.
(Tip: you can use the RunDebug script if you need ;-)

Iņigo
Attached Files
File Type: gz icons.lua.gz (3.0 KB, 372 views)
Iņigo is offline   Reply With Quote