12-11-2010, 01:27 PM | #1 |
Grand Sorcerer
Posts: 27,580
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Another plugin dev question
Is there any way (from within an on_import plugin) to actually 'cancel' the import of an ebook? I know I can raise an error (or return 'None'), but that just means that the original ebook will still be imported unmolested.
I'm not sure if it's even possible (or if I'm missing the obvious), but I wouldn't want it to completely abort a multiple ebook import... but rather, have the ability to say; "this particular ebook doesn't meet my requirements and should be completely skipped." Possible? |
12-11-2010, 01:40 PM | #2 |
creator of calibre
Posts: 43,948
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, it isn't.
|
Advert | |
|
12-11-2010, 01:46 PM | #3 |
Grand Sorcerer
Posts: 27,580
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Kinda figured that.
Thanks for the confirmation, though. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub plugin dev | DiapDealer | Plugins | 15 | 11-12-2010 09:36 AM |
Plugin Developer Question | KevinH | Plugins | 3 | 10-23-2010 08:17 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
Some DR800 dev questions | GregorRichards | iRex | 8 | 04-25-2010 03:01 PM |
iLiad /dev/ttyS1? | -Thomas- | iRex Developer's Corner | 0 | 05-04-2008 07:16 PM |