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
5.92k stars 307 forks source link

Series/ and Series/Series/ are not being combined in v0.8.2+ Scanner #3107

Open CtrlAltDefeat94 opened 1 month ago

CtrlAltDefeat94 commented 1 month ago

What happened?

When a series folder has a single folder with chapters inside them, the series folder is changed to this chapter folder instead. Resulting in the files that are in the root of the series folder to be removed from Kavita.

What did you expect?

All files to be available in Kavita.

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

0.8.2 - Stable

What operating system is Kavita being hosted from?

None

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

Linux

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

https://gist.githubusercontent.com/CtrlAltDefeat94/5224d42347ccc3aafbfdec2085cd4ff7/raw/00c0d7d23106c5c6161a3b34a1b655e2754e3279/gistfile1.txt

Additional Notes

This file structure worked in previous versions

therobbiedavis commented 1 month ago

Please confirm is this is correct: You have one file in /libraries/manga/Made in Abyss/Made in Abyss/ and several files in /libraries/manga/Made in Abyss/

Upon scan, it removed the several files in /libraries/manga/Made in Abyss/ and just showed the one under /libraries/manga/Made in Abyss/Made in Abyss/

Can you also share the library settings for this? Like the type, what folders are are added to the library, and advanced settings toggled or added

CtrlAltDefeat94 commented 1 month ago

The library type is Manga.

The following advanced library settings are enabled;

The folder structure is /libraries/<Library name>/<series name>/<series name> the first contains all volume files (can be one, can be many) the second is a folder containing all loose chapter files for that series.

In the first, all files have a comicinfo included. The second, do not. The second folder is also optional, as not all my series have loose chapters.

This issue only appears if this second folder exists. All files in the first folder will disappear, and only the ones in the second folder will remain.

Weird thing however, the Folder Path (edit series -> Info) will display the path only including the first <series name>

therobbiedavis commented 1 month ago

I see, I think this is happening because Kavita thinks the same series exists in multiple places.