stump icon indicating copy to clipboard operation
stump copied to clipboard

[FEATURE] Metadata-only library

Open aaronleopold opened this issue 11 months ago • 3 comments

Is your feature request related to a problem? Please describe.

A library that ignores the underlying folder structure and instead uses metadata to construct itself and its series

Additional context

Originally discussed in https://github.com/stumpapp/stump/issues/254

aaronleopold avatar Mar 09 '24 21:03 aaronleopold

Is this feature only using metadata information to build a database? I have a habit of organizing manga series into a folder and creating metadata files (such as info.toml files) in this folder. Can this feature be directly read and converted into metadata?

By the way, is there a plan to support metadata plugins? I am currently using LANraragi, which is very convenient for obtaining e-hentai metadata, but has poor support for comic series.

vuhe avatar Jul 19 '24 01:07 vuhe

Is this feature only using metadata information to build a database?

Basically, yep! That is the idea for the feature.

I have a habit of organizing manga series into a folder and creating metadata files (such as info.toml files) in this folder. Can this feature be directly read and converted into metadata?

Stump doesn't currently support toml metadata files, but you're welcome to create a feature request for it. If the schema deviates from what is typically found in EPUBs or ComicInfo.xml files, please outline it if you're able to or provide a link to an example.

By the way, is there a plan to support metadata plugins? I am currently using LANraragi, which is very convenient for obtaining e-hentai metadata, but has poor support for comic series.

This is trickier to answer. I'm not familiar with LANraragi and am not by a computer atm, but in general a plugin system would not be trivial to implement. That's assuming it needs to function as a plugin, and not some other service that just runs in parallel operating on metadata within your library.

Feel free to create a separate issue for that request and I can try to dedicate a little time to at least look into it.

aaronleopold avatar Jul 19 '24 02:07 aaronleopold

Thank you for your reply.

I use info.toml to place metadata information in order to unify the writing of all ComicInfo.xml in the folder, because for webtoon, all information is the same except for the number of episodes, and it is very time-consuming and difficult to manage to unify the writing.

For libraries, it is possible to import metadata information by reading series.json files created by Mylar or special metadata files for Stump, which is useful for libraries that do not want to create a fixed file structure.

The existing metadata specification file cannot automatically set the vertical continuity of webtoon, so creating a Stump metadata file specification may be useful, or some fields can be extended on the basis of series.json.

vuhe avatar Jul 19 '24 07:07 vuhe