@mirikbb: You can read the manual, look at calibre source, or do what I do: find a plugin that does what I need and "borrow" some code. I recommend just about any of kiwidude's plugins. And as you are after custom columns, then Count Pages is probably the one.
|