I've made the change to scan the last two files of non-PDF books in reverse (if the book has more than two pages). As you say it is a lottery, but I know it is common to put ISBN at the back of the book so sometimes you will get lucky.
I'm making some other changes regarding logging which will be dependent on the next Calibre release, so I won't release it until Friday.
|