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

Add multiple folders for library #1463

Open
4 tasks done
plato79 opened this issue Apr 5, 2024 · 7 comments
Open
4 tasks done

Add multiple folders for library #1463

plato79 opened this issue Apr 5, 2024 · 7 comments
Labels
consider Not sure yet if this makes sense or not

Comments

@plato79
Copy link

plato79 commented Apr 5, 2024

Describe your suggested feature

Currently Komga only supports one folder per library. Is it possible to extend this to scan multiple folders per library? Like Plex does?

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.
@plato79 plato79 added the triage label Apr 5, 2024
@gotson
Copy link
Owner

gotson commented Apr 15, 2024

What's the use case?

@plato79
Copy link
Author

plato79 commented Apr 15, 2024

I have multiple folders ( from different disks ) where I keep the Mangas. I have to create separate libraries for these right now. Though they all have same configuration ( for Manga ) so I want to keep it as simple as possible.

@gotson
Copy link
Owner

gotson commented Apr 15, 2024

If you are using Docker you could mount them all under the same directory.

@gotson gotson added consider Not sure yet if this makes sense or not and removed triage labels Apr 15, 2024
@plato79
Copy link
Author

plato79 commented Apr 15, 2024

Though it would be like this then:

/data/Manga/1 ( from disk1 )
/data/Manga/2 ( from disk2 )

Do you suggest then configure library for "/data/Manga" ? Will it successfully scan all the subfolders on both folders?

@gotson
Copy link
Owner

gotson commented Apr 15, 2024

Do you suggest then configure library for "/data/Manga" ? Will it successfully scan all the subfolders on both folders?

yes, that should work

@plato79
Copy link
Author

plato79 commented Apr 15, 2024

Ugh. That means now I have to change folder structure and that means it'll scan those folders again and it'll take ages ( there are LOTS of manga in my folders ).

You don't suppose there's an easy way to modify folder names of the scanned titles are there ( other than directly via sqlite3 )?

If I have to do it that way, could you suggest which SQL queries I have to run to update folder from "/data/Manga/...." to "/data/Manga/1/...."

@gotson
Copy link
Owner

gotson commented Apr 15, 2024

Ugh. That means now I have to change folder structure and that means it'll scan those folders again and it'll take ages ( there are LOTS of manga in my folders ).

if you have file hash enabled it should work

You don't suppose there's an easy way to modify folder names of the scanned titles are there ( other than directly via sqlite3 )?

there's no way to do that, except in DB, which is not supported, so to be done at your own risks

If I have to do it that way, could you suggest which SQL queries I have to run to update folder from "/data/Manga/...." to "/data/Manga/1/...."

i don't have time to look into what queries would be required, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consider Not sure yet if this makes sense or not
Projects
None yet
Development

No branches or pull requests

2 participants