calibre's catalog plugin to generate "MAGIC" catalog