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] Download path customization #825

Open
264-bit opened this issue Jan 14, 2024 · 3 comments
Open

[Feature Request] Download path customization #825

264-bit opened this issue Jan 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@264-bit
Copy link

264-bit commented Jan 14, 2024

What feature should be added to Suwayomi?

Currently, Suwayomi is downloading manga to <downloadPath>/mangas/<sourceName>/<mangaName>. I would like to simplify this to just <downloadPath>/<mangaName>. It would be nice to be able to generally customize the download path.

Why/Project's Benefit/Existing Problem

Helps compatibility with existing manga libraries/manga servers like Komga/Kavita.

@264-bit 264-bit added the enhancement New feature or request label Jan 14, 2024
@Robonau
Copy link
Contributor

Robonau commented Jan 14, 2024

not likely to happen,
you should be able to have a similar effect using folder linking though

@Fefe-Hern
Copy link

Fefe-Hern commented Jan 20, 2024

Just a simple toggle or variable that removes the source directory name, while retaining the rest may suffice.
I've searched thru the Download sections of code but couldn't find anything regarding the directory. I did see DirName.kt GetMangeDir and updateMangaDownloadDir

A check for whether or not to include these dirs, either by emptying the string (and preceding slash) or an alternative path based on setting, would be great.

I'm unsure if it uses the directory pathing for anything else.

As of now, my workaround will be adding all the source groups I use as "library paths" to other systems.

@taos15
Copy link

taos15 commented Jan 21, 2024

Just a simple toggle or variable that removes the source directory name, while retaining the rest may suffice.

I've searched thru the Download sections of code but couldn't find anything regarding the directory. I did see DirName.kt GetMangeDir and updateMangaDownloadDir

A check for whether or not to include these dirs, either by emptying the string (and preceding slash) or an alternative path based on setting, would be great.

I'm unsure if it uses the directory pathing for anything else.

As of now, my workaround will be adding all the source groups I use as "library paths" to other systems.

I have the same problem. As of right now I just have a rsync with flags for update script that copy from /download/tachidesk/{source/* to /download/manga/* just use rsync /*/* as the source path, where the first * is the source directory name.

The problem with implementing that at the application level is that one will need to change a lot of logic to make sure your source remember where they files it downloaded are, if you have 2 manga from 2 different source (old source that you migrated) they probably use different naming schema and you will have a mess with duplicate chapters. This issue will be blocked by another issues that standardize manga and chapters name.

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

4 participants