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

How do I split a series with a number in the title into multiple volumes? #3465

Open
Nolonar opened this issue Dec 19, 2024 · 0 comments
Open
Labels
needs-triage Needs to be triaged by a developer and assigned a release

Comments

@Nolonar
Copy link

Nolonar commented Dec 19, 2024

What happened?

I've got a bunch of series with a number in the title, which cause trouble when I'm trying to split them into volumes.

In some cases, there are no volumes, so I put a directory named "c1", "c2", etc. in the series folder, which appears to work perfectly. For instance:

Series 2077
  - c1
    - 001.png
    - 002.png

  - c2
    - 001.png
    - 002.png

"Series 2077" is recognized correctly and the files are assigned to the correct chapter.

However, this doesn't work with volumes. In the above example, if I replace c1 and c2 with v1 and v2, then "Series 2077" is no longer recognized as a series, and v1 and v2 become their own series instead.

The same also applies if I try to further subdivide the series into volumes and chapters. For instance:

Series 2077
  - v1
    - c1
      - 001.png
      - 002.png

    - c2
      - 001.png
      - 002.png

  - v2
    - c1
      - 001.png
      - 002.png

    - c2
      - 001.png
      - 002.png

In this case, it's c1 and c2 that become their own series.

I also tried to flatten the hierarchy:

Series 2077
  - v1 c1
    - 001.png
    - 002.png

  - v1 c2
    - 001.png
    - 002.png

  - v2 c1
    - 001.png
    - 002.png

  - v2 c2
    - 001.png
    - 002.png

Here, "v1 c1", "v1 c2", "v2 c1", and "v2 c2" were recognized as their own series instead of "Series 2077".

I also tried to duplicate the series name for the volume folders:

Series 2077
  - Series 2077 v1
    - c1
      - 001.png
      - 002.png

    - c2
      - 001.png
      - 002.png

  - Series 2077 v2
    - c1
      - 001.png
      - 002.png

    - c2
      - 001.png
      - 002.png

With c1 and c2 becoming their own series again.

Unfortunately, I couldn't find anything useful on the Kavita Wiki. Maybe I'm just looking in the wrong places. I even tried naming my folders "Volume 1", "Volume 2", "Chapter 1", and "Chapter 2" as seen in Library Scanne/Images (my library type is set to "Images"), but with the same results as with v1/v2 and c1/c2, except now the series is named "Chapter 1" instead of "c1".

As a last resort, I tried to manually change the name of the series to have them match the actual series, hoping that Kavita will merge them into a single series, but the series name is read-only. I also tried setting the Sort Name and Localized Name instead, but that only changed how the series is sorted, not how it's detected.

Exactly how am I supposed to deal with this? Is there no way to override scanning results for specific folders for when the scanner fails?

What did you expect?

I'd like to be able to split a series into volumes even if the series has a number in the title.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.4.2 - Stable

What operating system is Kavita being hosted from?

Docker (Dockerhub Container)

If the issue is being seen on Desktop, what OS are you running where you see the issue?

None

If the issue is being seen in the UI, what browsers are you seeing the problem on?

No response

If the issue is being seen on Mobile, what OS are you running where you see the issue?

None

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

No response

Relevant log output

[Kavita] [2024-12-19 18:06:15.857 +00:00  41] [Information] API.Services.Tasks.ScannerService [ScannerService] Beginning file scan on Test
[Kavita] [2024-12-19 18:06:21.499 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library Test Step 1: Scan & Parse Files
[Kavita] [2024-12-19 18:06:21.609 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library Test Step 1.A: Process 1 folders
[Kavita] [2024-12-19 18:06:21.648 +00:00  41] [Debug] API.Services.Tasks.ScannerService 	[ScannerService] Library Test Step 1.B: Scan files in /comics/Test
[Kavita] [2024-12-19 18:06:21.741 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Step 1.C Found 8 directories to process for /comics/Test
[Kavita] [2024-12-19 18:06:21.744 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ProcessFiles] Performing full scan on /comics/Test/Series 2077/v1/c1
[Kavita] [2024-12-19 18:06:21.759 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ProcessFiles] Performing full scan on /comics/Test/Series 2077/v1/c2
[Kavita] [2024-12-19 18:06:21.766 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ProcessFiles] Performing full scan on /comics/Test/Series 2077/v1/c3
[Kavita] [2024-12-19 18:06:21.773 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ProcessFiles] Performing full scan on /comics/Test/Series 2077/v2/c4
[Kavita] [2024-12-19 18:06:21.780 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ProcessFiles] Performing full scan on /comics/Test/Series 2077/v2/c5
[Kavita] [2024-12-19 18:06:21.795 +00:00  41] [Debug] API.Services.Tasks.ScannerService 	[ScannerService] Library Test Step 1.C: Process files in /comics/Test
[Kavita] [2024-12-19 18:06:21.800 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 40 files for /comics/Test/Series 2077/v1/c1
[Kavita] [2024-12-19 18:06:22.889 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 34 files for /comics/Test/Series 2077/v1/c2
[Kavita] [2024-12-19 18:06:22.915 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 46 files for /comics/Test/Series 2077/v1/c3
[Kavita] [2024-12-19 18:06:22.949 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 30 files for /comics/Test/Series 2077/v2/c4
[Kavita] [2024-12-19 18:06:22.966 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 22 files for /comics/Test/Series 2077/v2/c5
[Kavita] [2024-12-19 18:06:22.979 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 1 files for /comics/Test/Series 2077
[Kavita] [2024-12-19 18:06:22.980 +00:00  41] [Debug] API.Services.Tasks.ScannerService 	[ScannerService] Library Test Step 1.D: Merge any localized series with series /comics/Test
[Kavita] [2024-12-19 18:06:22.989 +00:00  41] [Debug] API.Services.Tasks.ScannerService 	[ScannerService] Library Test Step 1.E: Group all parsed data into logical Series
[Kavita] [2024-12-19 18:06:23.007 +00:00  41] [Debug] API.Services.Tasks.ScannerService 	[ScannerService] Library Test Step 1.F: Generate Sort Order for Series and Finalize
[Kavita] [2024-12-19 18:06:23.052 +00:00  41] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library Test Step 2: Process and Update Database
[Kavita] [2024-12-19 18:06:23.065 +00:00  41] [Information] API.Services.Tasks.ScannerService [ScannerService] Attempting to pre-save all Genres
[Kavita] [2024-12-19 18:06:23.112 +00:00  41] [Information] API.Services.Tasks.ScannerService [ScannerService] Attempting to pre-save all Tags
[Kavita] [2024-12-19 18:06:23.124 +00:00  41] [Information] API.Services.Tasks.ScannerService [ScannerService] Found 6 Series that need processing in 1610 ms

Additional Notes

No response

@Nolonar Nolonar added the needs-triage Needs to be triaged by a developer and assigned a release label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release
Projects
None yet
Development

No branches or pull requests

1 participant