metafates / mangal

📖 The most advanced (yet simple) cli manga downloader in the entire universe! Lua scrapers, export formats, anilist integration, fancy TUI and more!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow updating metadata of already downloaded files

oae opened this issue · comments

Feature Description

Is it possible to add a command to update ComicInfo.xml, series.json, and cover.jpg of already downloaded files?

Solution you would like

No response

Alternatives you have considered

No response

Additional context

We can already update metadata for future chapters with the new anilist command but it doesn't update already downloaded files

commented

Hello! In theory - yes, it's possible. But updating ComicInfo.xml requires much more work than cover or series.json. I'll try to do my best

commented

Okaay, it was was not easy indeed, but in the end looks like everything works smoothly.

The command will be

mangal inline anilist update --path <manga directory>

It will update ComicInfo.xml of each CBZ file, download new cover and update series.json 🥳