Skip to content

Add publication year to path and filename placeholders, and info files. - #175

Open
FibreTTP wants to merge 5 commits into
mansuf:mainfrom
FibreTTP:main
Open

FibreTTP wants to merge 5 commits into
mansuf:mainfrom
FibreTTP:main

Conversation

@FibreTTP

@FibreTTP FibreTTP commented Nov 9, 2025

Copy link
Copy Markdown

Adds half of #140.

Allows the use of {manga.year} as a placeholder in path formatting (--path) and filename formatting (--filename-<format>).

Also adds the publication year to manga info files (excl. Mihon) and ComicInfo.xml files. It is not included in the Mihon format, as a "year" key is not defined in their schema. (and I don't know if it would simply be ignored.)

Feel free to revert the ComicInfo.xml changes, since while Kavita implies that only using the year means that the year defines the release date of the series, the official schema states that the all of the year, month, and day, are used as the release date of the book (i.e., volume, chapter -- whatever the .cbz file contains). (the year returned by MangaDex is of the series.) Waiting for confirmation here: anansi-project/comicinfo#18

Note: This doesn't yet add year metadata to EPUB files.

Edit: Doesn't currently make sense to add publication year to book file metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant