Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More naming options #16

Open
Jerrk opened this issue Oct 19, 2021 · 1 comment
Open

More naming options #16

Jerrk opened this issue Oct 19, 2021 · 1 comment

Comments

@Jerrk
Copy link

Jerrk commented Oct 19, 2021

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 😁

%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 🙂 .
Maybe "%MANGA% -.- %CHAPTER% [%WEBSITE%]" like i'm already using or further delineate with -_- or something "%MANGA% -.- %CHAPTER% -_- %WEBSITE%".

Thanks 😄

@GlassedSilver
Copy link

So many peefed smilies in here. >D

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants