MangaManagerORG / Manga-Tagger

The only tool you'll need to rename and write metadata to your digital manga library.
MIT License
31 stars 3 forks source link

More naming options #16

Open Jerrk opened 3 years ago

Jerrk commented 3 years ago

I think it would be nice if we could get more naming options for the destination file and folder.

for instance this manga im downloading from leviatanscans is downloaded as the naming convention "%MANGA% -.- %CHAPTER% [%WEBSITE%]" in an auto generated folder %MANGA%.

Which turns into "The Second Coming of Gluttony/The Second Coming of Gluttony -.- Chapter 000 [leviatanscans]"

when manga tagger picks it up and runs it through the metadata from anilist it gets turned into "Tamsigui Jaerim/Tamsigui Jaerim 000"

when i actually want it like "The Second Coming of Gluttony (2019) [114198]/Chapter 000 [leviatanscans]" in the convention like %MANGA:english% (%YEAR%) [%ANILISTID%]/%CHAPTER% [%WEBSITE%]

The logic is as follows: %MANGA:english|romaji|native% - Gives if available the english|romaji|native name from the anilist api. If english|romaji|native is unavailable either default to romaji, give a variable to fallback on, or give us an option in the exceptions.json to force the desired destination name.

%YEAR% - Outputs the year that is already in the ComicInfo.xml file. Useful if theres manga with the same name but different years i.e Overgeared 2020 and Overgeared 2014

%ANILISTID% - Outputs the anilist ID that is usually available in the URL. this is more of a personal preference but if two different manga have the same title and year (though i'm not aware of one at this moment) this could further differentiate between them.

%CHAPTER% - is the numbering and if available the title of said chapter. usecase seems pretty obvious :grin:

%WEBSITE% - the source website or "scanlator" useful for differentiating between versions of the same chapter from multiple sources.

I realize since your docker version is not tethered to FMD2 so it might be difficult to get the %WEBSITE% info explicitly, but you could perhaps designate a specific naming convention like you already do :slightly_smilingface: . Maybe "%MANGA% -.- %CHAPTER% [%WEBSITE%]" like i'm already using or further delineate with `--or something "%MANGA% -.- %CHAPTER%-_-` %WEBSITE%".

Thanks :smile:

GlassedSilver commented 2 years ago

So many peefed smilies in here. >D

But I agree, this would indeed be a welcome feature.