komf icon indicating copy to clipboard operation
komf copied to clipboard

[Feature Request] OPF Metadata Update Mode for EPUB files

Open LazyGeniusMan opened this issue 2 years ago • 1 comments

Light Novel support has been added since v0.19.0 and stabilized in v0.20.0, but currently it's only target API to update the metadata. One of file format usually used for light novel is EPUB, which store metadata in OPF file inside the EPUB archive.

It would be nice if it's also possible to write metadata into the OPF file directly similar to how we can write metadata into ComicInfo file in CBZ files.

Something to keep in mind is that EPUB 2 and EPUB 3 have a bit different way to store certain metadata^1.

LazyGeniusMan avatar Feb 08 '23 17:02 LazyGeniusMan

This has been discussed on discord but I'll also write it in this issue.

So far the OPF mode seems working fine with some notes:

  1. Eventhough orderBooks is set to true, currently it's not being used to set series index in OPF mode.
  2. OPF mode option in komf-userscript has not been added.

LazyGeniusMan avatar Feb 22 '23 03:02 LazyGeniusMan