Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Download percentages are in the billions #1428

Open
LilTrublMakr opened this issue Jan 4, 2025 · 3 comments
Open

[Bug]: Download percentages are in the billions #1428

LilTrublMakr opened this issue Jan 4, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@LilTrublMakr
Copy link

What was the Problem?

When downloading a audiobook, sometimes the percentages are reaching in to the literal billions. I mainly notice this if one has tried to download an audiobook, it fails or freezes, and they try to download it again. But I have also seen it on first download attempt as well.

Screenshot_20250104-100739

Steps to Reproduce the Issue

  1. Download an audiobook.

What was Expected?

Download percentage to be 2 digits. e.g. 37% (Maybe 3-4 if doing a decimal e.g. 37.42%)

Phone Model

Pixel 8, Pixel 8 Pro

Phone OS

Android 15

Audiobookshelf App Version

Android App - 0.9.77

Installation Source

Google Play Store

Additional Notes

I have tried to find where the files are being downloaded to to delete them but am unable to find the files. In the app, all I can find is "Internal App Storage" but does not tell me where that is.

An idea would be to see if a file exists and expected file size matches before trying to download it again. Being able to pause/resume downloads would also be appreciated.

@LilTrublMakr LilTrublMakr added the bug Something isn't working label Jan 4, 2025
@nichwall
Copy link
Contributor

nichwall commented Jan 4, 2025

Internal App Storage is internal to the app, you will not be able to access it from the phone file system or other apps.

Does this only happen with multi-file books, or does it also happen with single-file books?

Are you connecting over LAN or downloading remotely? Downloading remotely will usually be much slower due to most people having much slower upload speeds through their ISP, so I'm wondering if this only happens when the download is incredibly slow.

@LilTrublMakr
Copy link
Author

It seems to only be doing it to multi file audiobooks. But I am also now unable to recreate the issue. I did add an external folder but am still downloading to the internal app storage.

I am downloading over LAN.

I set up everything yesterday (happy wife, happy life...) so I am still learning the ins and outs of how things work.

@LilTrublMakr
Copy link
Author

And this is a bit of an odd one... Downloading to the Internal storage (/Audiobooks), the audiobooks are downloading but showing a 0% completion rate. Once the files are downloaded, they change to the green check mark. This is on the Pixel 8. I will see if I can recreate on my 8 Pro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants