komga: [Bug] Sub Folders Not Being Created As Series

Komga environment

  • OS: Ubuntu 18.04.3 LTS
  • Komga version: komga-0.14.1.jar
  • Java version:
    • openjdk 11.0.6 2020-01-14
    • OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
    • OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)
  • Browser (with version): Firefox 72.0.2 (64-bit)

Describe the bug

When I add a new library, it is only importing the files in the selected root folder and not created series based on the sub folders.

Steps to reproduce

  1. Add a new library with sub folders.

Expected behavior

The sub folders are added as series to the library.

Actual behavior

Only the files not in sub folders are added as one series.

Additional context

Example:

Comics/
├── Private Eye/
│   ├── Volume 1.cbz
│   └── Volume 2.cbz
└── One Shot.cbz

In this case, only One Shot is being created in a series called Comics, but the Private Eye series is not being created.

Log file

https://gist.github.com/spslater/a3962c313998872ccaf0e29e09db278d

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Actually i checked and found where it could add a follow links option, which works and doesn’t use real paths. That works with the case you mention. I’ll add a fix, check for when this issue will be released if you want to use it !

Thanks, i’ll close the issue for now then !