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.1k stars 315 forks source link

epub not displayed as Special, if there is any pdf in the same folder #2935

Open jingkang99 opened 5 months ago

jingkang99 commented 5 months ago

What happened?

even there are more than 1 epub in the same folder, only one displayed

What did you expect?

epub should be handled

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

0.8.1 - 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?

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

if folder has a epub, it isn't recognized as BOOK

Additional Notes

dd

majora2007 commented 4 months ago

Your post doesn't have much information, but I'm not able to reproduce. See the folder layout:

image

image

Both epub and pdf in the folder were able to be parsed and created as series.

Please check that you have pdfs enabled for the library under Advanced tab in Library Settings modal.

jingkang99 commented 4 months ago

Thanks a lot for the replying. I understand that Ebooks are controlled entirely around the metadata that is written to the file. I should ask like:

what metadata should be modified or added to an EPUB, then it shows up as Special as other PDF file?

for example, folder created like following, and put some pdf files here book/publisher/oreilly

image

PDFs show up as Special, and looks fine. Thanks for your effort.

image

BUT, EPUB is created as a NEW Series under Publisher. My intension is to group books for each publisher.

image

any suggestion on how to put epub in the same publisher? by modify metadata or folder name, etc...?

Now I only can put all epub in ONE folder, each book is a series, not very nice.

similar scenario, I download bunch EPUB books of JOHNdo, and save to a folder, each book shows up as a series, not under ONE AUTHOR. again, what should be changed to group the epub?

btw, it will be great to support mobi format.

Thanks a lot

scare376 commented 4 months ago

Mobi support will not be added. Just convert them to epub. You need to add series metadata with an app like calibre or sigil to get epubs to group together correctly

majora2007 commented 4 months ago

Please see here the wiki entry for the metadata on EPUBs and how Kavita interprets.

https://wiki.kavitareader.com/guides/metadata/epubs

Based on how you want your files (all to be under Oriely), you would need to edit the series group for the epub file.

Mobi will not be supported. It is a dead format and limited library support.