[PR #1820] Download queue rework, cancel all button, retry button, respect partials, delete partials via settings #1712

Open
opened 2026-04-25 00:00:47 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1820
Author: @ckbaker10
Created: 3/9/2026
Status: 🔄 Open

Base: masterHead: fix-download-issue


📝 Commits (10+)

  • f08e169 Download Service
  • f980387 Automatic download restarts working
  • 5c6044e Download Queue works
  • 5584bdb Queue seems to work okay
  • 6f06d84 Merge remote-tracking branch 'upstream/master' into fix-download-issue
  • 1de5c3d Download Queue working with cancel / retry
  • 3cc231c When restarting a download previously downloaded files will be respected
  • 9f1930c Respects previously downloaded files, button in settings to delete partials
  • c321bda APK Build
  • ede5fda Cached download frontend issues

📊 Changes

20 files changed (+2046 additions, -466 deletions)

View changed files

📝 android/app/build.gradle (+4 -0)
📝 android/app/src/main/AndroidManifest.xml (+8 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/MainActivity.kt (+57 -42)
📝 android/app/src/main/java/com/audiobookshelf/app/data/DeviceClasses.kt (+135 -113)
📝 android/app/src/main/java/com/audiobookshelf/app/device/DeviceManager.kt (+47 -59)
📝 android/app/src/main/java/com/audiobookshelf/app/managers/DownloadItemManager.kt (+621 -46)
📝 android/app/src/main/java/com/audiobookshelf/app/managers/InternalDownloadManager.kt (+51 -34)
📝 android/app/src/main/java/com/audiobookshelf/app/models/DownloadItemPart.kt (+134 -53)
📝 android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDownloader.kt (+514 -79)
📝 android/app/src/main/java/com/audiobookshelf/app/plugins/AbsLogger.kt (+37 -14)
android/app/src/main/java/com/audiobookshelf/app/services/DownloadService.kt (+216 -0)
android/app/src/main/java/com/audiobookshelf/app/utils/DebugUtils.kt (+54 -0)
android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java (+0 -18)
📝 pages/downloading.vue (+57 -2)
📝 pages/downloads.vue (+1 -1)
📝 pages/settings.vue (+60 -0)
📝 plugins/capacitor/AbsDownloader.js (+22 -2)
📝 plugins/server.js (+9 -0)
📝 store/globals.js (+14 -1)
📝 strings/en-us.json (+5 -2)

📄 Description

Brief summary

Download queue reworked

  • parallel downloads via settings
  • cancel button
  • retry button for failed downloads
  • partial files will be respected when restarting a queue ( eg. canceled queue at 5/20 restart queue with 5/20 )
  • button in settings to delete unfinished downloads

Which issue is fixed?

Pull Request Type

Android, Backend

How have you tested this?

Yes, I am mainly fixing my personal issues here

Screenshots

image image image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/1820 **Author:** [@ckbaker10](https://github.com/ckbaker10) **Created:** 3/9/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix-download-issue` --- ### 📝 Commits (10+) - [`f08e169`](https://github.com/advplyr/audiobookshelf-app/commit/f08e169b2818e84806c67d7a0d86ee9e9e4906cf) Download Service - [`f980387`](https://github.com/advplyr/audiobookshelf-app/commit/f98038758b0ac94b0112e38f0184ed2726cd54f0) Automatic download restarts working - [`5c6044e`](https://github.com/advplyr/audiobookshelf-app/commit/5c6044ecaa9aa99f2d7648e2137c054f8e0d47dc) Download Queue works - [`5584bdb`](https://github.com/advplyr/audiobookshelf-app/commit/5584bdbcbda072184bdcf0223f9b668070d9be4c) Queue seems to work okay - [`6f06d84`](https://github.com/advplyr/audiobookshelf-app/commit/6f06d8461301dded75d0fabc77fd5f7d070a07d3) Merge remote-tracking branch 'upstream/master' into fix-download-issue - [`1de5c3d`](https://github.com/advplyr/audiobookshelf-app/commit/1de5c3dccc0c97328d854d3eef1304939306a34a) Download Queue working with cancel / retry - [`3cc231c`](https://github.com/advplyr/audiobookshelf-app/commit/3cc231cc9f6cf952d4e1a8e2fce699f5d987057a) When restarting a download previously downloaded files will be respected - [`9f1930c`](https://github.com/advplyr/audiobookshelf-app/commit/9f1930cdbbb60e4955a5f6de938fe46d173b90ef) Respects previously downloaded files, button in settings to delete partials - [`c321bda`](https://github.com/advplyr/audiobookshelf-app/commit/c321bdaf53b5c52d95ea33f6c7bd9169ccb75c4c) APK Build - [`ede5fda`](https://github.com/advplyr/audiobookshelf-app/commit/ede5fda0dd2b7664c77c362c6d4ce86fd6e767d4) Cached download frontend issues ### 📊 Changes **20 files changed** (+2046 additions, -466 deletions) <details> <summary>View changed files</summary> 📝 `android/app/build.gradle` (+4 -0) 📝 `android/app/src/main/AndroidManifest.xml` (+8 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/MainActivity.kt` (+57 -42) 📝 `android/app/src/main/java/com/audiobookshelf/app/data/DeviceClasses.kt` (+135 -113) 📝 `android/app/src/main/java/com/audiobookshelf/app/device/DeviceManager.kt` (+47 -59) 📝 `android/app/src/main/java/com/audiobookshelf/app/managers/DownloadItemManager.kt` (+621 -46) 📝 `android/app/src/main/java/com/audiobookshelf/app/managers/InternalDownloadManager.kt` (+51 -34) 📝 `android/app/src/main/java/com/audiobookshelf/app/models/DownloadItemPart.kt` (+134 -53) 📝 `android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDownloader.kt` (+514 -79) 📝 `android/app/src/main/java/com/audiobookshelf/app/plugins/AbsLogger.kt` (+37 -14) ➕ `android/app/src/main/java/com/audiobookshelf/app/services/DownloadService.kt` (+216 -0) ➕ `android/app/src/main/java/com/audiobookshelf/app/utils/DebugUtils.kt` (+54 -0) ➖ `android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java` (+0 -18) 📝 `pages/downloading.vue` (+57 -2) 📝 `pages/downloads.vue` (+1 -1) 📝 `pages/settings.vue` (+60 -0) 📝 `plugins/capacitor/AbsDownloader.js` (+22 -2) 📝 `plugins/server.js` (+9 -0) 📝 `store/globals.js` (+14 -1) 📝 `strings/en-us.json` (+5 -2) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary Download queue reworked - parallel downloads via settings - cancel button - retry button for failed downloads - partial files will be respected when restarting a queue ( eg. canceled queue at 5/20 restart queue with 5/20 ) - button in settings to delete unfinished downloads ## Which issue is fixed? ## Pull Request Type Android, Backend ## How have you tested this? Yes, I am mainly fixing my personal issues here ## Screenshots <img width="357" height="709" alt="image" src="https://github.com/user-attachments/assets/acb24f11-4e93-4c6c-9c7e-e4ee3a443b38" /> <img width="335" height="690" alt="image" src="https://github.com/user-attachments/assets/31cd356a-57ea-497a-a765-ccb10705a7d8" /> <img width="333" height="706" alt="image" src="https://github.com/user-attachments/assets/53cde54a-801b-4101-979a-e54b76d4fe2d" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:00:47 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1712