View Single Post
Old 06-21-2011, 10:48 AM   #134
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123457
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
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.
ldolse is offline   Reply With Quote