advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
5.75k stars 395 forks source link

[Bug]: no cover, no audio files detected #2885

Open skyzuma opened 2 months ago

skyzuma commented 2 months ago

Describe the issue

Settings: Find covers = no libraries settings: 1 / 1 / 0 / 1 / 1 / 0 / 0 folder structure:

name of author > name of series > volumes (vol 01 - name of Volume) > ebook folder > ebook (epub)

if no cover in the volumes folder ABS detected ebook folder / cover instead of available audio files and the entry has no audio files

i think its a rare bug ...

Steps to reproduce the issue

  1. follow the folder structure and dont put a cover in the volumes folder but a ebook folder with an ebook (epub) inside
  2. upload to the server (i use total commander with samba network sharing folder on unraid (secure FTP))
  3. Recently Added: detected as ebook without any audio files but the audio files are on the server, only the ebook is in there ...

"solution"

  1. upload the folder structure without the ebook folder > cover = no cover
  2. upload the ebook folder to the volumes folder > cover = ebook cover (no problem)

Audiobookshelf version

v2.9.0

How are you running audiobookshelf?

Docker

advplyr commented 2 months ago

You need to check the logs because it is possible the audio file wasn't able to be scanned in because of an issue.

skyzuma commented 2 months ago

the audio files can be scanned ... maybe i forgot this ...

"solution"

  1. upload the folder structure without the ebook folder > cover = no cover >>> audio files was detected ...
skyzuma commented 2 months ago

and the docker logs saying noting ... idk if there other logs ...

advplyr commented 2 months ago

the audio files can be scanned ... maybe i forgot this ...

"solution"

  1. upload the folder structure without the ebook folder > cover = no cover >>> audio files was detected ...

I don't understand what this means. Can you share exactly the structure of files you are uploading to cause this issue?

skyzuma commented 2 months ago

idk what cause this but in this case i uploaded 16 folder like this one by one (if i see the entry on home i upload the next):

image

folder 17 / 18 / 19 uploaded like this one by one (if i see the entry on home i upload the next) with the file cover.jpg

image

and then i uploaded the 20th folder with the structure from the 2nd pic but without the file cover.jpg ...

image

this volume folder have no cover but an ebook folder, so ABS detected this as:

Vol 20 - ebook

with the ebook cover from the ebook file an without the available mp3 files ...

one solution is to add a new mp3 file to the volume folder so ABS need to read the folder again and correct this entry as normal nut this happen not every time

the best solution is:

remove the folder from the server (not with the ABS GUI) and upload it again without the ebook folder inside the volume folder ...

image

ABS detected the available mp3 files and the entry as no cover and now upload the ebook folder to the volume folder (ABS detected the ebook cover from the ebook file and replaced it with the no cover cover but this is not the problem ...

i hope this is a better description ... as i said this is a rare bug and not every time detected ...

skyzuma commented 1 month ago

same thing today ... created a new library on v2.9.0 (unraid, docker) ... default settings ...

book structure:

author

bookname

eBook eBookfile.epub

booknamefiles.mp3 (x500)

abs detected this as a new series with only an eBook in there a the cover of the ebookfile but in the logs all mp3 files are found ... and i cant change this ... i can delete this entry and reupload but its the same :(

change things only by delete folder and reupload without the ebook folder ...