stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)

Home Page:https://stumpapp.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Nested series

aaronleopold opened this issue · comments

Is your feature request related to a problem? Please describe.

Support a new library pattern that allows for generating of nested series

Additional context

See #254 (comment) for more context

I am very interested in this feature. However, it would be nice if it could take folder structures of arbitrary depth into account. My use case includes TTRPG books, where I would need a deeper structure:

System -> Version -> Adventures -> Adventure -> files

Example:
Symbaroum -> v1 -> Adventures -> The Chronicles of the Copper Crown -> Part 1 - The Promised Land.pdf

I am very interested in this feature. However, it would be nice if it could take folder structures of arbitrary depth into account

I'm not sure I understand the scenario you're asking about. For my own clarity, is the ask:

  • Skip N levels of folders and treat the N+ level(s) as series/sub-series?
  • Skip arbitrary depths of folders?
  • Create a series for each depth level?
    • This is closer to my initial thoughts for this feature when I outlined it originally in another issue
  • Something else?

It might be helpful to see an example of what you might expect the library to look like with your example.

Copy and paste if you'd like
ROOT
|-- Symbaroum
|   |-- v1  
|   |   |-- Adventures
|   |   |   |-- The Chronicles of the Copper Crown
|   |   |   |   |-- Part 1 - The Promised Land.pdf
|   |   |   |   |-- Part 2 - The Promised Land.pdf
|   |   |   |   |-- etc.
|   |   |-- Some Other Adventure
|   |   |   |-- Some Other Adventure.pdf
|   |   |   |-- etc.
{
  "library": {
    "name": "Symbaroum",
    "series": [
      {
        "name": "...",
        "subseries": [
          {
            "name": "..",
          },
          {
            "name": "..",
            "subseries": [
              // etc
            ]
          }
        ]
      },
    ]
  }
}

Yes, exactly! Sorry if I have not made myself clear. I would also prefer your third - and your previously intended - variant. Deeply nested series/subseries would allow for very flexible structuring, which would stand out from the alternative solutions.

Awesome, that works perfectly then since it aligns with my original plan 😅

I'm not sure if/how you are running Stump, but the experimental changes just landed on nightly. They'll make their way to be part of 0.0.2 once that tag is ready, but if you want to try out the refreshed designs for the file explorer on nightly it will get you really close to this ticket's functionality since you are just traversing your filesystem.