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

Feature request: Custom naming scheme #92

Open
lramirez925 opened this issue Dec 19, 2023 · 7 comments
Open

Feature request: Custom naming scheme #92

lramirez925 opened this issue Dec 19, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@lramirez925
Copy link

Anyway we can do custom naming schemas? Would really like to organize files into a sub folder.
Instead of {mangaFolder}/{manganame}/{generated name}.cbz

Would be nice to use some of the metadata available to put them into a sub folder such as {mangaFolder}/{provider}/{publisher/scanlation}/{mangaName}/{fileNamedByTemplate}.cbz

@C9Glax C9Glax added the enhancement New feature or request label Dec 20, 2023
@C9Glax
Copy link
Owner

C9Glax commented Dec 20, 2023

Definitely a good idea!
Komga would definitely work this way too, but Kavita is a bit weird in regards to Folder-structure and Filenames.
https://wiki.kavitareader.com/en/guides/managing-your-files/scanner#file-layout
https://wiki.kavitareader.com/en/guides/managing-your-files/manga

@lramirez925
Copy link
Author

Yea I definitely have my troubles with kavitas system for how it needs organized at the file system level. But I do prefer to keep my files a bit more organized with more sub folders. I appreciate the acceptance of the feature

@db-2001
Copy link
Collaborator

db-2001 commented Dec 22, 2023

I think the API side is already ready for custom save locations and I plan to implement this on the website side soon(TM) so at the very least this could be done manually, but I agree it would be a little tiresome to do for each manga. One potential roadblock I see is that not all sites have a publisher/scanlation so there would need to be some sort of fallback if one of the fields can't be determined.

@lramirez925
Copy link
Author

Can you point to documentation for the api to do this? I am already writing my own UI to encompass a bunch of things I need to do with my collection that the various tools fall short of. And was planning to just include job info on my front end vs using the tranga site itself.

@db-2001
Copy link
Collaborator

db-2001 commented Dec 31, 2023

Sorry for the late reply, there isn't any documentation as such but if you find the piece of code that relates to adding a new manga to your library for the first time, there is a field which let's you specify the folder. Glax has done a good job keeping all the code readable so while even I'm not familiar with C# I can figure out what stuff does most of the time.

@C9Glax
Copy link
Owner

C9Glax commented Dec 31, 2023

Look at this file: here
It has all the API-calls available.
For custom folders you probably want this

@C9Glax
Copy link
Owner

C9Glax commented Aug 17, 2024

Probably gonna be related: #220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants