View Single Post
Old 01-26-2015, 10:04 AM   #17
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,649
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by BetterRed View Post
thinking aloud: be better if it was in a PI so the rest of can enjoy the fruits of your labour. Maybe add books preferences could have a hook to a PI that if not null it could get a call after book is added, but before its deleted from the autoadd folder, if that's in play.

BR
I think a way to do it would be something like "tools", a FileTypePlugin plugin, with onPostImport = True (so you already has the database entry to add the file to the column), and you get the File path and the database id. Perhaps this could be a project for forgetting my sad bureaucratic work ;( I'll tell you if I get something, if you're interested.
Terisa de morgan is offline   Reply With Quote