Add parsing of comicinfo.xml and CoMet.

Authored by woltherav on Sep 19 2018, 3:02 PM.



This is in the category of 'let's give people less excuse to not switch to Peruse'. This adds parsing of CoMet and ComicInfo.xml when there's no ACBF file available. Certain data, such as tags, usercomments are put into KFileMeta instead.

CoMet is an open 'standard' :

The ComicInfo.xml is the readily reverse engineered format of , and has since been used by other applications, such as ComicTagger, but also calibre plugins, etc. This one is a little bit more 'controversial' because these programs have primarily been used to order a library of proprietary comics.

I also had wanted to get in support for ComicBookInfo (, but I cannot figure out how to get the zip comment via KArchive (though Ark is able to show the relevant zip comment just file when peeking at a cbz with embedded comicbookinfo json).

I am not really interested in making writers, because it should more be a helper when moving to Peruse, and ACBF is more detailed than either.

Test Plan

I've tested ComicInfo with the output from ComicTagger, and CoMet with a file written by myself.

Diff Detail

R157 Peruse
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
woltherav requested review of this revision.Sep 19 2018, 3:02 PM
woltherav created this revision.
leinir accepted this revision.Sep 20 2018, 9:19 AM

Hmm... i have no comments to make, this is good stuff! Fire away :)

This revision is now accepted and ready to land.Sep 20 2018, 9:19 AM
This revision was automatically updated to reflect the committed changes.