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

Changeable File Paths #20

Closed
DaveAlton opened this issue May 25, 2023 · 11 comments
Closed

Changeable File Paths #20

DaveAlton opened this issue May 25, 2023 · 11 comments
Labels
enhancement New feature or request

Comments

@DaveAlton
Copy link

DaveAlton commented May 25, 2023

Is your feature request related to a problem? Please describe.
Yes, I can't name my folders anything I'd like. For Star Wars comics, I remove the "Star Wars" prefix from the volume name because they all have that prefix so it's pointless to include.

Describe the solution you'd like
Use the Sonarr/Radarr way of folder setting. Allow me to just select a file path.

Additional info
Only flat folder structures are supported. If I want to store any set of volumes inside a folder, I have to create a whole new root folder for it.
Because of all the above reasons I can only use Kapowarr for some or my comics and not all.

@DaveAlton DaveAlton added the enhancement New feature or request label May 25, 2023
@Berserkir-Wolf
Copy link
Collaborator

That's doable.
Volume folder naming: {series_name}
File naming: Volume {volume_number} ({year})\Issue {issue_number}
This would result in a Star Wars folder, with files being in volume subfolders by year, ending like this:
Star Wars\Volume 2 (2003)\Issue 127.cbz

@DaveAlton
Copy link
Author

DaveAlton commented May 25, 2023

The catch is that each volume needs to be different. I want the ability to have a folder with:

Star Wars/Star Wars (2015)/Star Wars 001 (2015)

Star Wars/Star Wars (2020)/Star Wars 001 (2020)

Star Wars/The High Republic (2015)/Star Wars The High Republic 001 (2020)

The catch is that the last instance is technically named "Star Wars The High Republic". I want to change "series_name".

@Casvt
Copy link
Owner

Casvt commented May 25, 2023

That's doable.
Volume folder naming: {series_name}
File naming: Volume {volume_number} ({year})\Issue {issue_number}
This would result in a Star Wars folder, with files being in volume subfolders by year, ending like this: Star Wars\Volume 2 (2003)\Issue 127.cbz

It should be:

  • Volume folder naming: {series_name}\Volume {volume_number} ({year})
  • File naming: Issue {issue_number}

Because the File naming doesn't allow folder structure while Volume folder naming does.

But that aside, @DaveAlton you basically want custom volume folders? Being able to manually set a folder instead of having one auto-generated?

@Casvt Casvt moved this to Handled Soon in Kapowarr plans May 25, 2023
@Casvt Casvt moved this from Handled Soon to In Progress in Kapowarr plans May 25, 2023
@DaveAlton
Copy link
Author

Exactly. Having the option to be manual would solve my problems.

@Casvt
Copy link
Owner

Casvt commented May 25, 2023

I'm working on that right now :)

@hwwilliams
Copy link

hwwilliams commented May 25, 2023

I wasn't sure if I should make another issue since this sounds very similar but I would also appreciate allowing the same series over several years to be stacked under a single series name as Kavita is using this approach for displaying a single series and it looks great, Kavita uses the comicinfo.xml for most comic information but if there are multiple series of the same name in different directories it doesn't work at all.

Similar to this:

Wolverine\Wolverine V1982 001
Wolverine\Wolverine V2003 v2 001
Wolverine\Wolverine V2010 v3 001
Wolverine\Wolverine V2014 v5 001
Wolverine\Wolverine V2020 v6 001

image

@DaveAlton
Copy link
Author

I'll let @Casvt reply with their thoughts, but would Kavita recognize it if it was maybe just in a sub folder?

Sonarr doesn't parse the file names for individual episodes. They look at the folder, then look for the S01E01 episode format in the file name. You could have a file like this:
The Mandalorian/Doctor Who (1963) S07E09
And Sonarr would think it was an episode of The Mandalorian and not Doctor Who. If Kapowarr is following typical Sonarr/Radarr guidelines, it would likely do the same.
I know it's a lot of work to migrate libraries, but have you considered Komga? I personally found it to be way better for comics and I know others have moved over to it for the same reason.

@Casvt
Copy link
Owner

Casvt commented May 25, 2023

Kapowarr extracts data from The Mandalorian/Doctor Who (1963) V07 C09.cbr in the following way:

{
    "series": "Doctor Who",
    "year": 1963,
    "volume_number": 7,
    "special_version": null,
    "issue_number": 9.0,
    "annual": false
}

@hwwilliams
Copy link

hwwilliams commented May 25, 2023

I'll let @Casvt reply with their thoughts, but would Kavita recognize it if it was maybe just in a sub folder?

I'd have to double check on the subfolder idea for Kavita, this kind of file structure is also not supported by Mylar either and so I have my own python scripts that run on each file after post-processing is finished to move them into a final library structure.

I know it's a lot of work to migrate libraries, but have you considered Komga? I personally found it to be way better for comics and I know others have moved over to it for the same reason.

I actually migrated away from Komga to Kavita because I found Komga to be extremely slow with a high number of comics (60k issues) even when libraries are split by publisher whereas once Kavita did its initial scans it's very snappy. I also appreciate the built-in library metrics that Kavita provides.

@hwwilliams
Copy link

Kapowarr extracts data from The Mandalorian/Doctor Who (1963) V07 C09.cbr in the following way:

{
    "series": "Doctor Who",
    "year": 1963,
    "volume_number": 7,
    "special_version": null,
    "issue_number": 9.0,
    "annual": false
}

So it sounds like the Kavita file structure would work? Maybe I'm misunderstanding but either way I'm glad to see new people working on this kind of software as Mylar has been the only real option for too long.

@Casvt Casvt moved this from In Progress to In Testing in Kapowarr plans Jul 11, 2023
Casvt added a commit that referenced this issue Jul 11, 2023
@Casvt Casvt closed this as completed Jul 11, 2023
@github-project-automation github-project-automation bot moved this from In Testing to Done in Kapowarr plans Jul 11, 2023
@DaveAlton
Copy link
Author

Thanks so much @Casvt!

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
Archived in project
Development

No branches or pull requests

4 participants