mihonapp / mihon

Free and open source manga reader for Android
Apache License 2.0
9.24k stars 407 forks source link

Read chapter metadata from ComicInfo.xml inside archive/folder #100

Open andreltrigo opened 8 months ago

andreltrigo commented 8 months ago

Describe your suggested feature

Since the app already supports ComicInfo.xml files for series metadata, why not also support chapter metadata? It could search for a ComicInfo.xml file inside each chapter archive/folder and use the value of keys such as Title and Number for that chapter.

Other details

No response

Acknowledgements

MajorTanya commented 8 months ago

What benefit would that bring to Mihon? Like, what is your use case for this?

andreltrigo commented 8 months ago

Like I said on #77, there are some characters (":?) that can't be used because of filesystem restrictions. I also think it'd be useful to change the chapter title without having to rename the archives/folders.

BrutuZ commented 2 weeks ago

this feature is very important

downloaded manga automatically create ComicInfo.xml metadata files, but to use the metadata on local source you have to manually move the ComicInfo.xml outside the chapter folder

the way app read the metadata location for local source need to be changed

Metadata for the main entry coming from a in-app download is not the best argument honestly. You're already moving the chapters, copy one's ComicInfo.xml to the parent folder and done, just one step to avoid having to program ways to deal with recursing trough all chapter folders/archives and duplicate metadata fields

BrutuZ commented 2 weeks ago

my suggestions doesnt include the app to scan archive or all subfolder! i know thats too complicated,

Of course it does, you even literally say so in the next sentence!

i just want the app to scan chapter folder the way it scan the parent folder

Chapters ARE subfolders / archives (.cbz) under the main entry's folder