gotson / komga

Media server for comics/mangas/BDs/magazines/eBooks with API, OPDS and Kobo Sync support
https://komga.org
MIT License
4.01k stars 236 forks source link

Open discussion around various metadata containers #135

Closed gotson closed 4 years ago

gotson commented 4 years ago

Following discussions in #82, this issue is to gather information about the different metadata containers, along with their limitations.

This issue is not about which metadata container to use in Komga, which has its own internal model stored in database. It's a reflexion and thought process about the overall universe of metadata for comics.

Having a single standard would obviously be beneficial, with some caveats:

Nevertheless, it doesn't hurt to summarize the market offerings along with their limitations and adoption.


Existing formats:

jevcleem commented 4 years ago

I've been reading about metadata being stored in the zip comment (Source: https://wiki.mobileread.com/wiki/CBR_and_CBZ#Metadata). Apparently it's not a common practice but this would have some benefits imo. The zip comment is an uncompressed section of the file such that unzipping is not necessary to change it. I think writing a json object to the comment section of the zip file would be easy to implement and computationally efficient. Positives:

Negatives:

Other suggestions:

gotson commented 4 years ago

Thanks for the input. You are mentioning 2 things here:

Those 2 aspects are important, but to me the most important one is about the content, or semantics, ie what can you represent with those formats. 2 mentioned above already are not exhaustive enough to represent the information accurately.

I think I should start to gather data about what a complete model would look like for comics, and compare it to the existing formats to see the gaps.

theotocopulitos commented 4 years ago

I've read other threads on this topic, and know about your thoughts regarding comicinfo.xml . But having been around this world even before Comicrack became a reality, I was the author of the first comicvine scrapper implented in Comicrack, I would like to add some thoughts for you to ponder:

Many efforts were made to find a better replacement for comicinfo.xml, so far, without any success. I guess not all of them were backed by a code as functional and polished as yours,,, So this might be the place to tackle such endeavor...

So, I get your points: comicinfo is far from optimum, you are exposing an API that would allow to get the info to anyone and deal it however we like... but in the interim, while a better option is created, I feel full support to read/write comicinfo would be most welcome by the community,

gotson commented 4 years ago

This issue is not much to talk about reading or writing from those formats, but more to discuss the formats themselves.

As for comicinfo.xml, Komga can already read it (#54). Writing is logged under #82.

gotson commented 4 years ago

Closing in favor of https://github.com/anansi-project/rfcs