Quote:
Originally Posted by tompe
This was annoying. I will fix this buggy behaviour. I have just added a flag to add an author so I can test deleting authors...
|
It was a bit bloody, but if there are multiple Author headers, how do you know which one to delete with --delexthtype? There's probably no way to do this cleanly.
It looks like it operates on the first Author header, but it doesn't delete the header, but rather replaces the data with a null string. It might be clearer if it did delete it.
But if it's the second Author header that you're trying to get rid of, then you likely have to delete both of them and then re-add the first one.
Perhaps you could use --delexthtype Author --exthdata "BadAuthor" that would tell it to delete only a header with that particular data.
MobileReference seems to have figured out the error of their ways, as their most recent e-books have only contained a single author header. But older ones have included the editor(s), the translator(s), "MobileReference", and "mobi" as Authors. One had 5 author headers!