Kareadita / Kavita

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
http://www.kavitareader.com
GNU General Public License v3.0
6.37k stars 331 forks source link

PDF folder and series not properly shown #3218

Open NeilJared opened 1 month ago

NeilJared commented 1 month ago

What happened?

Kavita does behave different since v.0.6 approx. What happens to my Docker container is described next.

The folder and pdf file tree in the NAS is:

Library Folder

Vertebrates Folder (empty)

Cats Folder (6 series)
    Cats Book 1.pdf
    Cats as pets Book 1.pdf
    Garfield Book 1.pdf
    Garfield Book 2.pdf
    Garfield Book 3.pdf
    Flying cats Book 1.pdf
Bats Folder (3 series and 4 files)
    Bacardi Book 1.pdf
    Batman Book 1.epub
    Batman Book 2.pdf
    Valencia Football Club Book 1.epub
Plants Folder
    Bonsai Folder (2 series)
        Bonsai world
        Bonsai Magazine 1.pdf
        Bonsai Magazine 2.pdf
        Bonsai Magazine 3.pdf

And what I see in Kavita since v.0.6 approx. is:

Library Folder

Vertebrates Folder (empty)
Cats Folder (2 series)
    Cats Book 1.pdf
    Cats Folder.pdf (all shown as specials, containing the following)
        Cats as pets Book 1.pdf
                    Garfield Book 1.pdf
        Garfield Book 2.pdf
        Garfield Book 3.pdf
        Flying cats Book 1.pdf
Bats Folder
    Bacardi Book 1.pdf
    Batman Book folder.pdf (all shown as specials)
                  Batman Book 1.epub
              Batman Book 2.pdf
              Valencia Football Club Book 1.epub
Plants Folder
    Bonsai Folder (1 series)
        Bonsai World Folder.pdf (all shown as specials)
            Bonsai World.pdf
            Bonsai Magazine 1.pdf
            Bonsai Magazine 2.pdf
            Bonsai Magazine 3.pdf

I have no idea what has happened, since folder structure has not being modified since the early deployment of Kavita. I have no error messages.

What did you expect?

I would expect to keep folder structure as I have, so library parent folder, and nested several folder by subject, each of those containing the pdf files. I do not know if there is something wrong with current version and my structure that was working fine in earlier versions. For PDF management with the computer anz tools like Zotero pr EndNote, it is really great to be able to use my folder structure, and managed with Kavita as reader (I share library with my relatives at home).

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

0.8.3 - 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

No response

Additional Notes

Running Kavita as Docker container on a Synology NAS (OS DSM7.2.2)

majora2007 commented 1 month ago

Kavita changed how it processes files and requirements around filters between v0.6 and v0.8.x (note v0.6 is over a year old). Kavita did a massive scanner overhaul to expand flexibility into what it can offer.

I'm sure you already know that Kavita parses filenames and groups them accordingly, rather than grouping on folder structure. I'm not able to understand what Batman Book folder.pdf (all shown as specials) types of lines mean in your folder layout description.

I'm also unable to understand how it is parsing now vs what you are expecting.