Thanks for your comments @davidfor. I was fairly sure I was correct about the driver handling the collections, for pretty much the reasons you confirmed. However, I am neither competent or confident in python. I can usually roughly follow the logic of the program but that is about it. After your post mentioning Kovid's re-write I did suspect that it may be in the code under srv, but without a better understanding than I have could not be sure.
And the changes to the file under srv? It will need to be changed eventually to reflect not only the changes I suggested but to add back your own code, at least if kepub is to be supported in the new server. My thinking was that it does not need to be changed now given that the new server still seems to be in the early stages of a rewrite. Given this, I was wondering whether Kovid would welcome changes to it at this stage. Also, it does not seem to incorporate your kepub.epub code at the moment so adding kepub to the formats in one line would probably not be all that useful.
In principle, it would be nice to support all formats with a metadata writer.
|