Ah, good, sorry about that - I completely forgot to read the rest of the leftover code after I got my test cases working.
I'm thinking to use the configured prefs to decide what to discard/rewrite/flag in quality check, but right now I'm struggling a bit trying to figure out how to read Calibre's prefs. When I've done it before I was able to get it as a conversion option, or calling self.prefs in a metadata plugin, but doesn't seem like those are options here. What needs to happen to be able to look up a pref?
edit: I figured out how to get the user prefs using load_defaults, all good there.
Last edited by ldolse; 06-21-2011 at 12:10 PM.
|