View Single Post
Old 11-02-2011, 10:29 AM   #6
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by chaley View Post
You are correct. Calibre's internal scripting (the template language) operates on a book-by-book basis. There is no way to operate on a set of books.

You can, of course, do this by writing a plugin. Plugins can do more-or-less anything to any group of books.
Templates operate book-by-book, as do searches. You can't do things like "Find the book in each series that has the most tags" as that requires comparing book to book. (Although you can count tags and sort, etc.)

I just wasn't sure if there was already a plugin that might be adapted in some way, or if not, if someone might have written/posted some code that could be executed calibre-debug with the "-e" or "-c" options that might do this or at least some part of it.
Starson17 is offline   Reply With Quote