advplyr / audiobookshelf-app

Mobile application for Audiobookshelf
https://audiobookshelf.org
GNU General Public License v3.0
1.33k stars 174 forks source link

[Bug]: Downloading Book with Several Authors Causes Crash #1316

Open CaptainLexington opened 2 months ago

CaptainLexington commented 2 months ago

What was the Problem?

If you try to download a book with several values in the author field (e.g. a short story anthology - just two authors will work; eight is too many; don't know where the dividing line is), the app crashes after the downloads reach 100% and it tries to import the files.

Steps to Reproduce the Issue

  1. Have a book with several authors.
  2. Attempt to download.
  3. Wait until all downloads reach 100%.
  4. App crashes.

What was Expected?

Downloads should work regardless of how many authors were involved.

Phone Model

Pixel 6

Phone OS

Latest Android

Audiobookshelf App Version

Android App - 0.9.76

Installation Source

Google Play Store

Additional Notes

I have just removed extraneous author information to get the download to succeed, but I'd prefer not to sacrifice this information.

nichwall commented 2 months ago

What server version are you on when the crash happens?

Also, are you downloading to Internal app storage or shared storage?

CaptainLexington commented 2 months ago

2.13.3

shared storage

nichwall commented 2 months ago

Thanks. Does the crash happen when downloading a book with multiple authors to Internal App Storage?

CaptainLexington commented 2 months ago

I'll try this later tonight when I get home!

CaptainLexington commented 2 months ago

Downloading to Internal App Storage words, even when downloading to shared storage fails. btw I have updated the server to 2.13.4 since the last comment. The app version is the same.